Measure What Matters
summary
Company app adds Jetpack Benchmark to CI and measures concrete results: four JSON libraries across three payload sizes, Jackson is fastest but ~1MB, Moshi (no codegen) is slowest, Kotlin serialization ~80KB is second‑fastest so it’s kept and others are deprecated. UI benchmarks measure per‑item scroll latency (example: linear scroll ~2,000 ns) using device runs, JSON output extraction, and warnings for unlocked clocks, emulator, debug builds and low battery; Firebase Test Lab needs mocked network.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:05User feedback on lags
- 2:50Jetpack Benchmark overview
- 5:59Benchmark setup changes
- 8:47Configuring benchmark module
- 10:11Measuring JSON parsers
- 11:35UI performance testing
- 14:02Running benchmarks in CI
- 17:57Cloud benchmarking options
- 20:28Benchmark warnings explained
- 23:40Firebase Test Lab setup
- 26:53CI integration example
- 28:40Handling benchmark regressions
- 30:08Live UI benchmark demo
- 35:09Getting started with benchmarking
- 37:00Further resources
- 39:27Q&A
related talks
30mMeasure What Matters with Jetpack Benchmark
20mMeasure What Matters with Jetpack Benchmark (Lightning)
44mAndroid Benchmarking and other stories
44mPractical guide to performance Benchmarks
45mPerformance in a Kotlin world
43mBenchmarking your application
40mMonitor App performance using Jetpack Benchmark
33mAndroid Benchmarking and other stories
