New Relic mobile monitoring helps you gain deeper visibility into your Android and iOS application performance and crash troubleshooting. And, for Android apps, you can also monitor the time it takes to launch. With the abundance of high-quality apps in the marketplace, users have become very sensitive to app launch time and have very high expectations.
Speed is an essential part of your app's performance, and if it starts slowly, your users are going to notice. Launch speed is indicative of the overall quality of your app, and tracking it will help you assess the responsiveness of your app. New Relic gives you the ability to track key metrics to improve your app's performance, including cold time, hot time, and more.
A cold start refers to an app's start from scratch. This means that the app's process has not been created by the system until that starting point. Cold starts occur when you are launching the app for the first time since booting or if the app was killed. Since there is no existing process up and running, this is the slowest type of launch. Cold starts are usually the main focus when it comes to minimizing app launch time because these starts take the longest.
A hot start refers to when your app's process is already running in the background. In a hot start, all the system has to do is bring your app to the foreground. This makes it a lot faster than a cold start because the app is already present in memory. The system doesn't have to repeat the initialization, so it has much less overhead.
To the user, there is very little difference between a cold start scenario and a hot start, which is why it's important to minimize the time taken in both scenarios.
According to Google, your app's startup time is not considered excessive if it falls within these thresholds:
- Cold startup should take less than 5 seconds
- Hot startup should take less than 1.5 seconds
According to Apple, your app's startup time is not considered excessive if it falls within 400ms. The app must launch in less than 20 seconds or the system will kill the app.
To start monitoring launch times for your Android app, see these instructions.
Starting with iOS Agent version 7.4.0, New Relic automatically reports cold startup time and hot startup time. Note: Warm and prewarmed times are not reported. See these instructions.