Repository navigation
docs: organize benchmarks and add Web Fetch results - #1380
lanyue-llk wants to merge 15 commits into
Conversation
3128c50 to
d5ce037
Compare
CI Regression ReportSource CI run · source state at render:
Release regression — ✅ HEAD/base failures 0/0; raw binary 0.00%Package and image size
Startup latency and PSS
Concurrency matrix
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues
Agent episodes · Moli vs Chromium — ✅ 8/8 Moli episodes passed; 0 failures
Runtime and CDP session contracts — ✅ 26 contract cases; 0 failures
CDP smoke — ✅ 53/53 groups passed; 625 scenariosWorkers: 4 · cumulative group time: 156.96 s · failed groups: 0
WebMainBench · 545 pages — ✅ 545/545 completed; 0 unexpected failures
Frozen HTML · Linux · Diagnostics: All artifact fields are parsed by the trusted default-branch renderer; missing or invalid inputs remain visible as unavailable. |
1fa32d8 to
ac9afe6
Compare
Spider Bench A/B✅ All benchmark browser service runs completed; results are informational. Public HEAD: 184 / 240 rows; 38 / 48 sites produced rows; 10 unexpected empty sites. ✅ Deterministic fixture contract is clean. Common ancestor Public 48-site run · informational
Public-site content, timing, and memory are noisy. This single A/B run reports evidence only; site outcome counts explain missing rows without treating them as a deterministic regression. CPU and memory timelinesThese are bounded 40-point views of the same complete process-tree samples used by the HTML report. CPU uses 100% per occupied logical core; memory lines are RSS first and PSS second when complete PSS samples are available. Basexychart-beta
title "Base CPU"
x-axis "Elapsed seconds" [0.535, 1.036, 2.538, 3.539, 4.541, 5.042, 5.543, 6.043, 7.546, 8.547, 10.048, 11.05, 12.55, 13.55, 15.051, 16.052, 17.554, 18.554, 20.056, 21.058, 22.559, 23.56, 24.562, 26.064, 27.065, 28.568, 29.569, 31.071, 32.072, 33.575, 34.576, 36.077, 37.078, 38.58, 39.581, 41.081, 42.082, 43.583]
y-axis "CPU percent" 0 --> 200
line [4, 11.98, 129.59, 85.96, 131.85, 119.71, 133.88, 129.88, 137.64, 79.93, 133.97, 79.78, 80, 105.99, 33.96, 101.85, 85.77, 87.95, 101.9, 111.79, 135.91, 129.92, 91.83, 99.72, 77.95, 5.99, 87.93, 101.94, 77.96, 4, 67.96, 99.88, 99.89, 99.89, 117.88, 153.91, 76, 111.87]
xychart-beta
title "Base memory: RSS then PSS"
x-axis "Elapsed seconds" [0.035, 0.535, 1.036, 2.538, 3.539, 4.541, 5.042, 5.543, 6.043, 7.546, 8.547, 10.048, 11.05, 12.55, 13.55, 15.051, 16.052, 17.554, 18.554, 20.056, 21.058, 22.559, 23.56, 24.562, 26.064, 27.065, 28.568, 29.569, 31.071, 32.072, 33.575, 34.576, 36.077, 37.078, 38.58, 39.581, 41.081, 42.082, 43.583, 44.254]
y-axis "Memory MiB" 0 --> 500
line [12.96, 55.03, 68.63, 110.64, 111.19, 147.1, 156.57, 144.38, 138.19, 157.13, 130.66, 147.18, 139.34, 124.14, 141.26, 118.89, 142.49, 182.4, 154.97, 258.15, 173.72, 156.05, 150.15, 180.94, 131.78, 141.58, 144.54, 179.2, 231.15, 234.82, 130.54, 136.06, 171.91, 172.29, 172.3, 161.13, 142.79, 134.09, 177.52, 0]
line [9.61, 51.52, 65.12, 107.16, 107.65, 142.26, 152.81, 140.83, 134.64, 154.65, 127.01, 143.19, 135.76, 120.56, 137.68, 115.32, 139.31, 179, 151.63, 255.39, 170.18, 152.2, 146.78, 177.34, 128.31, 138.03, 141.47, 175.75, 227.62, 231.38, 126.96, 132.49, 168.33, 168.71, 168.72, 157.55, 139.22, 130.52, 173.95, 0]
HEADxychart-beta
title "HEAD CPU"
x-axis "Elapsed seconds" [1.035, 2.037, 2.538, 3.539, 4.04, 5.042, 6.043, 7.045, 8.545, 9.547, 11.047, 12.049, 13.049, 14.551, 15.553, 16.553, 18.056, 19.057, 20.558, 21.56, 22.062, 22.562, 24.064, 25.065, 26.567, 27.568, 28.57, 30.07, 31.071, 32.573, 33.575, 34.575, 36.078, 37.08, 38.08, 39.582, 40.582, 42.085]
y-axis "CPU percent" 0 --> 200
line [15.99, 101.88, 113.84, 2, 0, 103.86, 135.79, 145.64, 153.95, 127.89, 95.94, 115.93, 108.03, 99.83, 79.93, 25.99, 21.98, 121.81, 97.74, 115.74, 99.74, 109.89, 117.8, 135.76, 143.8, 107.88, 111.69, 80.02, 61.86, 127.94, 9.98, 0, 87.86, 5.99, 61.98, 121.91, 37.98, 135.82]
xychart-beta
title "HEAD memory: RSS then PSS"
x-axis "Elapsed seconds" [0.035, 1.035, 2.037, 2.538, 3.539, 4.04, 5.042, 6.043, 7.045, 8.545, 9.547, 11.047, 12.049, 13.049, 14.551, 15.553, 16.553, 18.056, 19.057, 20.558, 21.56, 22.062, 22.562, 24.064, 25.065, 26.567, 27.568, 28.57, 30.07, 31.071, 32.573, 33.575, 34.575, 36.078, 37.08, 38.08, 39.582, 40.582, 42.085, 42.701]
y-axis "Memory MiB" 0 --> 500
line [12.99, 74.63, 104.87, 100.38, 88.01, 88.01, 116.11, 157.68, 152.73, 139.51, 133.35, 155.89, 160.75, 135.85, 137.71, 148.38, 118.07, 126.9, 140.01, 128.24, 200.93, 262.36, 198.73, 192.64, 209.09, 150.24, 172.47, 142.82, 145.12, 149.54, 190.02, 192.09, 138.75, 148.65, 126.04, 140.35, 153.24, 140.48, 159.27, 0]
line [9.64, 71.2, 101.37, 96.84, 84.5, 84.5, 112.61, 155.31, 149.17, 135.96, 129.78, 152.34, 157.18, 132.28, 134.12, 145.16, 114.5, 123.32, 136.35, 124.53, 197.35, 259.91, 194.69, 188.97, 205.63, 146.59, 168.74, 139.1, 141.56, 145.83, 185.5, 188.37, 135.04, 144.93, 122.32, 136.64, 147.8, 136.77, 155.57, 0]
Deterministic fixture · required contractThe fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.
Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full The public-web A/B is informational. The exact HEAD fixture contract runs as a separate required CI check; timing and public-site content deltas remain non-blocking. |
Sequential Navigation Soak A/B✅ HEAD completed the 200-navigation resilience and memory observation. One browser process, one target, and one CDP session navigate CSDN → SegmentFault → Huaban → example.com repeatedly. This run issued 200 Common ancestor Session resilience
A public-page failure is reported separately from an unrecoverable session. The soak requires all navigation attempts, zero failed recovery, zero lifecycle/network ordering violations, and complete resource evidence. Process-tree memory
HEAD memory by 50-navigation quarter
Raw reports and per-navigation boundary samples: workflow run and full Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold. |
8a39036 to
1f99b9f
Compare
|
Closing as obsolete. This writes an earlier benchmark snapshot into the product README; the current report and evidence are owned by browser-eval and the historical numbers are no longer the publication source. |
1f99b9f to
0350e57
Compare
lanyue-llk
left a comment
There was a problem hiding this comment.
Round-3 re-review of the updated version (11235a286)
This docs-only PR adds a benchmark overview table and a historical WebMainBench 545-page similarity table to all seven READMEs. The new head (11235a28) adds one commit that removes the copied #1609 LexBench WebFetch section and overview row. The other 12 commits are unchanged per range-diff.
Verdict: approve. The blocking issue from round 2 is resolved. git merge-tree --write-tree against #1609 (04c718f8, re-fetched) is clean in both orders and gives the same tree (4f903feb). It is also clean against origin/main. Two minor points and two nits remain. None blocks the merge, but the heading point needs a small edit from whichever of #1380 / #1609 lands second.
| Previous finding | Status | Evidence |
|---|---|---|
| R2-1 [major] Stale copy of #1609's WebFetch hunk; 7-file conflict | FIXED | The hunk is gone from all seven editions. The PR diff contains no WebFetch table, scores or report link. Merges with #1609 are clean in both orders (same tree 4f903feb) and clean with origin/main. The PR body's merge claim is now accurate. |
| R2-2 [minor] "430 tasks across seven families" attributed to lexbench-webfetch | FIXED (moot) | The overview row was removed. That wording is now #1609's alone. |
| R2-3 [minor] "Web content extraction" heading collision | PARTIAL | Fixed in this PR's own tree, which no longer has that H3. The collision comes back in the merged #1380+#1609 tree in all 7 editions: the overview row "Web content extraction" (README.md:310) points to WebMainBench, the next H3 ### Web content extraction heads #1609's LexBench pass-rate table, and the overview has no WebFetch row. See new finding 2. |
| R2-4 [minor] "current capability envelope" lead-in | FIXED | Replaced in every edition with a neutral sentence (README.md:315). |
R2-5 [minor] Profile publication_state: pending / unreviewed |
PUSHBACK ACCEPTED | Per browser-eval's contract, the profile's publication_state records frozen pre-call state. evaluation/webmainbench-full/publication-target.json binds moli-content-fixed sha256 ee4c91da…, which matches the file at 345ea093 byte for byte, to published version ver_cdd1a931…. illustrations.json records 25 reviewed delivery failures (15 request + 10 empty). Correction: in round 2 we said the baseline current-report.json was verified. It is also pending (at 345ea093 and on current main), so that contrast was wrong. |
| R2-6 [nit] zh-CN/ja punctuation; double blank lines | FIXED | zh-CN:297 and ja:297 now end 。[…](…)。. No consecutive blank lines remain in any edition. git diff --check is clean. |
| R2-7 [nit] Docs PR stacked on native #1337 | Noted (user-requested) | Still based on codex/content-rendered-state. Not blocking. |
| R1/R2 [nit] Obscura overall 31.03 vs 31.02 from rounded columns; scoring of no-body pages unstated | PARTIAL | 31.03 matches the raw value in illustrations.json. The 0.01 gap comes from averaging rounded columns, so that part is resolved. The README still doesn't say how the 21 Kitesurf / 2 Obscura pages with no body enter the means. Optional. |
| R1 [major] "Web Fetch" heading | FIXED (round 2) | ### WebMainBench · extraction from 545 frozen pages. |
| R1 [major] Moli row = PR919 build | PUSHBACK ACCEPTED (round 2) | The historical development-build disclaimer, commit and profile are present in all 7 editions. |
R1 [minor] 721bd2e off main |
Accepted (round 2) | 721bd2e and 345ea093 both still resolve on GitHub. |
Re-verified: WebMainBench values are identical in all seven editions (only the decimal separator differs in de/es/fr) and match browser-eval illustrations.json (39.27/35.00/31.03/27.02/33.43). Moli's overall equals the mean of its five columns (196.36/5 = 39.27). Every link resolves: WebMainBench lex-main, the Lexbench resource card on main, moli .github/workflows/ci.yml on main, moli 721bd2e, browser-eval 345ea093 and the profile path. Section order and headings match across editions. No intra-repo anchor targets the renamed ## Benchmarks / ## 评测 heading. The PR has no WebFetch numbers left to check against lexbench-webfetch. CI: Format, Clippy, CDP smoke and the harness jobs pass; Nextest and the release builds are still queued. None of that is relevant to a docs-only change.
New findings (non-blocking)
- [minor] The overview omits the first sections it introduces (README.md:308-315; same in all editions). When this PR lands, the first section under the table is
### Mixed public-web crawl test(192 URLs, success rate, median time/RSS), followed by### Sample agent workload. Neither has an overview row. The lead-in "content extraction, browser automation and resource use" also leaves out the WPT/regression row the table lists. The table lists WebMainBench first, but its section comes last. Fix: add rows for the crawl test and the agent workload, or limit the sentence to what the table covers. Order the rows to match the sections, or move the WebMainBench section up. This is new: the crawl-test section returned to the PR's tree when the WebFetch replacement was dropped. - [minor] Semantic, not textual, conflict with #1609 (R2-3 recurring). The merged tree
4f903febhas an overview where "Web content extraction" = WebMainBench, directly followed by### Web content extraction= LexBench WebFetch task pass rate. The overview has no row for that 430-task section. This happens in all 7 editions (e.g. README.md:310 vs :317, zh-CN:236 vs :243, ko:300 vs :307). Fix: in this PR, rename the overview row to the frozen-page task (e.g. "Main-content extraction (frozen pages)"). Whichever PR lands second then adds a "Web fetch tasks" row pointing to #1609's section and aligns #1609's H3. State this in the PR body so the follow-up isn't lost. - [nit / hygiene] The commit history adds WebFetch content (
c3d568e2e), then reworks it and removes it again (11235a286); 13 commits for a +156/-12 docs change. Squash on merge.
Verdict: approve (posted as a comment; self-approval is not allowed).
Automated review by Claude Code.
11235a2 to
f650b32
Compare
lanyue-llk
left a comment
There was a problem hiding this comment.
Round-4 re-review of the updated version (f650b32d7)
Docs-only PR. It adds a public-test-suite overview and a historical WebMainBench 545-page similarity table to all seven READMEs. The new head f650b32d adds one commit, which scopes the overview to public test suites, orders its rows by section, drops the lead-in sentence and renames the WebMainBench row. Per range-diff, the other 13 commits are unchanged.
Verdict: approve. Both round-3 minors are resolved. git merge-tree --write-tree with #1609 (re-fetched, still 04c718f8) is clean in both orders and gives the same tree e7d79737. It is also clean against origin/main (45be4e35). git diff --check is clean, and no edition has double blank lines. What remains is two nits and one follow-up note for whichever PR lands second.
| Previous finding | Status | Evidence |
|---|---|---|
| R3-1 [minor] Overview doesn't cover the sections below it; row order differs from section order | FIXED / pushback accepted | The overview is now ### Public test suites. The lead-in sentence is gone. Rows run WPT, Lexbench automation, Lexbench resources, WebMainBench, which matches the section order (README.md:340, 345, 380; the same in all 7 editions). Leaving out the crawl sample and the agent startup example is reasonable, because neither has a linked public dataset. |
| R3-2 [minor] "Web content extraction" label clashes with #1609's H3 in the merged tree | FIXED | The row is now "Frozen-page extraction" (README.md:314), localized in every edition. In the merged tree e7d79737, the overview row and #1609's ### Web content extraction no longer share a name in any of the 7 editions. See follow-up note A. |
| R3-3 [nit] 13-commit add/rework/remove history | NOT FIXED (now 14) | Squash on merge. |
| R2-1 Stale copy of #1609 hunk | FIXED (round 3) | Still absent. Merges with #1609 are clean in both orders. |
| R2-2 430-task attribution | FIXED (moot, round 3) | — |
| R2-3 H3 collision | FIXED | Closed by R3-2. |
| R2-4 "current capability" | FIXED (round 3) | The sentence has now been removed. |
R2-5 publication_state: pending |
Pushback accepted (round 3) | — |
| R2-6 zh/ja punctuation, blank lines | FIXED (round 3) | Re-checked: still clean. |
| R2-7 Stacked on #1337 | Noted (user-requested) | The PR is still based on codex/content-rendered-state, and v4-1337 is an ancestor of the head. |
| R1/R2 [nit] Scoring of no-body pages unstated | PARTIAL (optional) | Unchanged. This commit touched only the overview. |
R1 majors (heading, Moli row) and R1 minor (721bd2e) |
FIXED / pushback accepted (earlier rounds) | — |
Re-verified: The PR body's claims hold: rows follow section order, the crawl and startup examples are retained, and the #1609 merges are clean in both orders with the same tree. All 7 editions have the same 4 rows in the same order with the same links. The WebMainBench values are unchanged from round 3. CI: Format, Clippy, CDP smoke, Windows storage and the Python/Node harness jobs pass. Nextest and the release builds are still queued, which doesn't matter for a docs-only change.
New findings (non-blocking)
- [nit] The localized row labels don't use the same term as the section headings. EN and FR match ("frozen pages" / "pages figées"). The other editions don't: DE row "gespeicherten Seiten" vs heading "eingefrorenen Seiten"; ES "guardadas" vs "congeladas"; JA "保存ページ" vs "スナップショット"; KO "저장 페이지" vs "고정된". ZH has a sharper version of the problem: the row says "冻结页正文提取", but the section says "545 页快照". Elsewhere in the zh README, "冻结" consistently means
FrozenLayoutTree(lines 176-230), so "冻结页" can read as a layout concept. Fix: use the heading's term in each row, e.g. zh "网页快照正文提取".
Follow-up note A (non-anchorable; for whichever of #1380/#1609 lands second). In the merged tree e7d79737, the first section under ### Public test suites is #1609's ### Web content extraction (LexBench WebFetch, 430 tasks drawn from the public lexbench-webfetch repo), and the overview has no row for it. That is the same coverage gap R3-1 fixed in this PR's own tree. This PR is right to leave #1609's content alone, but the second PR to land should add a row for it, e.g. "Web fetch tasks | lexbench-webfetch · 430 tasks | Task pass rate", placed first to keep section order. Nothing to change here.
Verdict: approve (posted as a comment; self-approval is not allowed).
Automated review by Claude Code.
f650b32 to
5e1ea52
Compare
5e1ea52 to
818ed3e
Compare
818ed3e to
0153c5d
Compare
|
Superseded by #1690. The final README changes were consolidated into one commit there, with WebFetch visible, WebMainBench collapsed, all seven editions aligned, and both review comments addressed. |
Why
The README contains measurements from different test sets and historical builds. The public-suite overview identifies the linked datasets and the meaning of each comparison.
Changes
721bd2eand the frozen measurement profile. The row does not claim to measure current main or a released binary. Reproduction uses browser-eval.The immutable profile records pre-call state. The separate publication binding records the published version. Manual diagnosis covered 25 delivery failures across the seven-method report; it was not a full independent review of all 3,815 quality results.
Validation
All seven editions have identical five-method values and provenance. Chinese/Japanese punctuation and paragraph spacing are corrected. Actual three-way merges against #1609 at
04c718f887fc7d21c04c5c27dbe1c5fa1ae9bd9asucceed in both orders and produce the same tree.Reproduction
The current stack has a verified browser-eval run and four minimal CLI examples: seven frozen pages, one call per page, with input/output hashes. Those checks exercise the fixes in #1334–#1337; the README numbers remain the historical measurement bound to
721bd2e.For the historical Moli row, use browser-eval at
345ea09370a633e871670fde2de4ec25b53a4d05, the profile-bound dataset (03bc6370…), scorer (f7cb97df…), source checkout (721bd2e…) and archived binary (fac987f5…). The profile contains the full hashes. The certified entry point rejects mismatched inputs before collecting results:Minimal documentation check: the Moli row in all seven editions
Run from the #1380 checkout; this check passed on
0153c5d6. It normalizes decimal separators and compares the six displayed metrics.Dependency
Based on #1337 in the native PR stack. Documentation only; no new browser measurements.
#1334 → #1335 → #1336 → #1337 → #1380