# 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 require little memory
and battery usage. This guide's sections provide information and insights into tools,
libraries, and best practices that help you achieve better app performance.
[![](http://android.devsite.corp.google.com/static/images/picto-icons/speedometer.svg)](http://android.devsite.corp.google.com/topic/performance/app-score)  
Featured

### [Get your App Performance Score](http://android.devsite.corp.google.com/topic/performance/app-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.  
[Get your score](http://android.devsite.corp.google.com/topic/performance/app-score)

### [Inspect performance](http://android.devsite.corp.google.com/topic/performance/inspecting-overview)

Learn about inspecting app performance during development.  
[Learn more](http://android.devsite.corp.google.com/topic/performance/inspecting-overview)  

### [Improve performance](http://android.devsite.corp.google.com/topic/performance/improving-overview)

Improve app performance where it matters the most---in production.  
[Learn more](http://android.devsite.corp.google.com/topic/performance/improving-overview)  

### [Monitor performance](http://android.devsite.corp.google.com/topic/performance/monitoring-overview)

Monitor your app's performance in production to learn about potential bottlenecks.  
[Learn more](http://android.devsite.corp.google.com/topic/performance/monitoring-overview) [![](http://android.devsite.corp.google.com/static/images/picto-icons/measurement.svg)](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/overview)  
Featured

### [Improve performance with Baseline Profiles](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/overview)

Implementing Baseline Profiles is the quickest, most efficient way to realize performance improvements in your app.  
[Learn more](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/overview)  
[![](http://android.devsite.corp.google.com/static/images/picto-icons/app-optimization-2.svg)](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/dex-layout-optimizations)  
Featured

### [Improve app startup with DEX layout optimizations](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/dex-layout-optimizations)

With DEX layout optimizations, you can improve the locality of code used during startup, reducing the number of major page faults.  
[Learn more](http://android.devsite.corp.google.com/topic/performance/baselineprofiles/dex-layout-optimizations)

## Featured samples

[![](http://android.devsite.corp.google.com/static/images/picto-icons/layout.svg)](https://github.com/android/performance-samples/tree/main/MacrobenchmarkSample)  

### [Macrobenchmark](https://github.com/android/performance-samples/tree/main/MacrobenchmarkSample)

Use the Macrobenchmark sample library for testing application startup and runtime performance cases, such as scrolling a RecyclerView to measure jank.  
[Sample](https://github.com/android/performance-samples/tree/main/MacrobenchmarkSample)  
[![](http://android.devsite.corp.google.com/static/images/picto-icons/theming.svg)](https://github.com/android/performance-samples/tree/main/MicrobenchmarkSample)  

### [Microbenchmark](https://github.com/android/performance-samples/tree/main/MicrobenchmarkSample)

Use the Benchmark library to benchmark code and UI from library modules.  
[Sample](https://github.com/android/performance-samples/tree/main/MicrobenchmarkSample)  
[![](http://android.devsite.corp.google.com/static/images/picto-icons/graph-line.svg)](https://github.com/android/performance-samples/tree/main/JankStatsSample)  

### [JankStats](https://github.com/android/performance-samples/tree/main/JankStatsSample)

Use the JankStats library to monitor performance on your app.  
[Sample](https://github.com/android/performance-samples/tree/main/JankStatsSample)

## Latest news and videos

[View all news \& videos](http://android.devsite.corp.google.com/)  

## More resources

[View all news \& videos](http://android.devsite.corp.google.com/)