Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
akillness avatar

Hyperfine Benchmarking

  • 134 installs
  • 40 repo stars
  • Updated August 4, 2026
  • akillness/oh-my-skills

Compare command runtime across code changes using hyperfine warmups, parameter sweeps, and exportable results before merging perf-sensitive paths.

About

Teaches hyperfine CLI benchmarking to measure command latency, compare implementations fairly with warmups, and document perf deltas for scripts, APIs, and build tooling before release.

  • Warmup runs to stabilize timings
  • Parameterized command matrices
  • Markdown/JSON export for CI artifacts
  • Statistical comparison between variants
  • Shell script and binary profiling

Hyperfine Benchmarking by the numbers

  • 134 all-time installs (skills.sh)
  • Ranked #231 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/akillness/oh-my-skills --skill hyperfine-benchmarking

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs134
repo stars40
Last updatedAugust 4, 2026
Repositoryakillness/oh-my-skills

What it does

Compare command runtime across code changes using hyperfine warmups, parameter sweeps, and exportable results before merging perf-sensitive paths.

Files

SKILL.mdMarkdownGitHub ↗

hyperfine-benchmarking

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

When to use this skill

  • Compare two or more command variants (tool-a vs tool-b)
  • Validate performance impact before/after script changes
  • Attach benchmark evidence to PRs

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

  • Prefer relative speedup and confidence ranges over single-run claims.
  • Do not compare commands with different semantics unless outputs are normalized.
  • If variance is high, increase runs or reduce background noise before concluding.
  • Record dataset/path and exact command strings in PR text.

References

  • hyperfine project: https://github.com/sharkdp/hyperfine
  • Docs: https://github.com/sharkdp/hyperfine#readme

Related skills

CLI & Terminaltestingdevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.