mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-30 08:40:18 +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
+5
-3
@@ -1,4 +1,4 @@
|
||||
use std::num::{self, ParseIntError};
|
||||
use std::num::{self, ParseFloatError, ParseIntError};
|
||||
|
||||
use rust_decimal::Error as DecimalError;
|
||||
use thiserror::Error;
|
||||
@@ -43,8 +43,10 @@ pub enum OptionsError<'a> {
|
||||
TooManyCommandNames(usize),
|
||||
#[error("'--command-name' has been specified {0} times. It has to appear exactly once, or exactly {1} times (number of benchmarks)")]
|
||||
UnexpectedCommandNameCount(usize, usize),
|
||||
#[error("Could not read numeric argument to '--{0}': {1}")]
|
||||
NumericParsingError(&'a str, ParseIntError),
|
||||
#[error("Could not read numeric integer argument to '--{0}': {1}")]
|
||||
IntParsingError(&'a str, ParseIntError),
|
||||
#[error("Could not read numeric floating point argument to '--{0}': {1}")]
|
||||
FloatParsingError(&'a str, ParseFloatError),
|
||||
#[error("An empty command has been specified for the '--shell <command>' option")]
|
||||
EmptyShell,
|
||||
#[error("Failed to parse '--shell <command>' expression as command line: {0}")]
|
||||
|
||||
Reference in new issue
Block a user