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
PerfettoRule

Add this rule to record a Perfetto trace for each test on Q+ devices.