mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-29 16:38:56 +00:00
Add new (hidden) --min-benchmarking-time option
This commit is contained in:
1 parent
77e1b5e72f
commit
dffbdc34d4
4 files changed
+24
-4
No files matched your search
+11
@@ -294,6 +294,17 @@ fn build_command() -> Command<'static> {
|
||||
.help("Give a meaningful name to a command. This can be specified multiple times \
|
||||
if several commands are benchmarked."),
|
||||
)
|
||||
// This option is hidden for now, as it is not yet clear yet if we want to 'stabilize' this,
|
||||
// see discussion in https://github.com/sharkdp/hyperfine/issues/527
|
||||
.arg(
|
||||
Arg::new("min-benchmarking-time")
|
||||
.long("min-benchmarking-time")
|
||||
.takes_value(true)
|
||||
.hide(true)
|
||||
.help("Set the minimum time (in seconds) to run benchmarks. Note that the number of \
|
||||
benchmark runs is additionally influenced by the `--min-runs`, `--max-runs`, and \
|
||||
`--runs` option.")
|
||||
)
|
||||
.arg(
|
||||
Arg::new("debug-mode")
|
||||
.long("debug-mode")
|
||||
|
||||
Reference in new issue
Block a user