[libc-commits] [libc] [libc][math] Improve performance test output (PR #134501)
via libc-commits
libc-commits at lists.llvm.org
Tue Apr 15 05:08:05 PDT 2025
overmighty wrote:
I would prefer function names to be printed like this personally:
```
Performance tests with inputs in denormal range:
-- Function A: LIBC_NAMESPACE::hypotf16 --
Total time : 2670736 ns
Average runtime : 2610.69 ns/op
Ops per second : 383040 op/s
-- Function B: LIBC_NAMESPACE::fputil::hypot<float16> --
Total time : 499614 ns
Average runtime : 488.381 ns/op
Ops per second : 2047580 op/s
-- Average ops per second ratio --
A / B : 0.18707
```
https://github.com/llvm/llvm-project/pull/134501
More information about the libc-commits
mailing list