Ross ROSS = Recommend OSS · open-source software intelligence for agents

android/performance-samples resource

Samples to show APIs and best practices in Performance on Android observed · 2026-08-28

github.com/android/performance-samples · homepage · Kotlin · Apache-2.0 (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
android/performance-samplesmain77

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