add single benchmark
This commit is contained in:
parent
991c26844b
commit
5b1f063b21
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ static void BM_area_computation(benchmark::State& state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add benchmark
|
// add benchmark
|
||||||
BENCHMARK(BM_area_computation)->ArgsProduct({benchmark::CreateRange(1<<4,1<<18,4),{1<<20}})->Complexity(benchmark::oNLogN);
|
// BENCHMARK(BM_area_computation)->ArgsProduct({benchmark::CreateRange(1<<4,1<<18,4),{1<<20}})->Complexity(benchmark::oNLogN);
|
||||||
|
BENCHMARK(BM_area_computation)->Args({{1<<18, 1<<20}});
|
||||||
|
|
||||||
// run benchmark as main()
|
// run benchmark as main()
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
|
|
Loading…
Reference in a new issue