mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Remove unused option
This commit is contained in:
1 parent
136ab1b625
commit
24be84e025
1 file changed
+3
-9
+3
-9
@@ -156,25 +156,19 @@ pub struct Options {
|
||||
/// What to do with the output of the benchmarked command
|
||||
pub command_output_policy: CommandOutputPolicy,
|
||||
|
||||
/// Which time unit to use for CLI & Markdown output
|
||||
/// Which time unit to use when displaying resuls
|
||||
pub time_unit: Option<Unit>,
|
||||
|
||||
/// A list of custom command names that, if defined,
|
||||
/// will be used instead of the command itself in
|
||||
/// benchmark outputs.
|
||||
pub names: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
impl Default for Options {
|
||||
fn default() -> Options {
|
||||
Options {
|
||||
names: None,
|
||||
warmup_count: 0,
|
||||
run_bounds: RunBounds::default(),
|
||||
warmup_count: 0,
|
||||
min_benchmarking_time: 3.0,
|
||||
command_failure_action: CmdFailureAction::RaiseError,
|
||||
setup_command: None,
|
||||
preparation_command: None,
|
||||
setup_command: None,
|
||||
cleanup_command: None,
|
||||
output_style: OutputStyleOption::Full,
|
||||
shell: Shell::default(),
|
||||
|
||||
Reference in new issue
Block a user