A command-line benchmarking tool with statistical analysis and multiple export formats.
- v2.0.0
- Published at
- Oct 7, 2026
- 28,969
- Stars
- 1,446,481
- Download
- Synced at
- Oct 8, 2026
Latest release
v2.0.0Oct 7, 2026, 09:13 PMDownloads slow? Switch the source anytime above
README
Project Overview
hyperfine is a command-line benchmarking tool that supports performance testing of arbitrary shell commands.
Key Features
- Statistical analysis across multiple runs
- Support for arbitrary shell commands
- Constant feedback about benchmark progress and current estimates
- Warmup run support
- Cache-clearing command support
- Statistical outlier detection
- Export results to CSV, JSON, Markdown, AsciiDoc
- Parameterized benchmarks
Target Audience
- Developers needing performance testing
- System administrators and performance engineers
- Open-source project maintainers
Quick Start
- Install via package manager:
brew install hyperfine(macOS),apt install hyperfine(Linux) - Basic usage:
hyperfine 'sleep 0.3' - Compare multiple commands:
hyperfine 'hexdump file' 'xxd file' - Parameterized scan:
hyperfine --parameter-scan threads 1 12 'make -j {threads}'
Core Advantages
- Statistical analysis for reliable results
- Warmup and cache-clearing support
- Multiple export formats
- Cross-platform support
System Requirements
- OS: Cross-platform (Windows, macOS, Linux)
- Architectures: x86_64, arm64
- Additional Dependencies: None
Notes
- Performs at least 10 benchmarking runs and measures for at least 3 seconds by default
- Use
-S/--shellto specify a different shell
Release history
Sort