hyperfine/README.md
2018-01-15 18:34:48 +01:00

1.1 KiB

hyperfine

A command-line benchmarking tool (inspired by bench).

> hyperfine [OPTIONS] <command>...

Demo: Benchmarking fd and find:

hyperfine

Features

  • Statistical analysis across multiple runs
  • Support for arbitrary shell commands
  • Constant feedback about the benchmark progress and current estimates
  • Warmup runs can be executed before the actual benchmark

Installation

Hyperfine can be installed via cargo:

cargo install hyperfine

Arch Linux

On Arch Linux, hyperfine can be installed from the AUR:

yaourt -S hyperfine

Origin of the name

The name hyperfine was chosen in reference to the hyperfine levels of caesium 133 which play a crucial role in the definition of our base unit of time — the second.