A command-line benchmarking tool
open sourceMIT OR Apache-2.0self-hostablefree
hyperfine benchmarks shell commands with statistical analysis across many runs, warmup runs, cache-clearing preparation commands, outlier detection, parameterized benchmarks and export to CSV, JSON, Markdown and AsciiDoc. It picks the number of runs automatically and compares several commands side by side.
Ways to install
Package managers
Problems it solves
- is my new implementation actually faster than the old one
- time a command properly with many runs instead of one
timecall - compare the speed of two CLI tools fairly
- benchmark results are noisy because of caching and background processes
- clear caches before each benchmark run
- benchmark with different thread counts in one go
- export benchmark results as a Markdown table for a PR
- measure startup time of my CLI
Features
- statistical analysis
- warmup runs
- prepare commands
- outlier detection
- parameter scans
- CSV/JSON/Markdown export
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what hyperfine does.
