mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
[update patch]
wchargin-branch: param-list-matrix wchargin-source: 15d5c2076ea44768e8c857dd467c327e5bfe7189
This commit is contained in:
1 parent
f6464a2943
commit
e75747a0da
1 file changed
+16
@@ -1,7 +1,23 @@
|
||||
# unreleased
|
||||
|
||||
## Features
|
||||
|
||||
- The `-L`/`--parameter-list` option can now be specified multiple times to evaluate all possible combinations of the listed parameters:
|
||||
|
||||
``` bash
|
||||
hyperfine -L number 1,2 -L letter a,b,c \
|
||||
"echo {number}{letter}" \
|
||||
"printf '%s\n' {number}{letter}"
|
||||
# runs 12 benchmarks: 2 commands (echo and printf) times 6 combinations of
|
||||
# the "letter" and "number" parameters
|
||||
```
|
||||
|
||||
See: #253, #318 (@wchargin)
|
||||
|
||||
## Changes
|
||||
|
||||
- When parameters are used with `--parameter-list` or `--parameter-scan`, the JSON export format now contains a dictionary `parameters` instead of a single key `parameter`.
|
||||
|
||||
## Bugfixes
|
||||
## Other
|
||||
## Packaging
|
||||
|
||||
Reference in new issue
Block a user