llvm-project/libcxx/benchmarks
Louis Dionne c06a8f9caa [libc++] Include <__config_site> from <__config>
Prior to this patch, we would generate a fancy <__config> header by
concatenating <__config_site> and <__config>. This complexifies the
build system and also increases the difference between what's tested
and what's actually installed.

This patch removes that complexity and instead simply installs <__config_site>
alongside the libc++ headers. <__config_site> is then included by <__config>,
which is much simpler. Doing this also opens the door to having different
<__config_site> headers depending on the target, which was impossible before.

It does change the workflow for testing header-only changes to libc++.
Previously, we would run `lit` against the headers in libcxx/include.
After this patch, we run it against a fake installation root of the
headers (containing a proper <__config_site> header). This makes use
closer to testing what we actually install, which is good, however it
does mean that we have to update that root before testing header changes.
Thus, we now need to run `ninja check-cxx-deps` before running `lit` by
hand.

Differential Revision: https://reviews.llvm.org/D97572
2021-03-30 14:06:11 -07:00
..
CMakeLists.txt [libc++] Include <__config_site> from <__config> 2021-03-30 14:06:11 -07:00
CartesianBenchmarks.h [libc++][NFC] Remove excess trailing newlines from most files 2019-10-23 08:08:57 -07:00
ContainerBenchmarks.h libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
GenerateInput.h libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
Utilities.h libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
VariantBenchmarks.h [libcxx/variant] Add a few benchmarks for `std::visit`. 2020-08-11 15:48:56 -07:00
algorithms.bench.cpp Modifications to the algorithm sort benchmark 2020-07-06 18:30:02 -04:00
algorithms.partition_point.bench.cpp libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
allocation.bench.cpp Add benchmarks to test the cost of allocator 2019-08-02 21:13:38 +00:00
deque.bench.cpp libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
filesystem.bench.cpp libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
function.bench.cpp libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
lit.cfg.py Rename cxx-benchmark-unittests target and convert to LIT. 2018-11-14 20:38:46 +00:00
lit.site.cfg.py.in Rename cxx-benchmark-unittests target and convert to LIT. 2018-11-14 20:38:46 +00:00
map.bench.cpp [libc++] Add a benchmark for std::map operations 2020-09-15 12:09:29 -04:00
ordered_set.bench.cpp libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00
string.bench.cpp Add benchmarks for basic_string::erase 2020-02-19 17:09:25 -05:00
stringstream.bench.cpp
unordered_set_operations.bench.cpp [libcxx][NFC] Strip trailing whitespace, fix typo. 2019-10-23 11:49:43 -07:00
util_smartptr.bench.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
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 libcxx: Rename .hpp files in libcxx/benchmarks to .h 2019-08-21 01:59:12 +00:00