Skip to content

test(performance): compare iOS Release layout on hosted macOS - #1067

Draft
hannojg wants to merge 9 commits into
mainfrom
hannojg/ios-simulator-performance
Draft

hannojg wants to merge 9 commits into
mainfrom
hannojg/ios-simulator-performance

Conversation

@hannojg

@hannojg hannojg commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

The Android bench in #750 compares two Release apps on one device. This adds the same launch order on a standard GitHub-hosted Intel Mac. Both iOS apps change 256 mounted UIKit views, solve the layout with Nitro UI's Yoga provider, and apply the frames 128 times per launch. PerfKit 0.2.1 measures wall time and main-thread CPU time. The fixture checks the resulting geometry and all 32,768 frame updates.

I gave the candidate eight extra layout passes (+6.25% work) and ran 32 pairs. These are simultaneous 95% intervals.

Simulator host Wall-time change Thread CPU change
GitHub ARM, iOS 27.0 +6.23% [−4.21%, +16.05%] +6.30% [−3.83%, +15.97%]
GitHub Intel, iOS 26.5 +4.63% [−7.62%, +21.48%] +8.48% [−0.61%, +19.13%]
Local M2 Pro, iOS 27.0 +6.43% [+5.07%, +8.79%] +6.43% [+5.11%, +8.84%]

A separate hosted Intel run compared identical builds for 64 pairs in 9m01s of measured launches. Its wall-time interval ruled out a 5% slowdown [−15.25%, +4.23%]. The CPU interval still allowed one [−7.47%, +7.47%]. An earlier 64-pair attempt stopped after three complete pairs on a simulator launch timeout. The final workflow allows three minutes for that command, outside the app's timing window. ARM calibration · Intel calibration · 64-pair repeat · Incomplete attempt

The check reports measurements for review. It supports manual dispatch and opt-in PR runs with ENABLE_IOS_PERFORMANCE=true. The real Release Harness mount and update workloads run separately in #1074.

@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nitro-ui-docs Ready Ready Preview Dec 3, 2026 6:10pm UTC

Request Review

@hannojg hannojg added area: layout Measurement, positioning, safe areas, and layout engines area: testing Test infrastructure and CI performance Performance improvements, profiling, and benchmarks triage: ai triaged AI classification is complete labels Dec 3, 2026

@hannojg hannojg left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-generated first-pass review

The linked 64-pair repeat ended when the baseline app’s simulator launch exceeded 60 seconds during “Compare paired launches.” That run does not supply a complete second set of intervals. Could the PR description mark that repeat as incomplete next to the link? The reported 32-pair intervals already show why this is useful as a measurement job and why a small change on a hosted Mac is hard to distinguish from noise. 64-pair run

About this AI review

NitroUI uses AI for an initial review so contributors get feedback sooner and maintainers can focus on the decisions that need their judgment. If a finding misses the mark, please reply here with the context so a maintainer can take a look.

@hannojg hannojg added triage: needs human AI triage is complete and a maintainer decision or review is next and removed triage: ai triaged AI classification is complete labels Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: layout Measurement, positioning, safe areas, and layout engines area: testing Test infrastructure and CI performance Performance improvements, profiling, and benchmarks triage: needs human AI triage is complete and a maintainer decision or review is next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant