Benchkit by kdrag0n is a toolkit module for profiling and benchmarking Android, mainly for kernel work. It installs command-line tools and test apps in one go, so it's aimed at developers rather than people looking for a single benchmark score.
Requirements
It only supports little-endian AArch64, which covers almost all modern Android phones. The latest release is v2.6.4 from October 2021, so the bundled tools are several years old. UiBench and TouchLatency were last updated for Android 10.
Command-line tools
| Tool | Used for |
|---|---|
bonnie++, iozone | General filesystem and I/O benchmarks |
fio | Configurable I/O workloads |
callbench, callbench32 | Speed of time syscalls and basic in-memory I/O, with a 32-bit build for testing the 32-bit vDSO |
cyclictest | Timer jitter, for real-time latency testing |
dhrystone | CPU integer performance |
gtcycles | Frequency of the CPU's generic timer |
hackbench, schbench | Scheduler wakeup latency |
memcpy | Memory bandwidth |
perf | Kernel and userspace profiling, from Linux 4.9 |
rt-app | Simulated mobile workloads, with ARM reference tests in /system/etc/rt-app |
The zip also includes stress-ng, sysbench, coremark, hyperfine and synthmark, along with some binder benchmarks.
Test apps
- JankBenchX: a modified AOSP JankBench for repeatable UI testing.
- UIBench: Google's app for UI rendering workloads.
- TouchLatency: tests touch latency and jank in simple scenes.
- Audio Latency Test: measures speaker-to-microphone latency, and shows up as "Latency Test".
- SynthMark: benchmarks the CPU with real-time audio workloads.
- OboeTester: audio latency and glitch tests.
Installing
Flash the zip in your root manager and reboot. The tools go in /system/xbin, or /system/bin if your device doesn't have xbin. To remove everything, delete the module and reboot.