1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9// UNSUPPORTED: c++03, c++11, c++14, c++17
10
11#include <string>
12#include <vector>
13
14#include "sequence_container_benchmarks.h"
15#include "benchmark/benchmark.h"
16
17int main(int argc, char** argv) {
18 support::sequence_container_benchmarks<std::vector<int>>("std::vector<int>");
19 support::sequence_container_benchmarks<std::vector<std::string>>("std::vector<std::string>");
20
21 benchmark::Initialize(&argc, argv);
22 benchmark::RunSpecifiedBenchmarks();
23 benchmark::Shutdown();
24 return 0;
25}
26

source code of libcxx/test/benchmarks/containers/sequence/vector.bench.cpp