Skip to content

feat(performance): mark Android display frames on FPS charts - #146

Merged
hannojg merged 1 commit into
mainfrom
hannojg/android-fps-frame-markers
Nov 24, 2026
Merged

hannojg merged 1 commit into
mainfrom
hannojg/android-fps-frame-markers

Conversation

@hannojg

@hannojg hannojg commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

#145 added hitch markers to iPhone recordings. Android already captures individual display frames through Perfetto FrameTimeline, so we can show them on the live FPS graph as well as in saved recordings. This uses the existing ADB session and requires no app SDK.

Select a diamond to see when SurfaceFlinger reported a late, dropped or janky display frame and which reasons it gave. A frame with several reasons gets one marker. An idle interval can show zero FPS with zero flagged frames. The classifications cover everything on the display, including system UI.

I replayed a 40-second Android recording with 862 display frames. The live graph and the recording card both showed 31 flagged frames. Replaying a delayed update placed the extra diamond in its original interval and kept the selected frame open.

Android FPS graph with the late frame at 12.500 seconds selected

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mobile-dev Ready Ready Preview Nov 24, 2026 5:59pm UTC

Request Review

@hannojg
hannojg marked this pull request as ready for review November 24, 2026 18:01
@hannojg
hannojg merged commit a6368fd into main Nov 24, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant