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)
Request for new functionality
View staffing
Description
Would it be possible to retrieve
N
longest trace sections given some criteria?Let's say I have benchmarks on CI that track regular metrics like startup or frames. Alternatively, I'm exploring some app and don't have much information about it.
To better understand where should I focus, I would like to understand the most impactful trace sections within a section to understand what might contribute the most to janky UI.
Technically, I could dive into the perfetto trace and create a query that would order N slices by
dur
, but could we do something like this from metrics? Something like "give me 10 longest sections withinCompose:recompose
section` when composition tracing is enabled.I'm not sure metric outputs would be ready for something like this and/or if this is reasonable/feasible.