Commit Graph

28 Commits

Author SHA1 Message Date
David Peter
79f3957879 Update CHANGELOG 2022-03-05 13:01:44 +01:00
David Peter
5c676a9626 Bump version to v1.13.0 2022-03-05 12:10:38 +01:00
David Peter
f1557d47fb Add plot_progression.py 2022-03-05 12:03:29 +01:00
David Peter
e38ac46179 Add CHANGELOG entry 2022-02-22 22:51:09 +01:00
David Peter
197e5df9f0 Add environment randomization on Windows 2022-02-22 09:42:31 +01:00
David Peter
62e82a9b4b Update CHANGELOG 2022-02-22 09:15:25 +01:00
David Peter
f619511101 Update CHANGELOG 2022-02-03 21:07:15 +01:00
Ævar Arnfjörð Bjarmason
017d55a4a1 Add --setup (-s) option, like --prepare but runs once per batch
Add a --setup option for the use-case of wanting to do one-off setup
before a set of benchmarks, not the once-per-test setup that --prepare
does. This is useful for the cases noted in the updated documentation.

Per the feedback on https://github.com/sharkdp/hyperfine/pull/448 this
new "--setup" option will steal the "-s" short option from
"--style" (initially this was called "--build" and used the
non-conflicting "-b").

Potential future work:

I'd prefer if this and --cleanup took N number of commands, so you
could do e.g.:

    hyperfine -L rev master,next \
        -b 'git worktree add /tmp/test-{r}'  \
        -b 'make -C /tmp/test-{r} all'  \
	'make -C /tmp/test-{r} test' \
	-c 'git worktree remove /tmp/test-{r}'

I.e. a shortcut around not providing these with &&, which makes things
a bit more readable.

But the --cleanup option doesn't do that, so let's just go with what
it's doing for consistency, so for this you'll now need to do:

    hyperfine -L rev master,next \
        -b 'git worktree add /tmp/test-{r} &&
	    make -C /tmp/test-{r} all'  \
	'make -C /tmp/test-{r} test' \
	-c 'git worktree remove /tmp/test-{r}'
2021-11-16 21:36:35 +01:00
David Peter
93c16534c0 Prepare release v1.12 2021-10-17 19:45:12 +02:00
David Peter
9fd10ccea4 Add CHANGELOG entry 2021-07-27 22:51:34 +02:00
David Peter
914b5f7108 Add CHANGELOG entry 2021-07-27 22:36:26 +02:00
David Peter
d0a700a734 Add CHANGELOG entry 2021-07-26 21:09:55 +02:00
David Peter
9dbac7317b CHANGELOG formatting 2021-05-10 14:56:01 +02:00
Jordi Chauzi
3fcc6a187b Export exit codes to JSON output 2021-05-10 14:55:04 +02:00
Julian Kaindl
c05d7f9480
Add command exit code to output if it fails 2020-10-25 19:04:17 +01:00
Martin Junghanns
990ed45c3a
Create export file before first benchmark (#340) 2020-10-18 09:15:44 +02:00
Martin Junghanns
2547342644 Update changelog 2020-10-18 09:13:56 +02:00
sharkdp
118baa90c9 Bump version to 1.11.0 2020-10-16 23:57:59 +02:00
sharkdp
46ad9bf39a Show error if numeric arguments can not be parsed
Shows an error message if the argument to options like '--warmup <N>'
can not be parsed:

    > hyperfine --warmup xxx "sleep 1"
    Error: Could not read numeric argument to '--warmup': invalid digit found in string

closes #337
2020-10-16 23:55:14 +02:00
sharkdp
b2a246c195 Fix nan/inf output for very fast commands
closes #319
2020-10-16 11:00:49 +02:00
Stéphane Campinas
83e5d3c7fb updated changelog 2020-10-15 22:42:44 +02:00
sharkdp
674b5422ab Fix outlier detection for "fast outliers"
closes #329
2020-10-15 22:37:54 +02:00
sharkdp
daf5ced498 Keep output colorized for 'full' and 'color' style
fixes #332
2020-10-15 21:54:57 +02:00
William Chargin
a8a75a3b76 [update patch]
wchargin-branch: param-list-matrix
wchargin-source: 188f18839ad4bfce20c2c031cd6b00bcd94b67ad
2020-10-13 14:00:46 +02:00
William Chargin
e75747a0da [update patch]
wchargin-branch: param-list-matrix
wchargin-source: 15d5c2076ea44768e8c857dd467c327e5bfe7189
2020-10-13 14:00:46 +02:00
sharkdp
84f3120949 Update CHANGELOG 2020-05-25 16:06:54 +02:00
sharkdp
88ff4ea4f4 Add changes for 1.10 2020-05-25 15:59:05 +02:00
sharkdp
b215ffdc19 Add CHANGELOG file 2020-05-25 15:58:05 +02:00