Repository navigation
feat(performance): show visible hitches in iPhone recordings - #145
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
hannojg
marked this pull request as ready for review
November 24, 2026 16:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.