From 24be84e025a8d7a19a658444879a9dabf864daa5 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sun, 20 Feb 2022 13:23:54 +0100 Subject: [PATCH] Remove unused option --- src/options.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/options.rs b/src/options.rs index f5ab72a..069fb69 100644 --- a/src/options.rs +++ b/src/options.rs @@ -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, - - /// A list of custom command names that, if defined, - /// will be used instead of the command itself in - /// benchmark outputs. - pub names: Option>, } 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(),