1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-14 16:55:47 +02:00

hyperfine: update basic example to include the minimum number of runs (#2385)

Merged. Thanks
This commit is contained in:
Russ Edwards 2018-10-04 15:03:37 -04:00 committed by Muhammad Falak R Wani
parent 3d2fc22207
commit 242c481d7d

View file

@ -2,10 +2,14 @@
> A command-line benchmarking tool.
- Run a basic benchmark:
- Run a basic benchmark, performing at least 10 runs:
`hyperfine '{{make}}'`
- Run a comparative benchmark:
`hyperfine '{{cat test}}' '{{bat test}}'`
- Change minimum number of benchmarking runs:
`hyperfine --min-runs {{7}} '{{make}}'`