Track Frame Rate Issues in Android with Appxiom SDK
Automatic Detection: This feature is automatically activated for both debug and release builds.
Appxiom SDK provides automatic monitoring and reporting of frame rate issues in Android applications, enabling developers to identify and resolve UI performance problems efficiently.
Automatic Frame Rate Monitoring
- Activation: Frame rate tracking is enabled by default in both debug and release builds of the SDK.
- Engine: Starting in SDK 2.0.0, frame monitoring leverages official AndroidX JankStats API for precise frame metrics and UI thread state correlation.
- Detection:
- Slow/Jank Frames: Frames taking more than 16ms to render are reported as slow or jank frames in debug flavour of the SDK.
- Frozen Frames: Frames taking more than 700ms to render are reported as frozen frames in both debug and release flavours of the SDK.
- Context Tracking: Captures screen and Activity UI state context alongside frame timing to quickly isolate rendering bottlenecks.
- Reporting: If the app is stuck for 700ms or more, a frozen frame issue is automatically reported to the Appxiom dashboard with relevant data.
Frequently Asked Questions (FAQs)
Q: Is frame rate monitoring enabled by default in Appxiom SDK?
A. Yes, frame rate monitoring is automatically activated in both debug and release builds.
Q: What is considered a slow or jank frame?
A. Any frame that takes more than 16ms to render is categorized as a slow or jank frame (reported in debug flavour of the SDK).
Q: What is a frozen frame?
A. A frame that takes more than 700ms to render is considered a frozen frame and will be reported as a major issue in both debug and release flavours.
Q: How are frame rate issues reported?
A. Detected issues are automatically sent to the Appxiom dashboard with relevant data points.