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

This commit is contained in:
David Peter authored and GitHub committed 2019-09-01 14:39:07 +02:00
1 parent 80cca46613
commit 9e534922cc
1 file changed
+5
+5
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