diff options
author | MinJae Hwang <minjaehwang@google.com> | 2020-07-06 18:29:38 -0400 |
---|---|---|
committer | Martijn Vels <mvels@google.com> | 2020-07-06 18:30:02 -0400 |
commit | 8421364282646f5f398d76ffce13a37fe541f015 (patch) | |
tree | ac70fec16b7adb7b6b298f52e2f85a0b8b125a0f /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | 95a28df5c458cd751355fc84263762c330474254 (diff) | |
download | llvm-8421364282646f5f398d76ffce13a37fe541f015.zip llvm-8421364282646f5f398d76ffce13a37fe541f015.tar.gz llvm-8421364282646f5f398d76ffce13a37fe541f015.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions