App Launches Test

One of the key spoilers of user experience with a mobile app is a delay in app launching. If such an issue is commonplace in a specific type of mobile device, then app developers should dig deep and figure out what is causing app launches to slow down often on that device type. Its important to diagnose and fix the source of such recurring issues before users lose confidence in the stability of the app or in the reliability of the client device. That way, the user experience with the app will improve and so will the compatibility of the app across heterogeneous user environments. The App Launches test helps with this!

This test reports the count of times the target app was launched and the average launch time of the app in each device type used for connecting to the app. Developers are alerted if the app launches very slowly in a device. This way, app developers can capture early initialization crashes. Detailed metrics report the time taken for each launch, thus indicating if the delay was consistent or sporadic. If detailed analytics reveal a worrying trend in app launches on a specific device, then developers can check the app and device properties (displayed as part of detailed diagnostics) to see if they have in any way contributed to sluggish launches.

Agent deploying the test : A remote agent

Outputs of the test : One set of results for every client device type running on each mobile platform from which users are connecting to the target mobile app.

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed.

Proxy Host

If the eG agent communicates with the Mobile RUM collector via a proxy, then specify the IP address/fully-qualified host name of the proxy server here. By default, this is set to none, indicating that the eG agent does not communicate with the collector via a proxy.

Proxy Port

If the eG agent communicates with the Mobile RUM collector via a proxy, then specify the port at which the proxy server listens for requests from the eG agent. By default, this is set to none, indicating that the eG agent does not communicate with the collector via a proxy.

Proxy Username and Proxy Password

If the eG agent communicates with the Mobile RUM collector via a proxy server, and if proxy server requires authentication, then specify valid credentials for authentication against Proxy Username and Proxy Password. If no proxy server is used or if the proxy server used does not require authentication, then set the ProxyUsername and ProxyPassword to none.

Confirm Password

Confirm the Proxy Password by retyping it here.

Note:

If you Reconfigure the test later to change the values of the Proxy Username, Proxy Password, Confirm Password parameters, then such changes will be effected only if the eG remote agent monitoring the Mobile RUM component is restarted.

DD Frequency

Refers to the freqthe uency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

App launches

Indicates the number of times the app was launched on this device type.

Number

Use the detailed diagnosis of this measure to know how much time the app took for each launch.

Avg app launch time

Indicates the average time that this app took to launch on this device type.

Milliseconds

Ideally, a low value is desired for this measure. A high value is a cause for concern. In such a situation, you can use the detailed diagnosis of the App launches measure to know how much time the app took at every launch. This can point developers to the specific instances where the app took an abnormally long time to launch. Alternatively, it can also reveal if the launching lethargy has been a persistent issue. In this case, you can use the detailed analytics to identify the app version and device manufacturer. Sometimes, if an app has not been updated with recent fixes/optimizations, or if the device is from an unsupported manufacturer, delays in launching become inevitable. Detailed diagnosis helps developers consider or count-out these causes.

Other common causes of slow app launches include:

  • Heavy Main Thread Work: Running long tasks, network requests, or disk reads directly on the main thread blocks the user interface and delays rendering.

  • Third-Party SDKs: Loading too many heavy tracking, analytics, or advertising SDKs all at once during startup uses up device processor power.

  • Large App Size and Assets: Unoptimized images, large code files, and heavy layout rendering take longer for the system to read and load into memory.

  • Synchronous Database Queries: Reading large local databases or setting up heavy local storage right when the app opens delays the first screen.

  • Network Dependency: Forcing the app to wait for a remote server response before showing the initial user interface creates a major bottleneck.

  • Cold Start vs. Warm Start: A cold start forces the system to create a brand-new process from scratch, which always takes longer than resuming an app in the background.

The detailed diagnosis of the App launches measure reveals the time the app took at every launch.

Figure 1 : The detailed diagnosis of the App launches measure