Skip to main content

Android UI Rendering Performance

UI rendering performance of an Android app is measured by observing if app interactions in key user journeys are smooth, natural, and free of lag.

Following metrics are usedd to measure UI rendering app performance of an Android app :

  • % of Slow Frames rendered : % of frames taking more than 16ms to render
  • % of Frozen Frames rendered : % of frames taking more than 700ms to render
  • No. of ANRs detected : User interaction blocked for >= 5s

How does it impact user experience

Users expect smooth and natural interactions during app usage. The smoothness of image and text rendering is a vital factor that impacts users’ perception of app quality. It’s essential to prevent jank and sluggishness when drawing to the screen to provide a top-notch user experience.

A poor experience in rendering can cause users to rate apps poorly in the Play Store or abandon the app altogether.

Threshold Guidelines

Recommended thresholds are :

  • % slow frames in a session <= 25% of overall frames rendered
  • % frozen frames in a session <= 0.1% of overall frames rendered
  • 0 ANRs in a session

How to improve UI Rendering Performance

Following are the recommendations to improve UI Rendering Performance :

  • Optimize layout hierarchy: Simplify your app’s layout by avoiding nested and redundant layouts. Use lightweight views wherever possible and avoid overdraw. Optimize image loading: Efficiently load images with techniques like lazy loading and caching. Never load images synchronously on the main thread.
  • Move expensive operations: Avoid UI freezes by moving CPU-intensive or network operations off the main thread.
  • Offload heavy tasks: Execute long-running tasks such as network requests, disk I/O, and image processing on a separate thread to prevent UI freezing.
  • Use hardware acceleration: Improve rendering performance by utilizing hardware features such as GPU rendering, hardware layers, and acceleration.

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