mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-25 19:19:31 +03:00
Add '--parameter-step-size' to README
This commit is contained in:
parent
80cca46613
commit
9e534922cc
@ -70,6 +70,11 @@ threads), you can use the `-P`/`--parameter-scan` option and call:
|
||||
``` bash
|
||||
hyperfine --prepare 'make clean' --parameter-scan num_threads 1 12 'make -j {num_threads}'
|
||||
```
|
||||
This also works with decimal numbers. The `-D`/`--parameter-step-size` option can be used
|
||||
to control the step size:
|
||||
``` bash
|
||||
hyperfine -P time 0.2 0.8 -D 0.2 'sleep {time}'
|
||||
```
|
||||
|
||||
### Export results
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user