commit | 2881d6b22d1eba089a772a15733151b67685cdaf | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Tue Jan 12 17:53:53 2021 +0000 |
committer | Florian Mayer <fmayer@google.com> | Tue Jan 12 17:53:53 2021 +0000 |
tree | 2a35b8c359a4743cbb64a517fa7544abe6ec4999 | |
parent | 51e1fea7385f810e7d08c2fb333112d00fbfcd0e [diff] |
Fix excessive memory usage in trace processor. We would cache the protos::pbzero::Callstack::Decoder for *every* callstack in the proto, even though we would never look it up again. Test: profile before and after. Bug: https://github.com/google/perfetto/issues/83 Change-Id: I58d5e722b42090df5dcc909e2d77f246d134e5fa
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.