hyperfine

hyperfine

TLDR

Run a basic benchmark, performing at least 10 runs

>_ hyperfine '[make]'
copy

Run a comparative benchmark

>_ hyperfine '[make target1]' '[make target2]'
copy

Change minimum number of benchmarking runs

>_ hyperfine --min-runs [7] '[make]'
copy

Perform benchmark with warmup

>_ hyperfine --warmup [5] '[make]'
copy

Run a command before each benchmark run (to clear caches, etc.)

>_ hyperfine --prepare '[make clean]' '[make]'
copy

Run a benchmark where a single parameter changes for each run

>_ hyperfine --prepare '[make clean]' --parameter-scan [num_threads] [1] [10] '[make -j {num_threads]}'
copy

Copied to clipboard
free 100$ digital ocean credit