[libc-commits] [libc] [libc][math] Improve performance test output (PR #134501)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Apr 15 11:02:29 PDT 2025


================
@@ -25,9 +25,9 @@ template <typename T> class SingleInputSingleOutputPerf {
 public:
   typedef T Func(T);
 
-  static void runPerfInRange(Func myFunc, Func otherFunc,
-                             StorageType startingBit, StorageType endingBit,
-                             size_t rounds, std::ofstream &log) {
+  static void runPerfInRange(Func FuncA, Func FuncB, StorageType startingBit,
----------------
michaelrj-google wrote:

it seems like the code in this file is the same as the code in the other, except for the `runner` lambda and the definition of `n`. Is it possible to combine them?

https://github.com/llvm/llvm-project/pull/134501


More information about the libc-commits mailing list