diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-05-14 14:52:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-14 14:52:17 -0400 |
commit | 8c435886aaee7619314edac9b142ef6fb2dd935f (patch) | |
tree | 3f4e834e3f982a2234eb4555f6bb7ba379c1450c /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | b434bc4e90c2b83156871e7b4e12f04447930b9c (diff) | |
download | llvm-8c435886aaee7619314edac9b142ef6fb2dd935f.zip llvm-8c435886aaee7619314edac9b142ef6fb2dd935f.tar.gz llvm-8c435886aaee7619314edac9b142ef6fb2dd935f.tar.bz2 |
[libc++] Refactor and add benchmark coverage for [alg.sort] (#128236)
This patch adds missing benchmark coverage for partial_sort,
partial_sort_copy, is_sorted and is_sorted_until.
It also refactors the existing benchmarks for sort and stable_sort to
follow the consistent style of the new algorithm benchmarks. However,
these benchmarks were notoriously slow to run since they tested multiple
data patterns on multiple data types. To try to alleviate this, I
reduced the benchmarks to only run on integral types and on a single
non-integral type, which should faithfully show how the algorithm
behaves for anything non-integral. However, this is technically a
reduction in coverage.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions