Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Macrobenchmark Version used: 1.2.0 Devices/Android versions reproduced on: Android 13
We've got a project where a lot of tests with multiple runs. Executing the whole tests results in generating many Perfetto trace files. Since some scenarios take significant time those traces may occupy significant size on device's storage. And finally the storage may become exhausted.
Our aim is to try to minimize size of Perfetto traces got during Macrobenchmark run as much as possible.
Is there any way to customize in Macrobenchmark existing Perfetto configuration or specify external one to be able to manage DataSources included in resulting trace?
That would be very helpful to have such an ability. Since in test cases based on TraceSectionMetric, only a few specific tags are really required for measurement. The rest of data in the trace looks useless and could be discarded for a sake of smaller output file size.