[libcxx-commits] [libcxx] [libc++] Remove benchmarks for ranges algorithms that have a std equivalent (PR #176138)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 16 07:36:41 PST 2026
================
@@ -45,9 +45,6 @@ int main(int argc, char** argv) {
bm.operator()<std::vector<int>>("std::copy(vector<int>)", std_copy);
bm.operator()<std::deque<int>>("std::copy(deque<int>)", std_copy);
bm.operator()<std::list<int>>("std::copy(list<int>)", std_copy);
- bm.operator()<std::vector<int>>("rng::copy(vector<int>)", std::ranges::copy);
----------------
ldionne wrote:
In principle, we could also refactor the benchmarks to just call `std::copy` directly instead of using a lambda. Do you think that's worth doing?
https://github.com/llvm/llvm-project/pull/176138
More information about the libcxx-commits
mailing list