[libc-commits] [libc] [libc] Improve Benchmark UI (PR #99796)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Sun Jul 21 03:48:05 PDT 2024
================
@@ -73,10 +74,16 @@ struct AtomicBenchmarkSums {
};
AtomicBenchmarkSums all_results;
+const char *header_format_string =
+ "Benchmark | Cycles | Min | Max | Iterations | Time "
+ "(ns) | Stddev | Threads |\n";
----------------
jhuber6 wrote:
We should do what the unit tests do and scale the time value to the most readable unit. I.e. `1000 ms` vs. `1000000000 ns`.
https://github.com/llvm/llvm-project/pull/99796
More information about the libc-commits
mailing list