commit | f72898be3ecbc4c9c44e629774b486d4533fc891 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Mon Feb 26 18:39:02 2024 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Mon Mar 11 10:02:20 2024 +0000 |
tree | 7b8b271b867aebc0fcb58729f2c02c55a600e81e | |
parent | 98a1d0817c57530b26dfd09296eca4c5d22ef888 [diff] |
Increase heap profiling trace duration These tests: 1A. Start an app. 1B. Start recording a heap profile on that app (in some tests the operations are reversed). (In some cases 1A and 1B are swapped) 2. The trace is recorded for 4 seconds. After 4 seconds, the tests read the trace and check for recorded memory allocations. On some particularly slow devices we've observed that the test app takes more than 4 seconds to start. Increasing the trace recording duration makes the test slower, but makes it work also on slow devices. Bug: 323332122 Merged-In: Ib3bdde1449d0e482e5428c1751381eae100e3536 Change-Id: Ib3bdde1449d0e482e5428c1751381eae100e3536 (cherry picked from commit 8fc000d37cce32a26661745b2ddcc1f7ddabc268)
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.