Hyperfine benchmarking

From akillness/jeo-skills · View interactive version

Hyperfine benchmarking is an AI agent skill from the GitHub repository akillness/jeo-skills. Use this skill to benchmark shell commands reliably with warmup runs, statistical summaries, and exportable artifacts using hyperfine.

How to use this skill

Skill file

hyperfine-benchmarking

Benchmark CLI commands with reproducible methodology instead of one-off time output.

When to use this skill

Instructions

  1. Confirm tool availability.
  2. Keep input/workdir/environment stable across compared commands.
  3. Run warmups and enough runs for stable variance.
  4. Export JSON/markdown outputs for review.
  5. Summarize relative speedup + risk notes.

Examples

Availability check

hyperfine --version

Two-command comparison

hyperfine \
  --warmup 3 \
  --min-runs 10 \
  'cmd_a --with flags' \
  'cmd_b --with flags'

Parameter sweep

hyperfine \
  --warmup 3 \
  --parameter-list mode fast,balanced,thorough \
  'mytool --mode {mode} input.txt'

Export artifacts

hyperfine \
  --warmup 3 \
  --min-runs 10 \
  --export-json benchmark.json \
  --export-markdown benchmark.md \
  'cmd_a' 'cmd_b'

Best practices

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.