Commit 6113cf1
committed
[libc++] Fix the batch sized used in the std::gcd benchmark
Since that benchmark is testing n*n inputs, the batch size reported
to GoogleBenchmark should be that amount. Otherwise, GoogleBenchmark
reports the timing for calling std::gcd on the whole sequence, which
is misleading.1 parent 254ba78 commit 6113cf1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments