Instruments: Profiling Your App in Practice
summary
Instruments 27 exposes 63 instruments and the demo profiles a command‑line Swift package (Swift Evolution Metadata Extractor) to show real results: Swift 62 task naming appears in the Swift Tasks track, URLSession fetches map to continuations, and adding a few lines of OSLog signposts pins exact intervals in the timeline. Time Profiler validates markdown parsing cost, XC‑Test measure runs the test 10 times and shows a memoized Fibonacci drop from ~236 ms to ~988 ns using XC test performance.
AI-written summary · about
chapters (16)
- 0:00Introduction and welcome
- 1:55About the speaker and location
- 3:03Instruments 27 overview
- 5:30Beyond performance profiling
- 7:22Profiling a Swift package
- 9:09Swift concurrency tools
- 12:12Analyzing task timelines
- 18:16Time profiler insights
- 19:28Debugging vs profiling
- 23:08Caveman debugging vs profiling
- 24:13Adding standard out to Instruments
- 28:00Using signposts for precision
- 32:52Narrowing focus in timelines
- 33:59XC test performance testing
- 36:55Comparing algorithms
- 39:24Key takeaways and practice
related talks
42mTuning your app using Xcode's Instruments
23mReducing App Launch Times: From Diagnostics to Optimization
30miOS Observability & Performance Metrics
47mTools for Monitoring iOS App Performance
37mTake your iOS debugging skills to the next level
29mSpeeding up as an iOS developer
52mLayers of testing in iOS applications
01h 00m3rd party tools and frameworks you use in your applications and why
