summaryrefslogtreecommitdiffstats
path: root/libcxx/benchmarks/vector_operations.bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/benchmarks/vector_operations.bench.cpp')
-rw-r--r--libcxx/benchmarks/vector_operations.bench.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcxx/benchmarks/vector_operations.bench.cpp b/libcxx/benchmarks/vector_operations.bench.cpp
index a2c4e5dbbc0..c41259eaac3 100644
--- a/libcxx/benchmarks/vector_operations.bench.cpp
+++ b/libcxx/benchmarks/vector_operations.bench.cpp
@@ -13,6 +13,14 @@ using namespace ContainerBenchmarks;
constexpr std::size_t TestNumInputs = 1024;
+BENCHMARK_CAPTURE(BM_ConstructSize,
+ vector_byte,
+ std::vector<unsigned char>{})->Arg(5140480);
+
+BENCHMARK_CAPTURE(BM_ConstructSizeValue,
+ vector_byte,
+ std::vector<unsigned char>{}, 0)->Arg(5140480);
+
BENCHMARK_CAPTURE(BM_ConstructIterIter,
vector_char,
std::vector<char>{},
OpenPOWER on IntegriCloud