[libcxx-commits] [libcxx] [libc++] Rename vector<bool> benchmarks for consistency with other vector benchmarks (PR #181178)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 13 11:08:11 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&)");
----------------
ldionne wrote:
Are you saying that you want `std::vector<T>::vector<T>(vector<T> const&)` for example? And the same for `map` and other containers? So for example `std::map<std::string, int>::map<std::string, int>(map<std::string, int> const&)`? If so, I think this makes things way more verbose than necessary.
https://github.com/llvm/llvm-project/pull/181178
More information about the libcxx-commits
mailing list