Benchkit is a developer-centric toolkit module for Android with a plethora of tools for in-depth profiling and benchmarking. Many of the tools are focused on kernel benchmarking, but userspace (i.e. Android) benchmarking is also covered by some of them. This module aims to make empirical data-driven development more accessible so people can make optimal tuning decisions based on real results.
The only supported CPU architecture is little-endian AArch64, which includes almost all modern Android phones.
Contents
Command-line utilities:
- Bonnie++: General filesystem and I/O benchmark
- callbench:
Measure the speed of simple time syscalls (with and without vDSO) and basic in-memory I/O using
mmap(2)
andread(2)
. A 32-bit version is available ascallbench32
for 32-bit vDSO testing. - cyclictest: Measure timer jitter, useful for real-time latency testing
- Dhrystone: Simple CPU integer performance benchmark typically used for calculating CPU capacities for an EAS energy model
- Flexible I/O Tester (
fio
): Flexible generic I/O tester that can simulate a variety of configurable workloads - GTcycles: Measure the frequency of the CPU’s generic timer
- Hackbench: Scheduler wakeup latency and pipe benchmark
- IOzone: General filesystem and I/O benchmark
- memcpy:
Measure memory bandwidth using libc’s
memcpy(3)
function - perf:
Profiling tool (from Linux 4.9) for kernel and userspace. Some microbenchmarks are also available in
perf bench
. - rt-app:
Flexible real-time application simulator designed to replicate typical mobile workloads in a reproducible manner. Some reference tests from ARM are available in
/system/etc/rt-app
. - schbench: Scheduler wakeup latency benchmark
- stress-ng: Stress-test various hardware and kernel subsystems
- sysbench: Scriptable database and system performance benchmark with several built-in tests
- hyperfine: Advanced benchmark runner that makes it easy to run benchmarks in a statistically sound manner and export results into machine-readable formats
- synthmark: Benchmark CPU performance with real-time audio workloads (by Google; CLI version)
Android apps:
- JankBenchX: joshuous’ modified version of AOSP JankBench for automatic reproducible UIBench testing
- TouchLatency: Test touch latency and jank in simple scenes (from AOSP)
- UIBench: Google’s AOSP app for testing various mobile workloads and UI rendering tasks
- Audio Latency Test (shows as “Latency Test”): Test end-to-end (i.e. speaker to microphone) audio latency (from Superpowered)
- SynthMark: Benchmark CPU performance with real-time audio workloads (by Google; GUI version)
- OboeTester: Various audio-related tests including latency and glitch testing (by Google)
Links
Credits
- ARM for LISA and Workload Automation
- celtare21 for the IOzone executable
- The respective authors of all tests included in this module
Download Link
Module Info
Other modules
AdGuardDNS4Magisk
To make it short: a DNS server listen and give you the corresponding IP address of your website request, and its domain name (forum.xda-developers.com for example). For the long version a little reading is necessary: https://en.wikipedia.org/wiki/Domain_Name_System The purpose of this module? …...
Benchkit
Benchkit is a developer-centric toolkit module for Android with a plethora of tools for in-depth profiling and benchmarking. Many of the tools are focused on kernel benchmarking, but userspace (i.e. Android) benchmarking is also covered by some of them. This module aims to make empirical data-driven …...
Universal GMS Doze
Universal GMS Doze is a Magisk module designed to limit the background activity of Google Mobile Services (GMS) for better battery efficiency. It optimizes wakelocks and GMS processes without disrupting notifications or core Google app functionality. Ideal for users looking to extend battery life …...
Magical Overlayfs Magisk Ksu Module
Use OverlayFS to make read-only system partitions become read-write partitions. OverlayFS MUST be supported by kernel! Recommended for EROFS ROMs. Changelog The release from the upstream repo of v3.2.2 is broken somehow with Magisk v27.0. I simply rebuilt it per comments in open issues on that repo …...
Disable high volume warning
The European Committee for Electrotechnical Standarisation regulates all media playback devices sold in the European Union to have an output volume warning at 85dB: Users can increase the volume to a maximum of 100dB by accepting the warning, yet the warning reappears after 20hours of music …...
Dolby Audio Moto G Pro
This module leverages the Magisk framework, a popular tool for modifying system files on rooted Android devices, to potentially improve the audio quality of your Moto G Pro. By replacing or modifying specific system files, the module aims to unlock additional Dolby Atmos features or alter existing …...
Zip ZipSigner for Android NDK Magisk / Kernelsu Module
The Zip & ZipSigner for Android NDK module is a tool primarily designed for developers working with Android apps and system modifications. It provides the necessary tools to sign and align ZIP files, which is a crucial step in making Android packages installable. Key features: Zipsigner: A …...
custom certificate authorities
Custom Certificate Authorities is a Magisk module which adds custom certificate authorities from a pre-defined path on the Android file system to the system trust store. What sets it apart from similar modules like MagiskTrustUserCerts or MoveCert is that it doesn’t require you to install or …...
Advanced Charging Controller
DESCRIPTION LICENSE DISCLAIMER WARNINGS DONATIONS PREREQUISITES QUICK START GUIDE Notes BUILDING AND/OR INSTALLING FROM SOURCE Dependencies (Build) Build Tarballs and Flashable Zips Notes Install from Local Source or GitHub Notes DEFAULT CONFIGURATION SETUP/USAGE Terminal Commands PLUGINS …...
MIUI / ANX Camera
A modified version of the original ANXCamera by @AEonAX, aims to work on Android 12+ since ANXCamera’s not officially supports it. More information about ANXCamera: :earth_americas: Official Website | :book: WIKI Check dev branch for recent commits/updates. Features Support Android 12-14 …...