Android CPU Usage
Measures the avg and peak CPU utilisation by the app in a session.
How does it impact user experience
High CPU utilization by an Android app can impact user experience by causing the device to slow down, become unresponsive or freeze. It can also drain the device’s battery faster, leading to a poor user experience.
Threshold Guidelines
Recommended threshold is CPU utilisation of < 20% at all times.
How to improve CPU Usage
Following are the recommendations to improve CPU usage :
- Avoid performing long-running or computationally expensive operations on the main thread, as this can lead to UI freezes and jank. Move such operations to background threads.
- Schedule background work efficiently and minimize CPU usage.
- Optimize the amount of work done by the CPU. Avoid unnecessary loops, and use efficient data structures like HashMaps or SparseArrays.
- Use hardware acceleration and caching where possible to reduce CPU usage for graphics and image processing operations.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!