[libcxx-commits] [PATCH] D81770: 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...

MinJae Hwang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 12 15:58:50 PDT 2020


minjaehwang created this revision.
minjaehwang added a reviewer: EricWF.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

...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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81770

Files:
  libcxx/benchmarks/algorithms.bench.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81770.270532.patch
Type: text/x-patch
Size: 6603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200612/cb8863ed/attachment.bin>


More information about the libcxx-commits mailing list