diff options
author | Mike Mulchrone <mtmulch0191@outlook.com> | 2023-06-07 06:27:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 12:27:25 +0200 |
commit | 28ce0ef583b1be03f5ec4fdd90b946590862c5d4 (patch) | |
tree | de03b9551983495499ff24008d9650f5ed445334 /cli/tools/bench.rs | |
parent | 42c10ecfdb5b48ef7cf1293ce8d2614d5fae9f33 (diff) |
fix(cli): formatting bench with colors (#19323)
Diffstat (limited to 'cli/tools/bench.rs')
-rw-r--r-- | cli/tools/bench.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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)) |