Jetpack Benchmarks and Where to Find Them
summary
Concrete setup and results: the Jetpack Benchmark Library is added as a benchmark module or main-module workaround with the gradle plugin and output JSON enabled, tests run on device not emulator using measureRepeated, and CI invokes device runs via Firebase Test Lab from a GitHub Actions workflow. The pipeline copies benchmark-result.json, compares total runtime (nanoseconds) between runs, opens a PR with a comment, and flags regressions; engineers report ~25–30% cold-start gains and scroll measurements ranging from ~15s minimum to ~97s maximum.
AI-written summary · about
chapters (4)
- 0:00Start
- 9:08Benchmarking
- 10:32Jetpack Benchmark - Setup
- 11:29Jetpack Benchmark - Real World App Setup
related talks
25mJetpack Benchmark and where to find them
30mMeasure What Matters with Jetpack Benchmark
40mMonitor App performance using Jetpack Benchmark
20mMeasure What Matters with Jetpack Benchmark (Lightning)
33mAndroid Benchmarking and other stories
36mFighting Regressions with Benchmarks in CI
46mDo you need the Jetpack Macrobenchmark library?
10mMeasuring Jank and Startup with Macrobenchmark
