How to calculate Mobile APM screen load times
Mobile APM provides load time metrics to help you understand how long it takes for your mobile app screens to load. These load times are calculated by capturing start and end timestamps during specific lifecycle callbacks.

Load times for native agents will be sent to our server automatically by subtracting the start timestamp from the end timestamp, i.e., end-start.
The following sections explain how load times are calculated across different platforms.
Android
The Start Timestamp is captured in the first occurrence of any of the following lifecycle callbacks for every screen loading in the application:
- onActivityCreated
- onActivityStarted
The End Timestamp is captured in the following lifecycle callback:
- onActivityResumed
Formula:
Total load time = onActivityResumed - (onActivityCreated | onActivityStarted)
iOS
The Start Timestamp is captured in the first occurrence of any of the following lifecycle callbacks for every view controller loading in the application:
- loadView
- viewDidLoad
- viewWillAppear
The End Timestamp is captured in the following lifecycle callback:
- viewDidAppear
Formula:
Total load time = viewDidAppear - (loadView | viewDidLoad | viewWillAppear)
React Native
For React Native apps, load times can be captured using a custom API along with screen data. Detailed steps for screen tracking and obtaining load times are provided in this
help documentation.
Flutter
In Flutter apps, a custom API must be used to capture screen load times. Instructions on how to implement screen tracking for Flutter apps are provided in this
help documentation.
Related Articles
Compare our various methodologies for Website Monitoring
Get to know Site24x7 monitors better and choose the one that best fits your monitoring needs. Compare the functionality of the following monitors: Website Monitoring Webpage Speed (Browser) Web Transaction Monitoring Web Transaction (Browser) SSL/TLS ...
Site24x7 Real User Monitoring (RUM) - Data Collection
When you include Site24x7 RUM beacon script in your web pages, the following data is collected. All data that's being collected is in accordance with GDPR compliance. Performance details of web page load time - Metrics like response time of web page ...
Response time in Website monitoring
In website monitoring, response time is calculated as the total time taken to resolve the DNS, complete the TCP hand-shake, negotiate an SSL handshake (for HTTPS) and download the full HTML output from the server. However, it does not include getting ...
How to configure the NGINX status page for monitoring NGINX performance
The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...