[libcxx-commits] [libcxx] [libc++] Reduce the number of runs on the ranges::min{, max} benchmarks (PR #179912)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 7 02:19:57 PST 2026


philnik777 wrote:

> These benchmarks are not actually benchmarking `std::min` and `std::max`, they are benchmarking the ranges versions. Can we refactor them to use the same style as other non-modifying algorithms and test the classic algorithm like we do elsewhere?

This is testing the range overload, which doesn't exist for the `std::` versions.

https://github.com/llvm/llvm-project/pull/179912


More information about the libcxx-commits mailing list