Fighting Regressions with Benchmarks in CI

Dustin Lam

Android Developer

Google

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

twitter-logo-button.png
Abstract

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.

  • Grey Facebook Icon
  • Grey Twitter Icon
  • Grey YouTube Icon

Droidcon is a registered trademark of Mobile Seasons GmbH