mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 09:23:00 +00:00
Formatting
This commit is contained in:
1 parent
93386dc808
commit
ae47586998
2 files changed
+3
-3
No files matched your search
@@ -5,8 +5,8 @@ use std::time::Instant;
|
|||||||
use ansi_term::Colour::{Cyan, Green, Purple, White, Yellow};
|
use ansi_term::Colour::{Cyan, Green, Purple, White, Yellow};
|
||||||
use statistical::{mean, standard_deviation};
|
use statistical::{mean, standard_deviation};
|
||||||
|
|
||||||
use hyperfine::internal::{get_progress_bar, max, min, HyperfineOptions, Second, Warnings,
|
use hyperfine::internal::{get_progress_bar, max, min, CmdFailureAction, HyperfineOptions, Second,
|
||||||
MIN_EXECUTION_TIME, CmdFailureAction};
|
Warnings, MIN_EXECUTION_TIME};
|
||||||
use hyperfine::format::{format_duration, format_duration_unit};
|
use hyperfine::format::{format_duration, format_duration_unit};
|
||||||
|
|
||||||
/// Results from timing a single shell command
|
/// Results from timing a single shell command
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ use clap::{App, AppSettings, Arg};
|
|||||||
|
|
||||||
mod hyperfine;
|
mod hyperfine;
|
||||||
|
|
||||||
use hyperfine::internal::{HyperfineOptions, CmdFailureAction};
|
use hyperfine::internal::{CmdFailureAction, HyperfineOptions};
|
||||||
use hyperfine::benchmark::{mean_shell_spawning_time, run_benchmark};
|
use hyperfine::benchmark::{mean_shell_spawning_time, run_benchmark};
|
||||||
|
|
||||||
/// Print error message to stderr and terminate
|
/// Print error message to stderr and terminate
|
||||||
|
|||||||
Reference in new issue
Block a user