[libcxx-commits] [libcxx] [libcxx] Avoid hash key in __hash_table::find() if no buckets yet. (PR #126837)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 12 02:52:39 PST 2025


philnik777 wrote:

> First thanks for reviews.
> 
> > Could you provide some benchmarks for this change?
> 
> Sure, but I probably need some guides such as where to put the benchmark src and how to build/run it.

Benchmarks are in `libcxx/test/benchmarks`. If there are none for this you'll have to write your own. You can run benchmarks just like you run tests with lit, except that you want to pass `--param=optimize=speed --show-all` to optimize the benchmark and show the output.

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


More information about the libcxx-commits mailing list