~/talk

From Slow to Flow: Tips for Accelerating Your App Performance

Talkat Swift Heroes 2023 · 2023-05-04..05-05· [web-performance, swift]
links:none on file
links:none on file
slides:none on file

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

  1. 0:00Intro
  2. 1:13What happens when the app has some performance issue
  3. 2:33Agenda
  4. 3:32Compilation Improvement
  5. 8:06Profiling Instruments
  6. 10:12Memory management
  7. 13:21Leak detection in time profiler
  8. 14:50What is a ZOMBIE object
  9. 17:19Hang Detection
  10. 19:17How to catch hangs
  11. 23:07How to catch hand in test phase
  12. 24:56SWIFTUI vs UIKIT
  13. 25:58Code comparing-swift Ui content view
  14. 27:01Code comparing-Uikit root view controller
  15. 27:50SwiftUI app: reporting. Data from time profiler
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.