We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b0b6f commit abc7845Copy full SHA for abc7845
benchmarks/field/Field.cpp
@@ -48,9 +48,9 @@ static void BM_MulFields(benchmark::State &state) {
48
}
49
50
51
-BENCHMARK(BM_AddScalar)->Range(8, 8<<20)->Setup(DoSetup);
52
-BENCHMARK(BM_AddFields)->Range(8, 8<<20)->Setup(DoSetup);
53
-BENCHMARK(BM_MulScalar)->Range(8, 8<<20)->Setup(DoSetup);
54
-BENCHMARK(BM_MulFields)->Range(8, 8<<20)->Setup(DoSetup);
+BENCHMARK(BM_AddScalar)->ThreadRange(1, 8)->Range(8, 8<<20)->Setup(DoSetup);
+BENCHMARK(BM_AddFields)->ThreadRange(1, 8)->Range(8, 8<<20)->Setup(DoSetup);
+BENCHMARK(BM_MulScalar)->ThreadRange(1, 8)->Range(8, 8<<20)->Setup(DoSetup);
+BENCHMARK(BM_MulFields)->ThreadRange(1, 8)->Range(8, 8<<20)->Setup(DoSetup);
55
56
BENCHMARK_MAIN();
0 commit comments