mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Added option to manually specify a reference to compare the results to.
This commit is contained in:
1 parent
4a00f1821c
commit
9806ed7694
5 files changed
+78
-21
No files matched your search
@@ -56,7 +56,7 @@ pub trait MarkupExporter {
|
||||
let min_str = format_duration_value(measurement.min, Some(unit)).0;
|
||||
let max_str = format_duration_value(measurement.max, Some(unit)).0;
|
||||
let rel_str = format!("{:.2}", entry.relative_speed);
|
||||
let rel_stddev_str = if entry.is_fastest {
|
||||
let rel_stddev_str = if entry.is_reference {
|
||||
"".into()
|
||||
} else if let Some(stddev) = entry.relative_speed_stddev {
|
||||
format!(" ± {stddev:.2}")
|
||||
|
||||
Reference in new issue
Block a user