Skip to main content

iOS CPU Usage

Measures the avg and peak CPU utilisation by the app in a session.

How does it impact user experience

When an iOS app uses excessive CPU, it can negatively impact the user experience by causing the device to slow down, become unresponsive, or freeze. This can lead to a frustrating experience for users and also drain the device’s battery faster.

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 :

  • Use GCD: Use Grand Central Dispatch to run heavy or long tasks in the background instead of the main thread to avoid app unresponsiveness and freezing.
  • Reduce animations: Limit or simplify the animations in the app to avoid high CPU usage, use simpler animations or none at all.
  • Use energy-efficient APIs: Choose energy-efficient APIs for tasks like image processing, audio playback, and networking to reduce CPU usage.
  • Avoid long-running operations on the main thread: Prevent UI freezes and jank by running computationally expensive tasks in background threads.
  • Schedule background work efficiently: Schedule background work to minimize CPU usage and improve app performance.
  • Use hardware acceleration and caching: Reduce CPU usage by utilizing hardware acceleration and caching for graphics and image processing operations.
  • Use Instruments: Optimize CPU-intensive operations by using Xcode’s Instruments tool to identify any bottlenecks or areas of the app causing excessive CPU usage.

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

Is this page helping you?

Yes
No

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!

Talk to an Expert
Download Copy