Faster startup
Asked on 08/10/2024
1 search
To improve startup times, several sessions at WWDC 2024 discussed relevant techniques and tools:
-
Core ML: In the session "Deploy machine learning and AI models on-device with Core ML," a speedup in model execution is mentioned, which doesn't require recompiling models or changing code. This improvement is part of the OS enhancements and can lead to faster startup times for applications using machine learning models. Deploy machine learning and AI models on-device with Core ML.
-
Xcode 16: The session "What’s new in Xcode 16" highlights several improvements that can lead to faster startup times:
- The introduction of explicit modules, which improve build parallelism and diagnostics, potentially reducing the time it takes to build and launch applications. What’s new in Xcode 16.
- The thread performance checker now includes diagnostics for slow app launches, helping developers identify and fix performance bottlenecks. What’s new in Xcode 16.
-
AVFoundation: In the session "Discover media performance metrics in AVFoundation," insights into startup times for media playback are provided. By analyzing client-side metrics, developers can identify and address issues that affect startup times, such as content key requests. Discover media performance metrics in AVFoundation.
These sessions provide various strategies and tools to help developers optimize startup times for their applications across different domains.

Deploy machine learning and AI models on-device with Core ML
Learn new ways to optimize speed and memory performance when you convert and run machine learning and AI models through Core ML. We’ll cover new options for model representations, performance insights, execution, and model stitching which can be used together to create compelling and private on-device experiences.

Design advanced games for Apple platforms
Learn how to adapt your high-end game so it feels at home on Mac, iPad, and iPhone. We’ll go over how to make your game look stunning on different displays, tailor your input and controls to be intuitive on each device, and take advantage of Apple technologies that deliver great player experiences.

What’s new in Swift
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.