Add more benchmarks for std::string.
authorSamuel Benzaquen <sbenza@google.com>
Tue, 30 Oct 2018 15:54:22 +0000 (15:54 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Tue, 30 Oct 2018 15:54:22 +0000 (15:54 +0000)
commit74583444e7309233eff1fb30511158041737e1c9
treee30cca1c686749c5678ba5315f521d208efd9128
parentc367ba1923335a90e760923dd8b93164ff9af22f
Add more benchmarks for std::string.

Summary:
Added benchmarks for Construct, Copy, Move, Destroy, Relationals and
Read. On the ones that matter, the benchmarks tests hot and cold data,
and opaque and transparent inputs.

Reviewers: EricWF

Subscribers: christof, ldionne, libcxx-commits

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

llvm-svn: 345611
libcxx/benchmarks/string.bench.cpp