Skip to content
Myr

Formatting

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent 93386dc · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:src/hyperfine/benchmark.rs+2 added-2 removed
3 unmodified lines
45use ansi_term::Colour::{Cyan, Green, Purple, White, Yellow};6use statistical::{mean, standard_deviation};78use hyperfine::internal::{get_progress_bar, max, min, HyperfineOptions, Second, Warnings,9 MIN_EXECUTION_TIME, CmdFailureAction};8use hyperfine::internal::{get_progress_bar, max, min, CmdFailureAction, HyperfineOptions, Second,9 Warnings, MIN_EXECUTION_TIME};10use hyperfine::format::{format_duration, format_duration_unit};1112/// Results from timing a single shell command13pub struct TimingResult {
224 unmodified lines
modified:src/main.rs+1 added-1 removed
11 unmodified lines
12use clap::{App, AppSettings, Arg};1314mod hyperfine;1516use hyperfine::internal::{HyperfineOptions, CmdFailureAction};16use hyperfine::internal::{CmdFailureAction, HyperfineOptions};17use hyperfine::benchmark::{mean_shell_spawning_time, run_benchmark};1819/// Print error message to stderr and terminate20pub fn error(message: &str) -> ! {
103 unmodified lines