[libcxx-commits] [libcxx] [libc++] Rename vector<bool> benchmarks for consistency with other vector benchmarks (PR #181178)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 13 00:58:50 PST 2026
================
@@ -21,7 +21,7 @@ static void BM_vector_bool_copy_ctor(benchmark::State& state) {
benchmark::DoNotOptimize(vec2);
}
}
-BENCHMARK(BM_vector_bool_copy_ctor)->Name("vector<bool>(const vector<bool>&)");
+BENCHMARK(BM_vector_bool_copy_ctor)->Name("std::vector<bool>::ctor(const&)");
----------------
philnik777 wrote:
I'd rather rename other benchmarks here. `::ctor` takes way longer for me to get, since it looks like a generic function at first. More generally, I'd rather have something more similar to the actual declaration here than making it a bit shorter.
https://github.com/llvm/llvm-project/pull/181178
More information about the libcxx-commits
mailing list