What problem does it solve?
This Skill helps you diagnose and remediate SwiftUI runtime performance problems such as slow rendering, janky scrolling, high CPU or memory usage, excessive view updates, identity churn, and layout thrash so that interactive screens run smoothly on device.
Core Features & Use Cases
- End-to-end performance audit: instrument, baseline, and prioritize issues using SwiftUI Instrument lanes and the Time Profiler.
- Code-first diagnosis: detect invalidation storms, expensive work in body, unstable identities in lists, and layout/measurement thrash from view code.
- Concrete remediation: prescribe fixes like narrowing state scope, stabilizing ForEach ids, precomputing work, downsampling images, and isolating representables.
- Verification guidance: re-measure on Release builds on device and compare update counts, frame hitches, and CPU/memory deltas.
Quick Start
Provide the target SwiftUI view code, reproduction steps, device/OS/build details, and any Instruments trace or screenshots to receive a prioritized performance audit and remediation plan.