Commit 461db39
Run five interleaved bench rounds instead of three
At three rounds one cell (macos-latest / 3.14) flagged where() at 1.287x along
with the other large-array compute benchmarks, while the call-overhead-bound
benchmarks on that same cell -- compress2 of 8 KB buffers at 0.986x, SChunk
attribute access at 1.040x -- were clean. That is backwards: abi3 taxes the
Python/C boundary, so a cost has to appear on the call-heavy benchmarks before
it appears on 4M-element vectorized compute. The same where() benchmark came
in at 0.987x, 1.009x and 0.971x on the other three cells, and 0.969x locally.
So this is a noisy shared runner, not an ABI effect. Five rounds gives the
per-benchmark minimum a larger sample to draw an uncontaminated observation
from, which is the point of using min as the estimator.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 14b621e commit 461db39
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
108 | | - | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments