[libcxx-commits] [libcxx] [libc++] Rename a few benchmarks to allow identifying what's being benchmarked from the name (PR #185747)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 11 01:23:13 PDT 2026
================
@@ -27,17 +27,17 @@ void BM_adjacent_full(benchmark::State& state) {
}
}
-BENCHMARK(BM_adjacent_full<2>);
-BENCHMARK(BM_adjacent_full<3>);
-BENCHMARK(BM_adjacent_full<4>);
-BENCHMARK(BM_adjacent_full<5>);
-BENCHMARK(BM_adjacent_full<6>);
-BENCHMARK(BM_adjacent_full<7>);
-BENCHMARK(BM_adjacent_full<8>);
-BENCHMARK(BM_adjacent_full<9>);
-BENCHMARK(BM_adjacent_full<10>);
-BENCHMARK(BM_adjacent_full<100>);
-BENCHMARK(BM_adjacent_full<1000>);
+BENCHMARK(BM_adjacent_full<2>)->Name("rng::adjacent_view::begin() (full, size 2)");
----------------
philnik777 wrote:
```suggestion
BENCHMARK(BM_adjacent_full<2>)->Name("rng::adjacent_view::begin()/2 (full view)");
```
WDYT?
https://github.com/llvm/llvm-project/pull/185747
More information about the libcxx-commits
mailing list