App performance guide
This guide provides an overview of libraries, tools, and best practices you can use to inspect, improve, and monitor performance on Android.
Users want apps to launch quickly, render smoothly, and use memory efficiently. Optimizing your app's memory footprint is critical to preventing out-of-memory terminations and maintaining high performance across all device tiers.
Featured
Get your App Performance Score
Take the app performance quiz to get your App Performance Score. Each score comes with actionable insights, evaluations and recommendations to improve your app's performance.
Inspect performance
Learn about inspecting app performance during development.
Improve performance
Improve app performance where it matters the most—in production.
Monitor performance
Monitor production stability, ANRs, and memory usage thresholds using Android vitals.
Featured
Improve performance with Baseline Profiles
Implementing Baseline Profiles is the quickest, most efficient way to realize performance improvements in your app.
Featured
Optimize app memory
Learn core Android memory architecture, lifecycle best practices, and diagnostic workflows to reduce dynamic and bitmap memory usage across all device tiers.
Blog
Preparing your app for broader memory limits
Learn how Android is addressing hardware constraints with broader memory limits, and how new Google Play performance thresholds for memory and DEX code optimization help protect ecosystem quality.
Featured samples
Macrobenchmark
Use the Macrobenchmark sample library for testing application startup and runtime performance cases, such as scrolling a RecyclerView to measure jank.
Microbenchmark
Use the Benchmark library to benchmark code and UI from library modules.
JankStats
Use the JankStats library to monitor performance on your app.