androidx.benchmark.junit4


Classes

AndroidBenchmarkRunner

Instrumentation runner for benchmarks, used to increase stability of measurements and minimize interference.

BenchmarkRule

JUnit rule for benchmarking code on an Android device.

BenchmarkRule.Scope

Handle used for controlling timing during measureRepeated.

BenchmarkRuleKt
PerfettoTraceRule

Add this rule to record a Perfetto trace for each test on Android Lollipop (API 21)+ devices.