Repository navigation
Commit 531d4aa
committed
bench(json): isolate replacer membership cost (#519)
Add a 16,384-key empty-object row that forces complete JSON.stringify PropertyList construction while excluding large-object shape creation, property lookup, and member serialization. Retain the existing total-pipeline row as a separate end-to-end signal.
The production ReleaseFast parent records a 173.4 ms invocation and checksum 16,404. The checksum covers output, replacer length, and boundary key lengths; semantic tests separately enforce getter/coercion and first-occurrence behavior.
Benchmark-only change: flips 0 test262 cases.1 parent 95ef010 commit 531d4aa
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
138 | 155 | | |
139 | 156 | | |
140 | 157 | | |
| |||
485 | 502 | | |
486 | 503 | | |
487 | 504 | | |
| 505 | + | |
488 | 506 | | |
489 | 507 | | |
490 | 508 | | |
| |||
0 commit comments