Add benchmark for std::set.
authorSamuel Benzaquen <sbenza@google.com>
Tue, 23 Oct 2018 14:49:27 +0000 (14:49 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Tue, 23 Oct 2018 14:49:27 +0000 (14:49 +0000)
commit37632992efde080a1c72fe9bfa95087c9cff5737
tree23bcf0f8184de70ab3443ea1b4bcf7b1f4d62b34
parentad76c682c7954ff06575cb9d7f19047a96b68f7c
Add benchmark for std::set.

Summary:
Benchmarks for construct, find, insert and iterate, with sequential
and random ordered inputs.

It also improves the cartesian product benchmark header to allow for
runtime values to be specified in the product.

Reviewers: EricWF

Subscribers: christof, ldionne, libcxx-commits

Differential Revision: https://reviews.llvm.org/D53523

llvm-svn: 345035
libcxx/benchmarks/CartesianBenchmarks.hpp
libcxx/benchmarks/ordered_set.bench.cpp [new file with mode: 0644]