hyperfine
Command-line tool for benchmarking shell commands.
Tested on Linux
Use it
Linux x86_64
download and install hyperfine 2.0.0 x86_64 binary to ~/.local/bin
mkdir -p ~/.local/bin && curl -fsSL https://github.com/sharkdp/hyperfine/releases/download/v2.0.0/hyperfine-v2.0.0-x86_64-unknown-linux-gnu.tar.gz -o /tmp/hyperfine.tar.gz && tar -xzf /tmp/hyperfine.tar.gz -C /tmp && cp /tmp/hyperfine-v2.0.0-x86_64-unknown-linux-gnu/hyperfine ~/.local/bin/hyperfine && chmod +x ~/.local/bin/hyperfine && ~/.local/bin/hyperfine --version
Check that it works
hyperfine --versionThe output should contain “hyperfine 2.0.0”.
First thing to try
hyperfine --runs 3 'sleep 0.05' 2>&1What it does
- Statistical analysis across multiple runsTested
- Export results to multiple formatsTested
- Run parameterized benchmarksTested
- Benchmark arbitrary shell commandsNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 3 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
An alternative to bench.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 4 Nov 2026
- Version 2.0.0
Differences the test machine hit
- README: apt install hyperfine installs hyperfine
In the test: apt requires root/sudo which sandbox has no; use binary tarball from GitHub releases instead - README: cargo install --locked hyperfine
In the test: requires Rust toolchain not installed in box; binary install avoids it - README: hyperfine 'hexdump file' 'xxd file' as comparison example
In the test: hexdump/xxd not present in minimal box; equivalent test with cat/wc succeeds, proving arbitrary shell commands work