android/performance-samples resource
Samples to show APIs and best practices in Performance on Android observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4206
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
1440 stars · 250 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Official Android sample collection demonstrating performance libraries like Macrobenchmark, Microbenchmark, and JankStats. It shows best practices for measuring startup, jank, and runtime performance, including Baseline Profile generation.
Use cases
- measure android app startup time
- detect janky frames in jetpack compose
- generate baseline profiles for android app
- benchmark android app code with microbenchmark
- run macrobenchmarks on firebase test lab
- learn android performance best practices
When to choose
- you want official, maintained example code for Android performance libraries
- you need a starting point for Macrobenchmark or JankStats integration
- you want CI examples running benchmarks on Firebase Test Lab
When to avoid
- you need a production-ready benchmarking framework rather than sample code
- your project is not Android/Kotlin
- you need performance monitoring for backend services
Facets
learning-resource · maturity active
benchmarking testing mobile-development performance tutorials jvm macrobenchmark microbenchmark jankstats baseline-profiles sample-code jetpack-compose android
10 sources
- readme: https://github.com/android/performance-samples · fetched 2026-08-28 · e773c8371daa
- homepage: https://d.android.com/topic/performance/overview · fetched 2026-08-29 · be478b3f58c3
- site_page: https://developer.android.com/google/play/installreferrer · fetched 2026-08-29 · 0c36cc3c0414
- site_page: https://developer.android.com/blog/categories/documentation · fetched 2026-08-29 · ebdb8e262578
- site_page: https://developer.android.com/training/wearables/versions/latest · fetched 2026-08-29 · 8396b9ab4b55
- site_page: https://developer.android.com/jetpack/androidx/releases/compose · fetched 2026-08-29 · 26b81706cc72
- site_page: https://developer.android.com/blog/categories/product-news · fetched 2026-08-29 · fdad7419318d
- site_page: https://developer.android.com/blog/categories/community · fetched 2026-08-29 · 3e0edecad2d7
- site_page: https://developer.android.com/topic/performance/memory-overview · fetched 2026-08-29 · ca7a5a278086
- site_page: https://developer.android.com/topic/performance/inspecting-overview · fetched 2026-08-29 · e2c4a1ce6686
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| android/performance-samples | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="android/performance-samples")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem