Skip to content

feat(performance): show visible hitches in iPhone recordings - #145

Merged
hannojg merged 2 commits into
mainfrom
hannojg/ios-recording-hitches
Nov 24, 2026
Merged

hannojg merged 2 commits into
mainfrom
hannojg/ios-recording-hitches

Conversation

@hannojg

@hannojg hannojg commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Display FPS on an idle iPhone can drop to zero. Averaging that counter over a recording tells us how often the screen updated. To see whether a scroll missed a frame deadline, we also need the timing of individual presentations.

Timed recordings on a physical iPhone now capture Xcode’s Frame Lifetimes instrument alongside the existing collectors. After export, a diamond on the FPS graph marks each late frame that included the selected app’s content. Select the diamond to see the refresh rate for that frame and how late it arrived. Click an FPS sample to see its hitch count, or drag across the chart to see total time lost in a range. Hitches in gaps remain available in the Inspect menu. The app needs no SDK.

Tested on an iPhone 17 Pro. The chart showed all 22 hitches in the trace. One frame at 4.258 s was 8.33 ms late at 120 Hz during a 60 FPS sample. A separate sample measured 50 FPS with zero hitches.

A selected hitch on the FPS graph with its frame timing

@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:04pm UTC

Request Review

@hannojg
hannojg marked this pull request as ready for review November 24, 2026 16:52
@hannojg
hannojg merged commit f1d522b into main Nov 24, 2026
18 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