Skip to content
Myr

Removed output for warnings

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

authored by knidarkness · committed by David Peter · parent 5bdfdbf · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hyperfine/benchmark.rs+1 added-1 removed
391 unmodified lines
392 } else if scores.iter().any(|&s| s > OUTLIER_THRESHOLD) {393 warnings.push(Warnings::OutliersDetected);394 }395396 if !warnings.is_empty() {396 if !warnings.is_empty() && options.output_style != OutputStyleOption::None {397 eprintln!(" ");398399 for warning in &warnings {400 eprintln!(" {}: {}", "Warning".yellow(), warning);
29 unmodified lines