Benchkit

kdrag0n

Magisk KernelSU APatch
v2.6.4
Version
15.65 MB
Size
Nov 1, 2021
Updated

Module Info

  • Contributors kdrag0n, Zackptg5, MarcAnt01, iGlitch, JohnFawkes
  • Source Code View Repository
  • Tags
    #Benchkit #Benchmark #Profiling #Kernel #Magisk Module #kdrag0n #fio #perf #stress-ng #JankBenchX

About this module

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

ToolUsed for
bonnie++, iozoneGeneral filesystem and I/O benchmarks
fioConfigurable I/O workloads
callbench, callbench32Speed of time syscalls and basic in-memory I/O, with a 32-bit build for testing the 32-bit vDSO
cyclictestTimer jitter, for real-time latency testing
dhrystoneCPU integer performance
gtcyclesFrequency of the CPU's generic timer
hackbench, schbenchScheduler wakeup latency
memcpyMemory bandwidth
perfKernel and userspace profiling, from Linux 4.9
rt-appSimulated 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.