Skip to content

Commit ade0203

Browse files
committed
Adjust terminal output.
Better alignment and more whitespace.
1 parent 99a1fec commit ade0203

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

collector/src/runtime/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn bench_runtime(
2424
let total_benchmark_count = suite.total_benchmark_count();
2525
let filtered = suite.filtered_benchmark_count(&filter);
2626
println!(
27-
"Executing {} benchmarks ({} filtered out)",
27+
"Executing {} benchmarks ({} filtered out)\n",
2828
filtered,
2929
total_benchmark_count - filtered
3030
);
@@ -120,7 +120,7 @@ fn print_stats(result: &BenchmarkResult) {
120120
.sqrt();
121121

122122
println!(
123-
"{name:>20}: {:>16} (+/- {:>8})",
123+
"{name:>18}: {:>16} (+/- {:>11})",
124124
(mean as u64).separate_with_commas(),
125125
(stddev as u64).separate_with_commas()
126126
);
@@ -136,4 +136,5 @@ fn print_stats(result: &BenchmarkResult) {
136136
});
137137
print_metric(result, "Branch misses", |m| m.branch_misses);
138138
print_metric(result, "Cache misses", |m| m.cache_misses);
139+
println!();
139140
}

0 commit comments

Comments
 (0)