WWDC25: Optimize SwiftUI performance with Instruments | Apple

Discover the new SwiftUI instrument. We’ll cover how SwiftUI updates views, how changes in your app’s data affect those updates, and how the new instrument helps you visualize those causes and effects. To get the most out of this session, we recommend being familiar with writing apps in SwiftUI. Explore related documentation, sample code, and more: Performance and metrics: https://developer.apple.com/documenta... Measuring your app’s power use with Power Profiler: https://developer.apple.com/documenta... Understanding and improving SwiftUI performance: https://developer.apple.com/documenta... Analyzing the performance of your visionOS app: https://developer.apple.com/documenta... Improving app responsiveness: https://developer.apple.com/documenta... Optimize CPU performance with Instruments: https://developer.apple.com/videos/pl... Analyze hangs with Instruments: https://developer.apple.com/videos/pl... Explore UI animation hitches and the render loop: https://developer.apple.com/videos/pl... Demystify SwiftUI performance: https://developer.apple.com/videos/pl... Explore SwiftUI animation: https://developer.apple.com/videos/pl... Compose custom layouts with SwiftUI: https://developer.apple.com/videos/pl... Demystify SwiftUI: https://developer.apple.com/videos/pl... 00:00 - Introduction & Agenda 02:19 - Discover the SwiftUI instrument 04:20 - Diagnose and fix long view body updates 19:54 - Understand causes and effects of SwiftUI updates 35:01 - Next steps More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp