iOS Startup Performance in Practice, Part 2: Measuring App Launch Time in Production

How to measure startup on real user devices, define trustworthy production percentiles, and use XCTest and Instruments to explain regressions. The easiest way to measure app launch time is to start a stopwatch, open the app, and write down the number. It is also one of the easiest ways to produce a measurement that cannot be reproduced, compared, or trusted. An iOS launch depends on more than the code in the repository. The result changes with the process state, system caches, device model, thermal state, available memory, network behavior, stored user data, app version, and the destination the user is trying to open. Two measurements can both be technically correct while describing
…