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

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