New output module

This commit is contained in:
David Peter authored and David Peter committed 2022-02-06 20:19:50 +01:00
1 parent e5e4c8c020
commit 865290a144
8 files changed
+10 -9

No files matched your search

+3 -3
View File
@@ -8,16 +8,16 @@ use statistical::{mean, median, standard_deviation};
use crate::benchmark::result::BenchmarkResult;
use crate::command::Command;
use crate::format::{format_duration, format_duration_unit};
use crate::min_max::{max, min};
use crate::options::{CmdFailureAction, Options, OutputStyleOption, Shell};
use crate::outlier_detection::{modified_zscores, OUTLIER_THRESHOLD};
use crate::progress_bar::get_progress_bar;
use crate::output::format::{format_duration, format_duration_unit};
use crate::output::progress_bar::get_progress_bar;
use crate::output::warnings::Warnings;
use crate::shell::execute_and_time;
use crate::timer::wallclocktimer::WallClockTimer;
use crate::timer::{TimerStart, TimerStop};
use crate::units::Second;
use crate::warnings::Warnings;
use anyhow::{bail, Result};
+1 -1
View File
@@ -1,5 +1,5 @@
use crate::benchmark::result::BenchmarkResult;
use crate::format::format_duration_value;
use crate::output::format::format_duration_value;
use crate::relative_speed::{self, BenchmarkResultWithRelativeSpeed};
use crate::units::Unit;
+1 -1
View File
@@ -1,6 +1,6 @@
use super::Exporter;
use crate::benchmark::result::BenchmarkResult;
use crate::format::format_duration_value;
use crate::output::format::format_duration_value;
use crate::relative_speed::{self, BenchmarkResultWithRelativeSpeed};
use crate::units::Unit;
+1 -3
View File
@@ -7,19 +7,17 @@ pub mod benchmark;
pub mod command;
pub mod error;
pub mod export;
pub mod format;
pub mod min_max;
pub mod options;
pub mod outlier_detection;
pub mod output;
pub mod parameter_range;
pub mod progress_bar;
pub mod relative_speed;
pub mod shell;
pub mod timer;
pub mod tokenize;
pub mod types;
pub mod units;
pub mod warnings;
use app::get_arg_matches;
use benchmark::result::BenchmarkResult;
File renamed without changes.
+3
View File
@@ -0,0 +1,3 @@
pub mod format;
pub mod progress_bar;
pub mod warnings;
File renamed without changes.
+1 -1
View File
@@ -1,7 +1,7 @@
use std::fmt;
use crate::benchmark::MIN_EXECUTION_TIME;
use crate::format::format_duration;
use crate::output::format::format_duration;
use crate::units::Second;
/// A list of all possible warnings