Stack Gems
Menu
← Catalog

hyperfine

MIT/Apache-2.0 statistical CLI benchmarker

Rust / Terminal · Apache-2.0 · 29.1k

Reviewed 2026-09-10 · last push 2026-10-12 · repo checked 2026-10-19

What's Good

MIT OR Apache-2.0. sharkdp/hyperfine. Runs commands repeatedly with warmup, statistical summary (mean/stddev/min/max), export to Markdown/CSV/JSON, and parameter sweeps (`-P`). Cross-platform. The default answer for comparing two CLIs fairly.

The Catch

It benchmarks *process wall time*, not flamegraphs or allocator profiles — pair with a profiler when the hot path is inside one long process. Shell overhead and cold caches still skew naive runs; read the warmup flags. Not a load-test / HTTP soak tool.

Verdict

MIT/Apache-2.0 CLI bench. Free forever; replace anecdotal `time` with numbers you can paste into a PR.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/hyperfine.svg)](https://stackgems.com/gems/hyperfine)

HTML

<a href="https://stackgems.com/gems/hyperfine"><img src="https://stackgems.com/badge/hyperfine.svg" alt="hyperfine reviewed on Stack Gems" height="20"></a>

Related

Rust →