1#include "benchmark/benchmark.h"
2
3#include "VariantBenchmarks.h"
4
5using namespace VariantBenchmarks;
6
7BENCHMARK_TEMPLATE(BM_Visit, 2, 1);
8BENCHMARK_TEMPLATE(BM_Visit, 2, 2);
9BENCHMARK_TEMPLATE(BM_Visit, 2, 3);
10BENCHMARK_TEMPLATE(BM_Visit, 2, 4);
11BENCHMARK_TEMPLATE(BM_Visit, 2, 5);
12BENCHMARK_TEMPLATE(BM_Visit, 2, 6);
13BENCHMARK_TEMPLATE(BM_Visit, 2, 7);
14BENCHMARK_TEMPLATE(BM_Visit, 2, 8);
15BENCHMARK_TEMPLATE(BM_Visit, 2, 9);
16BENCHMARK_TEMPLATE(BM_Visit, 2, 10);
17BENCHMARK_TEMPLATE(BM_Visit, 2, 20);
18BENCHMARK_TEMPLATE(BM_Visit, 2, 30);
19BENCHMARK_TEMPLATE(BM_Visit, 2, 40);
20BENCHMARK_TEMPLATE(BM_Visit, 2, 50);
21
22BENCHMARK_MAIN();
23

source code of libcxx/benchmarks/variant_visit_2.bench.cpp