Align output from multiple benchmarks better

It's easier to compare the results of running multiple benchmarks if
their outputs are aligned.
This commit is contained in:
Vadim Zeitlin
2025-05-12 00:30:31 +02:00
parent bb1012ff86
commit d387719e7d
+2 -2
View File
@@ -285,7 +285,7 @@ bool BenchApp::RunSingleBenchmark(Bench::Function* func)
if ( !func->Init() )
return false;
wxPrintf("Benchmarking %s: ", func->GetName());
wxPrintf("%-30s", wxString(func->GetName()) + ':');
fflush(stdout);
// We use the algorithm for iteratively computing the mean and the
@@ -357,7 +357,7 @@ bool BenchApp::RunSingleBenchmark(Bench::Function* func)
wxPrintf
(
"%ld runs, %.0fus avg, %.0f std dev (%.0f/%.0f min/max)\n",
"%12ld runs, %.0fus avg, %.0f std dev (%.0f/%.0f min/max)\n",
n, m, s, timeMin, timeMax
);
}