App launch time
You take over an app whose cold start takes more than 3 seconds. How would you split up and measure the launch time?
You take over an app whose cold start takes more than 3 seconds. How would you split up and measure the launch time?
Split it into pre-main (dyld loading, static initializers) and post-main (didFinishLaunching, first screen render), and measure cold and warm launches separately on a real device in Release with the App Launch template and DYLD_PRINT_STATISTICS.
App lifecycle and systemShort answerBasics
From the moment the app icon is tapped on the home screen until the first screen is…
#launch-time #dyld #pre-main #app-launch
Performance and debuggingMultiple choiceAdvanced
Which of these actually reduce the pre-main part of app launch (before main() is called)?…
#launch-time #dyld #pre-main
Build and distributionShort answerExpert
Your app embeds 40 dynamic frameworks. What gets better and what gets worse if you switch…
#launch-time #dyld
Performance and debuggingMultiple choiceExpert
Which of these can an app actually receive through MetricKit (MXMetricManager)? Select…
#launch-time