[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 22:40:56 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 think there is a happy medium. Something like `std::map<std::string, int>::map(const map&)`, which still represents the actual declaration very accurately.
https://github.com/llvm/llvm-project/pull/181178
More information about the libcxx-commits
mailing list