[libcxx-commits] [libcxx] [libc++] Give proper names to a few benchmarks (PR #183333)

Oliver Hunt via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 27 00:51:58 PST 2026


================
@@ -51,6 +51,6 @@ static void bm_gcd_complex(benchmark::State& state) {
     benchmark::DoNotOptimize(std::gcd(lhs, rhs));
   }
 }
-BENCHMARK(bm_gcd_complex);
+BENCHMARK(bm_gcd_complex)->Name("std::gcd() (adversary inputs)");
----------------
ojhunt wrote:

the nittiest of nits: adversarial?

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


More information about the libcxx-commits mailing list