hyperfine
brew install hyperfine
v1.20.0
Apache-2.0 OR MIT
Command-line benchmarking tool
1.1k
30-day installs · #1269
3.7k
90-day · #1248
15.3k
365-day · #1202
28.3k
★ GitHub stars · updated 3mo ago
Build dependencies
GitHub topics
benchmark
cli
command-line
rust
terminal
tool
Links
- https://github.com/sharkdp/hyperfine
- GitHub: sharkdp/hyperfine
- Brew formula source: Formula/h/hyperfine.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Command-line benchmarking tool",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:43+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "hyperfine",
"github_default_branch": "master",
"github_last_commit_at": "2026-04-30T08:23:25Z",
"github_readme_excerpt": "# hyperfine\n[](https://github.com/sharkdp/hyperfine/actions/workflows/CICD.yml)\n[](https://crates.io/crates/hyperfine)\n[\u4e2d\u6587](https://github.com/chinanf-boy/hyperfine-zh)\n\nA command-line benchmarking tool.\n\n**Demo**: Benchmarking [`fd`](https://github.com/sharkdp/fd) and\n[`find`](https://www.gnu.org/software/findutils/):\n\n\n\n## Features\n\n* Statistical analysis across multiple runs.\n* Support for arbitrary shell commands.\n* Constant feedback about the benchmark progress and current estimates.\n* Warmup runs can be executed before the actual benchmark.\n* Cache-clearing commands can be set up before each timing run.\n* Statistical outlier detection to detect interference from other programs and caching effects.\n* Export results to various formats: CSV, JSON, Markdown, AsciiDoc.\n* Parameterized benchmarks (e.g. vary the number of threads).\n* Cross-platform\n\n## Usage\n\n### Basic benchmarks\n\nTo run a benchmark, you can simply call `hyperfine \u003ccommand\u003e...`. The argument(s) can be any\nshell command. For example:\n```sh\nhyperfine \u0027sleep 0.3\u0027\n```\n\nHyperfine will automatically determine the number of runs to perform for each command. By default,\nit will perform *at least* 10 benchmarking runs and measure for at least 3 seconds. To change this,\nyou can use the `-r`/`--runs` option:\n```sh\nhyperfine --runs 5 \u0027sleep 0.3\u0027\n```\n\nIf you want to compare the runtimes of different programs, you can pass multiple commands:\n```sh\nhyperfine \u0027hexdump file\u0027 \u0027xxd file\u0027\n```\n\n### Warmup runs and preparation commands\n\nFor programs that perform a lot of disk I/O, the benchmarking results can be heavily influenced\nby disk caches and whether they are cold or warm.\n\nIf you want to run the benchmark on a warm cache, you can use the `-w`/`--warmup` option to\nperform a certain number of program executions before the actual b",
"github_repo": "sharkdp/hyperfine",
"github_stars": 28341,
"github_topics": [
"benchmark",
"cli",
"command-line",
"rust",
"terminal",
"tool"
],
"homepage": "https://github.com/sharkdp/hyperfine",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 1073,
"installs_365d": 15330,
"installs_90d": 3677,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0 OR MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "hyperfine",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1269,
"rank_365d": 1202,
"rank_90d": 1248,
"raw_hash": "2cb2d5ac83d63389",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/h/hyperfine.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.20.0",
"versioned_formulae": [],
"why_use_this": null
}