As a standard definition, we consider the app launching time as the times it takes for the OS to make the app available to interact with, once the user touches the app's icon to open it.
When testing an iOS app in Mac, Apptim gathers information provided by Apple Xcode Instruments in Time Profiler template that measures the duration of each step in the App Lifecycle.
When the app is generated in DEBUG mode, you are be able to measure App Lifecycle periods when launching the app as well as app launching time, as shown in the image below.
After Apptim launches your app, you can stop the recording and generate the session report. The app launching time, which is measured since the app was launched until the app became active in Foreground, can be found inside the Environment section in the Apptim report.
Moreover, you can get more details on each period duration and the corresponding narrative at
startup_time.tsv file located inside the Logs section.
How to measure app launching time in Apptim Desktop?
Supported on Apptim Desktop v0.6.6 or later
There are two steps you need to follow in order to automatically measure app launch time in iOS apps.
1. Install or deploy iOS app using DEBUG mode
Inside Xcode, the developer must edit the schema and choose 'debug' in Build Configuration.
2. Before starting the test in Apptim Desktop, choose to launch the app automatically
That's it! Now you are able to capture iOS app launching time every time you run a test with Apptim desktop.
If you have any questions about this guide or need support, feel free to contact us at [email protected].