Test the optimization

After enabling app optimization, validate that your app is working as intended.

To test the optimization locally:

  • Measure performance gains using benchmarks: To test performance locally, benchmark your app before and after enabling app optimization.
  • Test your app's critical user journeys (CUJs): Make sure that all CUJs work as expected, for example, test whether users can sign in and do other important tasks. To test your release app build, use UI Automator.

To test your app in production:

  • Track app performance metrics: Use Android vitals on the Play Console, and through the Google Play Developer Reporting API.
  • Stage app rollouts: Release app updates with staged rollouts to validate your app's changes with a small group of users before releasing the update more broadly.