mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-12-04 22:00:58 +00:00
Consistent display name
This commit is contained in:
1 parent
eedec07812
commit
579b762790
8 files changed
+34
-40
No files matched your search
@@ -50,7 +50,7 @@ pub trait MarkupExporter {
|
||||
for entry in entries {
|
||||
let result = &entry.result;
|
||||
// prepare data row strings
|
||||
let cmd_str = result.command_with_unused_parameters().replace('|', "\\|");
|
||||
let cmd_str = result.display_name.replace('|', "\\|");
|
||||
let mean_str = result.mean_wall_clock_time().format_value(time_unit);
|
||||
let stddev_str = if let Some(stddev) = result.measurements.stddev() {
|
||||
format!(" ± {}", stddev.format_value(time_unit))
|
||||
|
||||
Reference in new issue
Block a user