Add '--parameter-step-size' to README

This commit is contained in:
David Peter 2019-09-01 14:39:07 +02:00 committed by GitHub
parent 80cca46613
commit 9e534922cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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