Skip to content

Commit 0e1e919

Browse files
committed
fix: broken python fixture
1 parent 15c9796 commit 0e1e919

3 files changed

Lines changed: 33 additions & 32 deletions

File tree

DOCUMENTATION.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -193,49 +193,49 @@ Source: `bench/results/latest.json` (`stable` profile).
193193

194194
| Fixture | ours | lol-html | lexbor |
195195
|---|---:|---:|---:|
196-
| `rust-lang.html` | 1770.85 | 1480.08 | 339.95 |
197-
| `wiki-html.html` | 1542.73 | 1114.04 | 268.64 |
198-
| `mdn-html.html` | 2331.37 | 1739.89 | 383.23 |
199-
| `w3-html52.html` | 914.34 | 731.13 | 181.66 |
200-
| `hn.html` | 1249.74 | 861.87 | 223.08 |
201-
| `python-org.html` | 16404.87 | 4109.99 | 628.14 |
202-
| `kernel-org.html` | 1533.78 | 1278.22 | 290.87 |
203-
| `gnu-org.html` | 1895.83 | 1434.48 | 315.96 |
204-
| `ziglang-org.html` | 1512.65 | 1223.40 | 289.81 |
205-
| `ziglang-doc-master.html` | 1097.63 | 1034.07 | 226.99 |
206-
| `wikipedia-unicode-list.html` | 1282.56 | 1065.09 | 229.82 |
207-
| `whatwg-html-spec.html` | 1110.35 | 846.69 | 219.28 |
208-
| `synthetic-forms.html` | 1097.96 | 749.46 | 189.80 |
209-
| `synthetic-table-grid.html` | 830.76 | 685.58 | 167.28 |
210-
| `synthetic-list-nested.html` | 868.17 | 617.23 | 162.87 |
211-
| `synthetic-comments-doctype.html` | 1349.30 | 906.87 | 226.25 |
212-
| `synthetic-template-rich.html` | 730.64 | 456.96 | 143.74 |
213-
| `synthetic-whitespace-noise.html` | 1140.51 | 1018.82 | 181.45 |
214-
| `synthetic-news-feed.html` | 931.99 | 620.74 | 158.86 |
215-
| `synthetic-ecommerce.html` | 838.68 | 587.73 | 152.83 |
216-
| `synthetic-forum-thread.html` | 890.50 | 595.61 | 155.05 |
196+
| `rust-lang.html` | 1776.74 | 1414.69 | 339.72 |
197+
| `wiki-html.html` | 1444.00 | 1204.63 | 269.72 |
198+
| `mdn-html.html` | 2674.83 | 1843.82 | 407.58 |
199+
| `w3-html52.html` | 1022.94 | 625.82 | 197.90 |
200+
| `hn.html` | 1026.96 | 859.75 | 187.58 |
201+
| `python-org.html` | 1566.90 | 1271.55 | 239.03 |
202+
| `kernel-org.html` | 1513.60 | 1271.77 | 289.64 |
203+
| `gnu-org.html` | 1891.88 | 1116.18 | 273.89 |
204+
| `ziglang-org.html` | 1204.24 | 1150.31 | 231.72 |
205+
| `ziglang-doc-master.html` | 1023.89 | 1023.31 | 207.34 |
206+
| `wikipedia-unicode-list.html` | 1264.07 | 1056.25 | 219.03 |
207+
| `whatwg-html-spec.html` | 1113.04 | 833.01 | 225.13 |
208+
| `synthetic-forms.html` | 936.16 | 680.43 | 173.78 |
209+
| `synthetic-table-grid.html` | 811.26 | 620.73 | 169.49 |
210+
| `synthetic-list-nested.html` | 795.40 | 566.38 | 147.05 |
211+
| `synthetic-comments-doctype.html` | 1152.15 | 778.54 | 223.00 |
212+
| `synthetic-template-rich.html` | 668.66 | 415.97 | 123.23 |
213+
| `synthetic-whitespace-noise.html` | 1002.33 | 895.15 | 172.90 |
214+
| `synthetic-news-feed.html` | 826.34 | 558.76 | 146.02 |
215+
| `synthetic-ecommerce.html` | 792.52 | 533.54 | 142.63 |
216+
| `synthetic-forum-thread.html` | 925.93 | 609.20 | 146.80 |
217217

218218
#### Query Match Throughput (ours)
219219

220220
| Case | ours ops/s | ours ns/op |
221221
|---|---:|---:|
222-
| `attr-heavy-button` | 1167788.32 | 856.32 |
223-
| `attr-heavy-nav` | 1192117.45 | 838.84 |
222+
| `attr-heavy-button` | 1229788.68 | 813.15 |
223+
| `attr-heavy-nav` | 1200562.39 | 832.94 |
224224

225225
#### Cached Query Throughput (ours)
226226

227227
| Case | ours ops/s | ours ns/op |
228228
|---|---:|---:|
229-
| `attr-heavy-button` | 1400255.87 | 714.16 |
230-
| `attr-heavy-nav` | 1411693.80 | 708.37 |
229+
| `attr-heavy-button` | 1438363.33 | 695.23 |
230+
| `attr-heavy-nav` | 1462039.63 | 683.98 |
231231

232232
#### Query Parse Throughput (ours)
233233

234234
| Selector case | Ops/s | ns/op |
235235
|---|---:|---:|
236-
| `simple` | 17354241.72 | 57.62 |
237-
| `complex` | 5860233.40 | 170.64 |
238-
| `grouped` | 6855586.05 | 145.87 |
236+
| `simple` | 19027989.41 | 52.55 |
237+
| `complex` | 6118575.58 | 163.44 |
238+
| `grouped` | 7187707.80 | 139.13 |
239239

240240
For full per-parser, per-fixture tables and gate output:
241241
- `bench/results/latest.md`

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ Source: `bench/results/latest.json` (`stable` profile).
2323
### Parse Throughput (Average Across Fixtures)
2424

2525
```text
26-
ours │████████████████████│ 1967.87 MB/s (100.00%)
27-
lol-html │███████████░░░░░░░░░│ 1102.76 MB/s (56.04%)
28-
lexbor │██░░░░░░░░░░░░░░░░░░│ 244.55 MB/s (12.43%)
26+
ours │████████████████████│ 1211.13 MB/s (100.00%)
27+
lol-html │███████████████░░░░░│ 920.47 MB/s (76.00%)
28+
lexbor │████░░░░░░░░░░░░░░░░│ 215.87 MB/s (17.82%)
2929
```
3030

3131
### Conformance Snapshot
3232

3333
| Profile | nwmatcher | qwery_contextual | html5lib subset | WHATWG HTML parsing | WPT HTML parsing |
3434
|---|---:|---:|---:|---:|---:|
35-
| `strictest/fastest` | 20/20 (0 failed) | 54/54 (0 failed) | 516/600 (84 failed) | 412/500 (88 failed) | 412/500 (88 failed) |
35+
| `strictest/fastest` | 20/20 (0 failed) | 54/54 (0 failed) | 521/600 (79 failed) | 417/500 (83 failed) | 417/500 (83 failed) |
3636

3737
Source: `bench/results/external_suite_report.json`
3838
<!-- README_AUTO_SUMMARY:END -->

tools/scripts.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ fn setupFixtures(alloc: std.mem.Allocator, refresh: bool) !void {
222222
const argv = [_][]const u8{
223223
"curl",
224224
"-L",
225+
"--compressed",
225226
"--fail",
226227
"--retry",
227228
"2",

0 commit comments

Comments
 (0)