Commit 253f1ee
committed
Query every benchmark point once instead of nine times
benchmarkPoint strides by 73 and 151 modulo 1152, and both strides are coprime
to 1152, so the sequence has period 1152: an index past that repeats a point
already queried. Iterating to 9999 asked the same 1152 questions nearly nine
times over.
That bought no coverage and cost enough interpreted work to reach the twenty
second test budget, so the test failed as a timeout on a loaded machine while
saying nothing about the polygon. One full period queries every point the helper
can produce, and both aggregate assertions compare totals which scale with the
iteration count, so they hold unchanged.1 parent 98b1140 commit 253f1ee
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
183 | 188 | | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
187 | | - | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
195 | 200 | | |
196 | 201 | | |
197 | 202 | | |
198 | | - | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
0 commit comments