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)
Attachment actions
Unintended behavior
View staffing
Description
Macrobenchmark FrameTimingMetric makes a couple assumptions that I'm not seeing hold true on the trace above:
actual <nr>
expected <nr>
Choreographer#doFrame <nr>
DrawFrame <nr>
Note: we observe instead that frame numbers for actual/expected get out of sync, see screenshot.
Note: we observe instead that the actual frame is wrapping a separate renderthread render
The problem
Together, these mean that macrobenchmarks drop many frames, and don't report them as part of metrics. In this scenario (MotionLayoutBenchmark#messageJson), it's roughly ~100 frames dropped out of ~140.
See also b/210605870