hyperfine

CLI

A command-line benchmarking tool.

Benchmark shell commands with statistical analysis

3 curated recipes · not yet executed by the harness#benchmark#performance#timing

Recipes

Curated from documentation and usage. Percentages are estimates, not measurements.

Benchmark a single command

~99% est.
hyperfine --warmup 3 'your-command'

Compare two commands

~98% est.
hyperfine 'rg pattern .' 'grep -r pattern .'

Export results as JSON

~98% est.
hyperfine --export-json results.json 'command'

Install

Homebrewbrew install hyperfine
Cargocargo install hyperfine

Agent notes

When to use
Comparing command performance or measuring execution time
Quick examples
  • hyperfine 'sleep 0.3'
  • hyperfine --warmup 3 'grep -r TODO .' 'rg TODO .'

Use from an agent

curl -s https://clihub.com/api/tools/hyperfine | jq '.agentHints.provenRecipes[] | {task, command, verified}'

Or call get_tool with slug hyperfine on the MCP server at https://clihub.com/mcp.

Homepage ↗MIT OR Apache-2.00 views