Stack Gems
Menu

Alternatives · Terminal

hyperfine alternatives (2026)

hyperfine: MIT/Apache-2.0 CLI bench. Free forever; replace anecdotal `time` with numbers you can paste into a PR.

Its Catch: It benchmarks *process wall time*, not flamegraphs or allocator profiles — pair with a profiler when the hot path is inside one long process.

Below: 8 free or free-tier tools from the same category (terminal tools), free and open source first, then the closest match by shared tags. Each keeps its own Catch.

  1. 1.ripgrepUnlicense/MIT recursive grep that respects .gitignore

    Free / OSS · Unlicense · 69.2k GitHub stars

    VerdictUnlicense/MIT grep replacement. Free forever; the search tool every terminal should alias.

    CatchVs grep (POSIX baseline) and ag/The Silver Searcher (predecessor): ripgrep is the modern default, not a POSIX drop-in. If your workflow depends on GNU grep flags exactly, `rg` is similar but not identical. No built-in fuzzy matching — pair with fzf for interactive filtering.

  2. 2.batMIT/Apache-2.0 cat clone with syntax highlighting and Git integration

    Free / OSS · Apache-2.0 · 60.8k GitHub stars

    VerdictMIT/Apache-2.0 cat clone. Free forever; alias cat=bat and never look at monochrome output again.

    CatchVs cat (POSIX baseline): bat is heavier — startup and memory cost for highlighting. Not a POSIX cat drop-in for scripts expecting raw byte streams. Large files or binary content should still use plain cat. Theme configuration is optional but becomes a rabbit hole.

  3. 3.fdMIT/Apache-2.0 ignore-aware parallel filename find

    Free / OSS · Apache-2.0 · 44.8k GitHub stars

    VerdictMIT/Apache-2.0 filename finder. Free forever; alias find habits here when you care about names and ignores.

    CatchVs ripgrep (content search) and fzf (fuzzy UI): fd finds *names*, not file contents, and it is not an interactive fuzzy picker. Not a POSIX find drop-in for every `-exec`/`-printf` edge case. Large trees still need sensible roots; it is not a content indexer.

  4. 4.watchexecApache-2.0 mature file→command watcher (entr-class)

    Free / OSS · Apache-2.0 · 7.2k GitHub stars

    VerdictApache-2.0 file watcher. Free forever; fill the entr-shaped hole when Tilt is overkill.

    CatchVs Tilt (K8s microservice *dev control plane*): watchexec is the entr-class local file watcher, not a cluster live-update UI. Not a build system and not a process supervisor for multi-service graphs. You still write the command and filter extensions yourself.

  5. 5.tokeiMIT/Apache-2.0 fast LOC and code stats by language

    Free / OSS · Apache-2.0 · 15k GitHub stars

    VerdictMIT/Apache-2.0 LOC CLI. Free forever; count the tree before the status meeting invents numbers.

    CatchVs cloc/scc and vs GitHub language bars: tokei is the *local CLI/library* for code stats, not a hosted insights product and not a complexity/churn analyzer. Counts are still heuristics — generated code and vendor trees need excludes. Not a dependency auditor.

  6. 6.dustApache-2.0 intuitive du tree — see what eats the disk

    Free / OSS · Apache-2.0 · 12.5k GitHub stars

    VerdictApache-2.0 du tree. Free forever; find the fat directories without a file-manager detour.

    CatchVs Yazi (terminal *file manager* / nav ≠ size): dust answers “what is using disk,” not browse/preview/move. Vs plain `du`: opinionated overview, not every POSIX du flag. Permission-denied noise is minimized, but you still need roots you can read.

  7. 7.naviApache-2.0 interactive cheatsheet runner for the shell

    Free / OSS · Apache-2.0 · 17.8k GitHub stars

    VerdictApache-2.0 cheatsheet TUI. Free forever; run the snippet you meant without leaving the terminal.

    CatchVs fzf (generic fuzzy finder) and just (recipe runner): navi is cheatsheet *browse + param fill + run*, not a bare fuzzy filter and not a Justfile task graph. You still author or import cheats; empty cheats dirs teach nothing. Depends on a finder binary.

  8. 8.xhMIT HTTPie-compatible HTTP client as a Rust single binary

    Free / OSS · OSS/MIT · 8.1k GitHub stars

    VerdictMIT HTTPie-shaped HTTP CLI. Free forever; carry one binary when pip is the tax.

    CatchVs HTTPie (Python CLI UX) and curl: xh is the *Rust single-binary* cousin, not a plugin ecosystem and not every HTTPie feature. Incomplete parity is intentional (#4). curl still wins when the script must assume the OS already has it.

FAQ

What are the best free alternatives to hyperfine?
ripgrep, bat, fd, watchexec, tokei. All are reviewed on Stack Gems in the same category (terminal tools); 8 free or open source.
What is the catch with hyperfine?
It benchmarks *process wall time*, not flamegraphs or allocator profiles — pair with a profiler when the hot path is inside one long process.
Is there an open-source alternative to hyperfine?
Yes: ripgrep (Unlicense), bat (Apache-2.0), fd (Apache-2.0), watchexec (Apache-2.0).

More