| commit | 84b1d1f63ce9481b9762c5277e586d160fbc54de | [log] [tgz] |
|---|---|---|
| author | Primiano Tucci <primiano@google.com> | Wed Nov 10 22:13:12 2021 +0000 |
| committer | Primiano Tucci <primiano@google.com> | Wed Nov 10 22:13:12 2021 +0000 |
| tree | cf6f722088e1fbe40b8dd825e3bdcc50edff8db1 | |
| parent | d55477b23954ec32d46ff4b4ab839b81e5ddba29 [diff] |
protozero: avoid trivial heap expansions An oversight in a previous refactoring caused ReadAllFields() (which is invoked by any typed protozero decoder) to always hit the ExpandHeapStorage() because size == capacity by definition. This CL leaves a gap to avoid hitting that when unnecessary. Bug: 205302474 Change-Id: I076cc32750b0673440cafa04fa9559ebd5ff72f9
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.