Skip to content
Myr

Add min, max to output. They were missed

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

authored by Steve Pentland · committed by David Peter · parent 7c72777 · Browse files · 2 files+17 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

2 files+17 added−1 removed

  • other:+17 added−1 removed

2 files+17 added−1 removed

modified:src/hyperfine/export/mod.rs+15 added-1 removed
18 unmodified lines
19 /// Time spend in user space20 user: Second,21 /// Time spent in system space22 system: Second,23 /// Min time measured24 min: Second,25 /// Max time measured26 max: Second,27}2829impl ExportEntry {30 /// Create a new ExportEntry with the given values27 pub fn new(command: String, mean: f64, stddev: f64, user: f64, system: f64) -> Self {31 pub fn new(32 command: String,33 mean: Second,34 stddev: Second,35 user: Second,36 system: Second,37 min: Second,38 max: Second,39 ) -> Self {40 ExportEntry {41 command,42 mean,43 stddev,44 user,45 system,46 min,47 max,48 }49 }50}51
41 unmodified lines
modified:src/hyperfine/benchmark.rs+2 added
298 unmodified lines
299 t_mean,300 t_stddev,301 user_mean,302 system_mean,303 t_min,304 t_max,305 ))306}