Commit Graph
56 Commits
Author SHA1 Message Date
David Peter ccc84495ec Prepare release v2.0.0-alpha.1 2026-10-06 16:00:09 +02:00
David Peter bdbfae9907 Alternative performance metrics in the terminal (#986) 2026-10-06 15:50:19 +02:00
David Peter 7395dde05d Document the new JSON export format in the changelog (#985)
* docs: document JSON schema v2 breaking changes

* docs: simplify JSON example introduction

* Update `--export-json` to schema version 2

Updated the JSON format for `--export-json` to schema version 2, which now includes metadata, per-run measurements, and statistical summaries. Consumers must update their code to accommodate the new structure.

* Revise breaking changes in CHANGELOG

Updated breaking changes section to clarify command execution and JSON export format.
2026-10-06 09:35:00 +02:00
David Peter ab86cb99cc Make --shell=none the default (#982) 2026-10-06 08:41:59 +02:00
David Peter 08e54e1973 Document reference comparison changes 2026-10-05 15:57:50 +02:00
David Peter 272183efd1 Prepare release v1.21.0 2026-10-05 14:55:32 +02:00
David Peter 1c925876a5 Use C++ compiler drivers in parameter-list examples (#936) 2026-10-02 11:46:04 +02:00
David Peter 62cfbf0265 Fix documentation typos and man-page formatting (#935) 2026-10-02 11:45:20 +02:00
David Peter 975fe108c4 Bump version to 1.20.0 2025-11-18 09:34:01 +01:00
David Peter 564ccafb03 Preparations for v1.19 2024-11-11 22:39:30 +01:00
David Peter 45b18d9d36 Updates for v1.18 2023-10-05 09:48:09 +02:00
David Peter 575949ad9d Fix version in CHANGELOG 2023-06-04 08:25:49 +02:00
David Peter a719153e63 Update CHANGELOG 2023-06-03 23:38:47 +02:00
David Peter 8349ad4c44 Update CHANGELOG 2023-06-03 23:22:43 +02:00
David Peter acaa401ca0 Update CHANGELOG 2023-04-20 21:46:50 +02:00
David Peter 80ec1c5ddf Fix usage of --input=null 2023-03-21 21:03:34 +01:00
David Peter 5924ac3b63 Update CHANGELOG 2023-03-15 10:13:58 +01:00
David Peter ba30c9db4a Add CHANGELOG entry 2023-03-15 09:33:49 +01:00
David Peter 5b5daa0493 Improve hints for outlier warnings
Improve hints for outlier warnings if `--warmup` or `--prepare` are in
use already.

Closes #570
2022-11-20 21:19:27 +01:00
David Peter 3528e95b34 Update CHANGELOG 2022-10-29 15:04:01 +02:00
David Peter 790e1bfa2c Bump version to 1.15 2022-09-07 09:16:43 +02:00
David Peter dffbdc34d4 Add new (hidden) --min-benchmarking-time option 2022-09-07 09:13:53 +02:00
David Peter c4f7bbbd2b Merge branch '1' 2022-09-07 08:47:26 +02:00
David Peter dc7e0e0240 Add CHANGELOG entry 2022-09-07 08:46:35 +02:00
David Peter 37711d7035 Update CHANGELOG 2022-09-07 08:37:16 +02:00
David Peter b989a2afa6 Add new unreleased section 2022-05-17 22:57:20 +02:00
David Peter 623ce2d2d9 Bump version 2022-05-17 22:37:08 +02:00
David Peter 692469659b Add CHANGELOG entry for Emacs org-mode 2022-05-15 21:58:47 +02:00
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