Commit 2ff306af by Dominic Hamon

Fix right-alignment of items/s

parent 3a01f832
...@@ -371,7 +371,9 @@ void ConsoleReporter::PrintRunData(const BenchmarkRunData& result) { ...@@ -371,7 +371,9 @@ void ConsoleReporter::PrintRunData(const BenchmarkRunData& result) {
(result.cpu_accumulated_time * 1e9) / (result.cpu_accumulated_time * 1e9) /
(static_cast<double>(result.iterations))); (static_cast<double>(result.iterations)));
ColorPrintf(COLOR_CYAN, "%10lld", result.iterations); ColorPrintf(COLOR_CYAN, "%10lld", result.iterations);
ColorPrintf(COLOR_DEFAULT, "%*s %s %s%s\n", 16, rate.c_str(), items.c_str(), ColorPrintf(COLOR_DEFAULT, "%*s %*s %s%s\n",
16, rate.c_str(),
18, items.c_str(),
result.report_label.c_str(), result.report_label.c_str(),
PrintMemoryUsage(result.max_heapbytes_used).c_str()); PrintMemoryUsage(result.max_heapbytes_used).c_str());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment