Commit Graph
47 Commits
Author SHA1 Message Date
David Peter 7167df6951 Fix relative runtime ratios with an explicit reference 2026-10-05 14:20:04 +02:00
Filip Czaplicki bb834ca5aa Add colors to --help 2026-10-05 12:13:37 +02:00
David Peter 862625fb3d Merge pull request #951 from Likio3000/codex/reject-negative-parameter-steps
Reject negative parameter steps before expanding ranges
2026-10-05 11:32:10 +02:00
David Peter 84ff04f35d Support minutes, hours, and time unit aliases 2026-10-05 10:18:42 +02:00
David Peter 258af076cb Merge pull request #854 from Rohan5commit/docs/fix-arithmetic-wording
docs: fix arithmetic wording in help text
2026-10-05 09:46:30 +02:00
Eric Soler 31ae72b2b7 Reject negative parameter steps before expanding ranges 2026-10-03 16:23:02 +00:00
907de26344 Fix panic on --runs 0 (#923)
* fix: reject --runs/--max-runs 0, clamp --min-runs to 1

* Validate positive run counts with clap

---------

Co-authored-by: VXNCXNX <VXNCXNX@users.noreply.github.com>
Co-authored-by: David Peter <mail@david-peter.de>
2026-10-02 09:56:27 +00:00
David Peter ca28ebb9b7 Clean between runs in the make parameter-scan example (#939) 2026-10-02 11:48:06 +02:00
David Peter 1c925876a5 Use C++ compiler drivers in parameter-list examples (#936) 2026-10-02 11:46:04 +02:00
rohan436 926b89c770 docs: fix arithmetic wording in help text 2026-03-13 13:35:56 +08:00
David Peter b5a6860d96 Support list of exit codes in --ignore-failure 2025-11-18 09:19:27 +01:00
Niklas Dewally 2166c9f02e Add option to name reference command
Add --reference-name option to give a reference command a name.

This was discussed in the PR that added --reference, #744, but
was unfortunately never implemented.
2025-09-03 20:45:39 +02:00
David Peter 99d24b7a2e Multiple output policies 2024-11-11 22:24:25 +01:00
Jan-Eric Nitschke 9806ed7694 Added option to manually specify a reference to compare the results to. 2024-06-30 22:45:40 +02:00
Jack O'Connor e13d0cb144 Add --conclude option with tests
This implementation of --conclude is basically identical
to the existing implementation for --prepare. I have not
adapted any existing tests. All tests which test --conclude
functionality are new.

The --conclude commands will run in the same order in which
they are supplied on the cli in the same manner as --prepare
and there must either be one --conclude command, or else the
same number of --concludes as there are commands.
2024-02-02 17:46:23 +01:00
Albert Safin 4ffe96bda5 Specify clap::ValueHint for arguments 2024-01-16 20:22:03 +01:00
David Peter 4564977b7a Add support for microseconds, closes #684 2023-10-05 09:39:00 +02:00
David Peter ac617c8714 Add new --sort option
This adds a new `--sort` option to choose the way in which the results
in the speed comparison and the markup exports are ordered.

closes #614
closes #601
2023-06-03 21:34:36 +02:00
Ville Skyttä 178bdaa205 Spelling and grammar fixes 2023-05-18 16:31:44 +02:00
David Peter fbe9ca6669 Use max. term width, not term width 2023-03-21 21:03:34 +01:00
David Peter 2dfc919227 Help text wrapping 2023-03-15 10:13:58 +01:00
David Peter c44aa1d006 Fix clippy suggestions 2023-03-15 10:13:58 +01:00
David Peter 42e85f240c Fix merge conflicts 2023-03-15 09:33:49 +01:00
David Peter 5db7516dd9 Formatting of help text 2023-03-15 09:33:49 +01:00
Steve Nease d32b90ee5c Add the rest of the suggestions from code review 2023-03-15 09:33:49 +01:00
Steve Nease e38acdb683 Added --stdin-data argument
This argument accepts a path to a file. The data contained in the file will be passed to the command via stdin.

Closes sharkdp/hyperfine#541
2023-03-15 09:33:49 +01:00
Benjamin Rombaut fcaa6d32dc chore: run fmt 2022-11-19 15:13:30 +01:00
Benjamin Rombaut 17aca87df9 use wrap_help 2022-11-19 15:13:30 +01:00
Benjamin Rombaut 8d38ef3eaa update to clap 4 2022-11-19 15:13:30 +01:00
Benjamin Rombaut 27ec9e22d8 use set and settrue 2022-11-19 15:13:30 +01:00
Benjamin Rombaut 5fcb7166a9 add clap deprecation notices 2022-11-19 15:13:30 +01:00
David Peter dffbdc34d4 Add new (hidden) --min-benchmarking-time option 2022-09-07 09:13:53 +02:00
David Peter de0ace4c7d Add full stop after help messages 2022-07-01 13:57:42 +02:00
Engineer-of-Efficiency d08c393c40 Add spaces and shorten prompt 2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency 4357559a56 Remove single space character 2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency 2045e97b1d Correct default of the --time-unit option in help text 2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency a217f3f32a Remove possible ambiguity
Remove possible ambiguity concerning the --time-unit option.
2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency edb29f4e4e Make --time-unit help text more generic. 2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency 73f1e14390 Add hints to all export options 2022-07-01 13:57:01 +02:00
Engineer-of-Efficiency 30d2253351 Add hint to --time-unit 2022-07-01 13:57:01 +02:00
Tavian Barnes ecee9df575 Add --output=inherit as an alias for --show-output 2022-05-17 22:30:45 +02:00
Tavian Barnes dfd1046d63 Clarify --output's help text 2022-05-17 22:30:45 +02:00
Tavian Barnes 277807cb5a Implement --output={null,pipe,<FILE>}
Fixes #377.
2022-05-17 22:30:45 +02:00
Philipp Paulweber 2443383fc8 Export of Emacs org-mode table support
* added new command-line option '--export-orgmode <FILE>' to create
  Emacs org-mode table output by reusing markup result formatting
* based on the new MarkdownFormatter trait, see PR #490
2022-05-15 21:57:35 +02:00
David Peter 65932dd5ce Update warning text 2022-03-05 12:47:30 +01:00
David Peter 365ff2584d Switch to --shell=none/-N, do not change the default 2022-02-22 22:51:09 +01:00
David Peter f2f1dd9d40 Update dependencies 2022-02-22 14:04:07 +01:00