Benchmark is one of the new interesting libraries recently released by the Jetpack team at Google. This library allows you to measure the speed of certain parts of your application. This is helpful to validate certain parts of your app that are repeatedly accessed such as going into details of items or scrolling through an infinite list.
The measurements help you monitor if your app performance is slowing down. Because of this, you can integrate it into your CI. We’ll show a real-life scenario of benchmarks on the OLX app and show you how you can integrate it into your CI tool.