Freeze analysis tracks application freezes and reports metrics including freeze count, freeze rate, and affected device count.
A freeze occurs in the following situations:
|
Freeze type |
Android |
iOS |
|
Startup freeze |
The app fails to leave the welcome page and enter the home page within 30 seconds of startup. |
The app does not receive the UIApplicationDidFinishLaunchingNotification notification within 15 s of startup (30 s for low-end devices). |
|
ANR freeze |
A system Application Not Responding (ANR) freeze. For more information, see ANR in the Android documentation. |
The main thread fails to execute a method within 5 seconds at runtime. |
Complete client development
-
Android
Follow these steps:
-
Integrate the Mobile Analysis component. For more information, see Integrate with Android.
-
Enable freeze monitoring. For more information, see Android performance logs.
-
-
iOS
Follow these steps:
-
Integrate the Mobile Analysis component. For more information, see Integrate with iOS.
-
Enable freeze monitoring. For more information, see iOS performance logs.
-
View freeze reports
Log on to the mPaaS console and go to Mobile Analysis > App Performance Analytics > Freeze Report. You can view the device freeze rate, freeze count, affected devices, and freeze logs.
In the Startup Freeze/ANR Details list, click the Details link in the Operation column to view the details for a specific freeze type.
-
Device details:
-
Log details: The log is comma-separated and contains the complete error stack. For field descriptions, see Log model > Performance instrumentation > Freeze instrumentation.
Freeze analysis runs in near real-time. After an application freezes and sends a log, the report becomes available.