commit | eadd043428fc269d5975e7a03ef9cbf365664ea6 | [log] [tgz] |
---|---|---|
author | Devin Moore <devinmoore@google.com> | Thu Mar 16 23:18:28 2023 +0000 |
committer | Devin Moore <devinmoore@google.com> | Fri Mar 17 22:18:47 2023 +0000 |
tree | 2035e512f09191465abb2b325c462644b40db03e | |
parent | f492c1a438952217fff19310782e20c75c1ea315 [diff] |
Replace binderdebug regex It's incredibly slow! Walking through the text using android-base/strings.h and std::string operations is much faster. We are making the same assumptions about the format of the files as we were with regex, but we have fewer hard requirements for the format now. See bug for detailed timing results with simpleperf. Test: atest binderdebug_tests Bug: 270596767 Change-Id: I674414504050371083aad7a93714114190e8a2b4