androidx.benchmark:benchmark-junit4
Official Description: Android Benchmark - JUnit4
CommonsWare’s Notes
This contains BenchmarkRule
and AndroidBenchmarkRunner
, which provide
the public API for adding benchmarking to your JUnit tests. These benchmarks
are designed to give you an idea of how your code performs, compared to
previous versions of that code or to alternative implementations.
Documentation
- Release Notes
- Benchmark app code: Basic integration documentation from Google
Knowledge
-
Improving App Performance with Benchmarking (2019-05): Google I O 2019 presentation - Android Jetpack Benchmark: JSON Parsers Performance (2019-06-24): Example integration of Jetpack Benchmark for measuring JSON parsing
Versions
- Latest Stable: 1.0.0
- Latest Release Candidate: 1.0.0-rc01
- Latest Beta: 1.0.0-beta01
- Latest Alpha: 1.0.0-alpha06