mirror of https://github.com/CrimsonTome/tldr.git
hyperfine: update basic example to include the minimum number of runs (#2385)
Merged. Thanksitalian
parent
3d2fc22207
commit
242c481d7d
|
@ -2,10 +2,14 @@
|
||||||
|
|
||||||
> A command-line benchmarking tool.
|
> A command-line benchmarking tool.
|
||||||
|
|
||||||
- Run a basic benchmark:
|
- Run a basic benchmark, performing at least 10 runs:
|
||||||
|
|
||||||
`hyperfine '{{make}}'`
|
`hyperfine '{{make}}'`
|
||||||
|
|
||||||
|
- Run a comparative benchmark:
|
||||||
|
|
||||||
|
`hyperfine '{{cat test}}' '{{bat test}}'`
|
||||||
|
|
||||||
- Change minimum number of benchmarking runs:
|
- Change minimum number of benchmarking runs:
|
||||||
|
|
||||||
`hyperfine --min-runs {{7}} '{{make}}'`
|
`hyperfine --min-runs {{7}} '{{make}}'`
|
||||||
|
|
Loading…
Reference in New Issue