[libcxx-commits] [libcxx] [libc++] Tiny optimizations for is_permutation (PR #129565)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 20 12:19:15 PDT 2025


ldionne wrote:

@imdj What is your `lit` invocation for running the benchmark? Are you enabling optimizations?

Per https://libcxx.llvm.org/TestingLibcxx.html#benchmarks:

```
libcxx/utils/libcxx-lit <build> libcxx/test/benchmarks/algorithms/nonmodifying/is_permutation.bench.cpp --show-all --param optimization=speed
```

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


More information about the libcxx-commits mailing list