Measure What Matters with Jetpack Benchmark
summary
Jetpack Benchmark measures concrete timings on-device and OLX uses it to benchmark JSON parsing and feed scrolling then gate CI with thresholds the team writes into a GitLab job and a Python checker that parses the json output with medians in ns the experiment shows Jackson fastest but largest binary and chooses kotlinx serialization as a size/performance tradeoff benchmarks run on Firebase Test Lab after fixing emulator and network pitfalls and the CI regression check aborts on exceeded thresholds.
AI-written summary · about
chapters (12)
- 0:00Intro
- 4:21Release History
- 5:07How it works
- 5:55Warmup improvements
- 6:40Disabling test coverage
- 6:57ci guidelines
- 7:35How to write benchmarking
- 8:25How to add the benchmark module
- 10:34How to benchmark code
- 12:53Instrumentation tests
- 16:43Running the benchmark
- 23:31Gitlab configuration
related talks
40mMeasure What Matters
20mMeasure What Matters with Jetpack Benchmark (Lightning)
26mJetpack Benchmarks and Where to Find Them
25mJetpack Benchmark and where to find them
44mAndroid Benchmarking and other stories
43mBenchmarking your application
40mMonitor App performance using Jetpack Benchmark
33mAndroid Benchmarking and other stories
