From 28ce0ef583b1be03f5ec4fdd90b946590862c5d4 Mon Sep 17 00:00:00 2001 From: Mike Mulchrone Date: Wed, 7 Jun 2023 06:27:25 -0400 Subject: fix(cli): formatting bench with colors (#19323) --- cli/tools/bench.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tools') diff --git a/cli/tools/bench.rs b/cli/tools/bench.rs index 1a5df92bf..6461e544f 100644 --- a/cli/tools/bench.rs +++ b/cli/tools/bench.rs @@ -1147,13 +1147,13 @@ mod mitata { } else { if options.avg { s.push_str(&format!( - "{:>23}", + "{:>30}", format!("{}/iter", colors::yellow(fmt_duration(stats.avg))) )); } if options.min_max { s.push_str(&format!( - "{:>42}", + "{:>50}", format!( "({} … {})", colors::cyan(fmt_duration(stats.min)), @@ -1163,7 +1163,7 @@ mod mitata { } if options.percentiles { s.push_str(&format!( - " {:>18} {:>18} {:>18}", + " {:>22} {:>22} {:>22}", colors::magenta(fmt_duration(stats.p75)), colors::magenta(fmt_duration(stats.p99)), colors::magenta(fmt_duration(stats.p995)) -- cgit v1.2.3