Repository navigation
Commit a3c3213
committed
test(html): benchmark a sparse inline-style document
The printer fixtures all run about 12 bytes per `<`, so their columns are
sized from markup either way and the sparse pre-size path is never exercised.
A 2 MiB critical-CSS `<style>` behind eleven delimiters is the shape the
markup probe exists for: 40.39 -> 3.38 ms and 7.667 -> 0 MiB per call under
`beautify`.1 parent 13b4c5d commit a3c3213
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
139 | 151 | | |
140 | 152 | | |
141 | 153 | | |
| |||
0 commit comments