Fighting Regressions with Benchmarks in CI

Dustin Lam

Android Developer


Dustin is a software engineer on the Android Toolkit team working on Architecture Components.


It's easy to forget about performance until users complain, but you can prevent a bad user experience by catching regressions in CI. We'll explore why variance makes regression detection difficult, and strategies we use to solve this while writing Jetpack libraries. We'll review the new Jetpack Benchmark library, and how to use it to measure hot code paths, from RecyclerView scrolling to database queries.