swiftui-performance

Installation
Summary

Diagnose and fix SwiftUI rendering bottlenecks through code review, Instruments profiling, and targeted remediation.

  • Covers view invalidation storms, unstable list identity, expensive body computations, layout thrash, and image decoding issues with concrete code examples and fixes
  • Includes step-by-step Instruments profiling workflow using the SwiftUI template to identify high body-evaluation counts and CPU hotspots
  • Explains identity and lifetime mechanics, lazy loading patterns, and @Observable granular tracking to narrow observation scope and reduce unnecessary re-renders
  • Provides a review checklist and common mistakes reference (formatters in body, GeometryReader in lazy containers, blocking MainActor, etc.)
SKILL.md

SwiftUI Performance

Audit SwiftUI view performance end-to-end, from instrumentation and baselining to root-cause analysis and concrete remediation steps.

Contents

Related skills

More from dpearson2699/swift-ios-skills

Installs
1.6K
GitHub Stars
562
First Seen
Mar 3, 2026