Repository navigation
iOS 27: what holds a home-screen flick near 30 a second (PACING.md) + frame timeline tools - #417
Merged
Merged
Conversation
…the frame timeline tool and the two frame observers Phone 2, 24 Nov, fork f523de65 + the trace branch, 7 min after SpringBoard: half of a flick's frames are a SpringBoard animation that asks for 30 a second (render thread wakes every refresh, nothing new on every other one); the page movement is GPU-bound: SpringBoard moves the page 52.8 times a second, 35-37 frames reach the panel, a heavy frame is 25-30 ms of GPU with two fragment chains of 11.5-12.9 and 6.4-7.6 ms. GPU at 455 MHz: heavy frames 1.79 -> 1.90 refreshes, light frames stay at 2.
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.
What holds a home-screen flick near 30 a second, measured on phone 2 on 24 November (
docs/ios27/PACING.md), with the tool and the two observers that measured it.SBFFluidBehaviorSettings20..120 preferred 30). CoreAnimation's render thread wakes every 16.7 ms and has nothing new on every other wake; those frames are 2-3 ms of GPU. Apple's choice; left alone.stargpu=455000): heavy frames 1.79 -> 1.90 refreshes, light frames stay at 2, flicks 28.5-29.6 -> 26.8 fps, Settings list 20.9-22.7 -> 18.9.Files:
docs/ios27/PACING.md;tools/ios27/perf/fbt-timeline.py(the ring + observer lines as one timeline);tools/ios27/perf/frame-observers/(cawake.mfor backboardd,sbpage.mfor SpringBoard; diagnostics, never in a root;build.sh). The kernel half is Scion-Project/xnu#69. The fork pin inprofiles/ios-27.confis not moved.Pre-flight run locally: docs-check, provenance-check, arch-check, py_compile, the observers built with the iPhoneOS SDK.
No code here runs on the phone by default. Nothing changes what the phone does.