mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-22 09:15:22 +02:00

* Update rpicam-still.md * Update jello.md * Update dropdb.md * Update aws-eks.md * Update sfdisk.md * Update hyperfine.md * Update quarto.md * Update for.md * Update coproc.md * Update vagrant-validate.md * Update kubetail.md * Update kubetail.md * Update pstoedit.md * Update highlight.md * Update linode-cli-linodes.md * Update swig.md * Update phpcbf.md * Update unzipsfx.md * Update d8.md * Update trdsql.md * Update keyd.md * Update mamba-repoquery.md * Update pages/common/jello.md * Update coproc.md * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/common/for.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update for.md --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
768 B
768 B
hyperfine
A benchmarking tool. More information: https://github.com/sharkdp/hyperfine/.
- Run a basic benchmark, performing at least 10 runs:
hyperfine '{{make}}'
- Run a comparative benchmark:
hyperfine '{{make target1}}' '{{make target2}}'
- Change minimum number of benchmarking runs:
hyperfine {{[-m|--min-runs]}} {{7}} '{{make}}'
- Perform benchmark with warmup:
hyperfine {{[-w|--warmup]}} {{5}} '{{make}}'
- Run a command before each benchmark run (to clear caches, etc.):
hyperfine {{[-p|--prepare]}} '{{make clean}}' '{{make}}'
- Run a benchmark where a single parameter changes for each run:
hyperfine {{[-p|--prepare]}} '{{make clean}}' {{[-P|--parameter-scan]}} {{num_threads}} {{1}} {{10}} '{{make --jobs {num_threads}}}'