Skip to content

Commit a4d1696

Browse files
committed
[libc++] Refactor the sequence container benchmarks
Rewrite the sequence container benchmarks to only rely on the actual operations specified in SequenceContainer requirements and add benchmarks for std::list, which is also considered a sequence container. One of the major goals of this refactoring is also to make these container benchmarks run faster so that they can be run more frequently. The existing benchmarks have the significant problem that they take so long to run that they must basically be run overnight. This patch reduces the size of inputs such that the rewritten benchmarks each take at most a minute to run. This patch doesn't touch the string benchmarks, which were not using the generic container benchmark functions previously.
1 parent 6a9279c commit a4d1696

File tree

8 files changed

+497
-445
lines changed

8 files changed

+497
-445
lines changed

libcxx/test/benchmarks/Utilities.h

Lines changed: 0 additions & 37 deletions
This file was deleted.

libcxx/test/benchmarks/containers/ContainerBenchmarks.h

Lines changed: 0 additions & 272 deletions
This file was deleted.

0 commit comments

Comments
 (0)