From Slow to Flow: Tips for Accelerating Your App Performance
summary
Shows concrete fixes and measurable results: enable Long Function Bodies/Long Expression Type Checking to find slow compile sites, and turn on Enable Bridging PCH for ~30% faster builds in mixed Obj‑C/Swift projects. Use Time Profiler, Leaks and Zombies to spot CPU hotspots, retain cycles (fix by making owner weak) and zombie crashes (Enable Zombie Objects). Filter by thread/state to find hangs, set a 500ms detection threshold in dev, collect MetricKit with dSYMs for production. SwiftUI renders faster (1m15s) but uses ~220MB and pins the main thread; UIKit takes longer (1m25s) but uses ~50MB via cell reuse.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:13What happens when the app has some performance issue
- 2:33Agenda
- 3:32Compilation Improvement
- 8:06Profiling Instruments
- 10:12Memory management
- 13:21Leak detection in time profiler
- 14:50What is a ZOMBIE object
- 17:19Hang Detection
- 19:17How to catch hangs
- 23:07How to catch hand in test phase
- 24:56SWIFTUI vs UIKIT
- 25:58Code comparing-swift Ui content view
- 27:01Code comparing-Uikit root view controller
- 27:50SwiftUI app: reporting. Data from time profiler
related talks
24mSwiftUI Performance Tips
47mSwiftUI Performance for Demanding Apps
42mTuning your app using Xcode's Instruments
35mSwiftUI Performance for Demanding Apps
33mScaling Swift Development
01h 00mThe Mysterious Swift Performance
27mHigh Performance Systems in Swift
33mSwift at Scale: Where Performance Really Comes From
