adjust benchmark tests
This commit is contained in:
parent
08cfa2ff8d
commit
715b578e87
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ static void BM_area_computation(benchmark::State& state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add benchmark
|
// 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()
|
// run benchmark as main()
|
||||||
BENCHMARK_MAIN();
|
BENCHMARK_MAIN();
|
||||||
|
|
Loading…
Reference in a new issue