#include #include using namespace std::literals; template void test(benchmark::State &state) { std::uniform_int_distribution distribution; Engine engine; for (auto _ : state) benchmark::DoNotOptimize(distribution(engine)); } BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK(test); BENCHMARK_MAIN();