Repository navigation
Commit 015c0d1
committed
fix(bench): ensure swap calibration uses odd repeat so commit check is not vacuous
When calibrate() returned an even repeat count for swap, the commit check
in timeClick accepted the original row order—which is also what a no-op
swap leaves—making the assertion meaningless. Force swap to an odd repeat
so the check always verifies the row moved to index 998.1 parent 0058938 commit 015c0d1
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
0 commit comments