adjust benchmark tests

This commit is contained in:
Maximilian Keßler 2022-04-16 14:11:34 +02:00
parent 08cfa2ff8d
commit 715b578e87

View file

@ -18,7 +18,7 @@ static void BM_area_computation(benchmark::State& state) {
}
// add benchmark
BENCHMARK(BM_area_computation)->ArgsProduct({benchmark::CreateRange(1,1<<16,4),{1<<10, 1<<15, 1<<20}})->Complexity(benchmark::oNSquared);
BENCHMARK(BM_area_computation)->ArgsProduct({benchmark::CreateRange(1<<4,1<<22,4),{1<<20}})->Threads(4)->Complexity(benchmark::oNLogN);
// run benchmark as main()
BENCHMARK_MAIN();