perfetto: Use TraceProcessor for proto2json conversion
TraceProcessor replaces the existing (unmaintainable) proto2json converter and adds features like combining of BEGIN/END events and support for heap profiles. Also updates a devtools test that was expecting separate begin/end events where TraceProcessor now combines them into a complete event. We have reduced the trace procesor's binary size overhead by selectively excluding features Chrome doesn't need from >400kB to ~50kB. We could probably save a couple more kB if we invest even more eng time and accept the maintenance burden for this in trace processor, however, we feel that we've reached an acceptable state that balances binary size & code health. Binary-Size: see paragraph above. Bug: 1006770 Change-Id: Ia7f6b3a784c1a9c40574e1dcd80eca1ca2dfb03f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746258 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
oysteine <oysteine@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#713593}
Showing
Please register or sign in to comment