Terminal Tools

hyperfine

27.7k

Statistical command-line benchmarking tool — runs commands multiple times, warms up caches, and reports mean, standard deviation, and outliers.

macOSLinuxWindows

Install

Get started

brew install hyperfine

Usage

How to use

```bash # Basic benchmark hyperfine 'sleep 0.3' # Compare two commands hyperfine 'find . -name "*.rs"' 'fd -e rs' # Warmup runs before timing hyperfine --warmup 3 'grep -r TODO .' ```