Repository navigation
Commit 20fd139
test(web): count parser calls under the piece budget instead of timing them
The 10,000-piece split took 1.26 s on CI against a 1 s bound. The budget
was working: each junk piece costs ~3.6 ms to parse and only the first
100 are parsed. Assert that, and keep a loose time bound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 3bbc354 commit 20fd139
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
0 commit comments