hanchenye-llvm-project/libcxx/benchmarks
MinJae Hwang 8421364282 Modifications to the algorithm sort benchmark
Summary:
Modifies the algorithm sort bench:
- shows sorting time per element, instead of sorting time per array.
This would make comparison between different sizes of arrays easier.
- adds std::pair benchmark cases.
- uses a large number of arrays to benchmark, instead of repeatedly sorting the same array.
* sorting the same array again and again would not show actual sorting performance over randomized data sets.

Reviewers: EricWF, #libc, mvels

Reviewed By: EricWF, #libc, mvels

Subscribers: mgrang, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D81770
2020-07-06 18:30:02 -04:00
..
CMakeLists.txt [libc++] Always generate a __config_site header 2020-06-26 00:47:48 -04:00
CartesianBenchmarks.h
ContainerBenchmarks.h
GenerateInput.h
Utilities.h
algorithms.bench.cpp Modifications to the algorithm sort benchmark 2020-07-06 18:30:02 -04:00
algorithms.partition_point.bench.cpp
allocation.bench.cpp
deque.bench.cpp
filesystem.bench.cpp
function.bench.cpp
lit.cfg.py
lit.site.cfg.py.in
ordered_set.bench.cpp
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
vector_operations.bench.cpp