mirror-llvm-project/libcxx/test/benchmarks
Louis Dionne dac66ca477
[libc++] Fix dangling reference in the associative container benchmarks (#213139)
Two insert benchmarks were registered with lambdas capturing insert_iter_iter_bench
by reference, unlike every other registration in this file, which captures by value.

RegisterBenchmark() stores the lambda by value and only invokes it from
RunSpecifiedBenchmarks(), which happens long after associative_container_benchmarks()
has returned, creating a dangling reference.
2026-07-31 13:21:21 -04:00
..
algorithms [libc++] Add benchmark for std::nth_element (#210112) 2026-07-27 12:21:45 -04:00
containers [libc++] Fix dangling reference in the associative container benchmarks (#213139) 2026-07-31 13:21:21 -04:00
format [libc++] Refactor std::print to allow for constant folding of the format part (#185459) 2026-04-30 11:31:24 +02:00
iterators [libc++] Remove benchmarks for ranges algorithms that have a std equivalent (#176138) 2026-01-19 16:04:32 +01:00
libcxxabi [libc++] Rename a few benchmarks to allow identifying what's being benchmarked from the name (#185747) 2026-03-11 08:15:02 -04:00
locale
memory [libc++] Make std::align an inline function (#167472) 2025-12-18 17:55:28 +08:00
numeric [libc++] Give proper names to a few benchmarks (#183333) 2026-03-02 16:10:57 -08:00
streams Reapply "[libc++] Optimize fstream::read" (#206453) 2026-07-02 10:48:23 +02:00
utility [libc++] std::cmp_less and other integer comparison functions could be improved (#151332) 2025-10-16 16:44:09 +08:00
adjacent_view_begin.bench.cpp [libc++] Remove some adjacent_view::begin() benchmarks (#210265) 2026-07-23 10:17:24 +02:00
atomic_wait_1_waiter_1_notifier.bench.cpp [libc++] Disable atomic_wait benchmarks outside of dry-run mode (#158631) 2025-09-19 10:54:18 -04:00
atomic_wait_helper.h
atomic_wait_multi_waiter_1_notifier.bench.cpp [libc++] Disable atomic_wait benchmarks outside of dry-run mode (#158631) 2025-09-19 10:54:18 -04:00
atomic_wait_N_waiter_N_notifier.bench.cpp [libc++] Disable atomic_wait benchmarks outside of dry-run mode (#158631) 2025-09-19 10:54:18 -04:00
atomic_wait_vs_mutex_lock.bench.cpp [libc++] Disable atomic_wait benchmarks outside of dry-run mode (#158631) 2025-09-19 10:54:18 -04:00
bitset.bench.cpp [libc++] Remove some low value benchmarks (#175178) 2026-01-12 14:09:54 -05:00
CartesianBenchmarks.h
CMakeLists.txt
exception_ptr.bench.cpp [libc++] Add benchmark for std::exception_ptr (#164278) 2025-10-27 15:32:12 +01:00
filesystem.bench.cpp [libc++] Rename a few benchmarks to allow identifying what's being benchmarked from the name (#185747) 2026-03-11 08:15:02 -04:00
function.bench.cpp
GenerateInput.h [libc++] Rewrite the std::pop_heap benchmark (#179911) 2026-02-11 12:47:33 +01:00
hash.bench.cpp
join_view.bench.cpp Update Google Benchmark to v1.9.5 (#198964) 2026-05-29 18:58:04 -04:00
monotonic_buffer.bench.cpp
random.bench.cpp [libc++] Add an ABI flag to optimize mersenne_twister_engine (#206423) 2026-07-05 19:40:43 +02:00
shared_mutex_vs_mutex.bench.cpp [libc++] Disable std::shared_mutex benchmarks outside of dry-run 2025-09-23 14:45:43 -04:00
spec.gen.py [libc++] Fix SPEC benchmarks not producing a .lnt result file (#207450) 2026-07-03 15:33:35 -04:00
stop_token.bench.cpp [libc++] Reduce the number of runs on the stop_token benchmarks (#179914) 2026-02-07 11:17:05 +01:00
stringstream.bench.cpp [libc++] Don't run multithreaded stringstream benchmarks (#158294) 2025-09-15 08:47:40 -04:00
system_error.bench.cpp
to_chars.bench.cpp [libc++] Remove some low value benchmarks (#175178) 2026-01-12 14:09:54 -05:00
utc_clock.bench.cpp
util_smartptr.bench.cpp
variant.bench.cpp [libc++] Refactor variant benchmarks (#174743) 2026-01-09 12:06:13 +01:00