llvm-project/libcxx/benchmarks
Louis Dionne 0f622bd281 [libc++] Don't manually override NDEBUG in the dylib build
LIBCXX_ENABLE_ASSERTIONS does not have any relationship to the `assert`
macro -- it only controls assertions that are internal to the library.
Playing around with `NDEBUG` only muddies the picture further than it
already is.

Also, remove a failing assertion in the benchmarks. That assertion had
never been exercised because we defined `NDEBUG` manually, and it was
failing since we introduced the ability to generate a benchmark vector
with the Quicksort adversary ordering (which is obviously not sorted).

This was split off of https://llvm.org/D121123.

Differential Revision: https://reviews.llvm.org/D121244
2022-03-09 10:05:38 -05:00
..
CMakeLists.txt [libc++] Fix modules and benchmarks CI builds when incomplete features are disabled 2022-02-08 15:15:07 -05:00
CartesianBenchmarks.h
ContainerBenchmarks.h
GenerateInput.h [libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks. 2022-01-17 14:31:33 -05:00
Utilities.h
VariantBenchmarks.h [libcxx/variant] Add a few benchmarks for `std::visit`. 2020-08-11 15:48:56 -07:00
algorithms.bench.cpp [libc++] Don't manually override NDEBUG in the dylib build 2022-03-09 10:05:38 -05:00
algorithms.partition_point.bench.cpp [libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks. 2022-01-17 14:31:33 -05:00
allocation.bench.cpp [libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks. 2022-01-17 14:31:33 -05:00
deque.bench.cpp [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
filesystem.bench.cpp [libc++] Fix benchmark failure 2022-01-24 12:05:09 -05:00
format.bench.cpp [libc++][format] Adds formatting benchmarks. 2021-11-28 13:12:53 +01:00
format_to.bench.cpp [libc++][format] Adds formatting benchmarks. 2021-11-28 13:12:53 +01:00
format_to_n.bench.cpp [libc++][format] Adds formatting benchmarks. 2021-11-28 13:12:53 +01:00
formatted_size.bench.cpp [libc++][format] Adds formatting benchmarks. 2021-11-28 13:12:53 +01:00
formatter_float.bench.cpp [libc++][format] Adds formatter floating-point. 2022-01-24 18:12:24 +01:00
function.bench.cpp
lit.cfg.py
lit.site.cfg.py.in
map.bench.cpp [libc++] Add a benchmark for std::map operations 2020-09-15 12:09:29 -04:00
ordered_set.bench.cpp
std_format_spec_string_unicode.bench.cpp [libc++][format] Implement Unicode support. 2021-10-02 11:57:40 +02:00
string.bench.cpp
stringstream.bench.cpp
to_chars.bench.cpp [libc++] Fixes std::to_chars for bases != 10. 2021-04-29 19:56:28 +02:00
unordered_set_operations.bench.cpp
util_smartptr.bench.cpp
variant_visit_1.bench.cpp [libcxx/variant] Add a few benchmarks for `std::visit`. 2020-08-11 15:48:56 -07:00
variant_visit_2.bench.cpp [libcxx/variant] Add a few benchmarks for `std::visit`. 2020-08-11 15:48:56 -07:00
variant_visit_3.bench.cpp [libcxx/variant] Add a few benchmarks for `std::visit`. 2020-08-11 15:48:56 -07:00
vector_operations.bench.cpp