Skip to content

fix(wpt): misc wpt fixes - #217

Open
ldm0 wants to merge 125 commits into
mainfrom
wpt-misc-fix
Open

fix(wpt): misc wpt fixes#217
ldm0 wants to merge 125 commits into
mainfrom
wpt-misc-fix

Conversation

@ldm0

@ldm0 ldm0 commented Aug 25, 2026

Copy link
Copy Markdown
Member

No description provided.

ldm0 added 29 commits August 27, 2026 02:14
ldm0 added 27 commits August 27, 2026 02:15
@github-actions

Copy link
Copy Markdown

Spider Bench A/B

✅ All benchmark browser service runs completed; results are informational.

Public HEAD: 179 / 240 rows; 37 / 48 sites produced rows; 11 unexpected empty sites.

✅ Deterministic fixture diagnostic is clean.

Common ancestor b1a3d2465473 → HEAD cfec497de0f2; benchmark order: head-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 184 / 240 179 / 240 -5 (-2.72%)
Contract fill 76.67% 74.58% -2.09 pp (-2.73%)
Sites with rows 38 / 48 37 / 48 -1 (-2.63%)
Sites meeting row contract 36 / 48 35 / 48 -1 (-2.78%)
Unexpected empty sites 10 11 +1 (+10.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 37; HTTP error + rows: 1; empty: 6; HTTP error + empty: 1; snapshot error + empty: 3 extracted: 35; HTTP error + rows: 2; empty: 7; HTTP error + empty: 1; snapshot error + empty: 3
Observed duration 38.12 s 41.36 s +3.24 s (+8.50%)
Estimated CPU 35.29 s 35.94 s +0.65 s (+1.84%)
Peak PSS 281.57 MiB 264.84 MiB -16.72 MiB (-5.94%)
Peak RSS 284.31 MiB 267.24 MiB -17.07 MiB (-6.00%)
Peak threads 27 27 0 (0.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0
Category rows Base HEAD Δ
news 35 / 40 35 / 40 0
stocks 20 / 40 20 / 40 0
tech 35 / 40 35 / 40 0
sports 32 / 40 27 / 40 -5
games 37 / 40 37 / 40 0
life 25 / 40 25 / 40 0

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 timelines

These 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.

Base

xychart-beta
    title "Base CPU"
    x-axis "Elapsed seconds" [1.037, 2.038, 3.039, 4.04, 4.541, 5.044, 5.545, 6.045, 6.546, 7.548, 8.552, 9.555, 10.556, 12.058, 13.061, 14.062, 15.063, 16.065, 17.067, 18.071, 19.573, 20.574, 21.577, 22.578, 23.58, 24.58, 25.583, 26.584, 28.085, 29.087, 30.089, 31.089, 32.091, 33.092, 34.094, 35.597, 36.598, 37.599]
    y-axis "CPU percent" 0 --> 200
    line [57.94, 121.84, 97.94, 161.81, 129.75, 129.36, 155.76, 133.83, 97.86, 141.73, 55.69, 93.51, 129.95, 81.86, 105.87, 105.91, 45.86, 71.94, 51.71, 107.88, 119.8, 129.98, 113.81, 121.68, 61.92, 114.03, 115.64, 23.96, 87.88, 21.97, 63.88, 113.81, 113.76, 13.98, 0, 39.92, 115.93, 75.97]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.037, 1.037, 2.038, 3.039, 4.04, 4.541, 5.044, 5.545, 6.045, 6.546, 7.548, 8.552, 9.555, 10.556, 12.058, 13.061, 14.062, 15.063, 16.065, 17.067, 18.071, 19.573, 20.574, 21.577, 22.578, 23.58, 24.58, 25.583, 26.584, 28.085, 29.087, 30.089, 31.089, 32.091, 33.092, 34.094, 35.597, 36.598, 37.599, 38.12]
    y-axis "Memory MiB" 0 --> 500
    line [20.58, 115.38, 163.85, 180.57, 213.37, 204.28, 234.35, 208.43, 222.44, 201, 228.25, 214.04, 239.17, 228.6, 210.11, 203.06, 200.68, 189.06, 224.5, 181.4, 195.84, 216.53, 231.93, 261.51, 221.11, 197.91, 234.35, 224.28, 207.26, 202.29, 209.29, 217.34, 284.31, 229.68, 197, 201.71, 196.82, 219.02, 216.75, 0]
    line [18.56, 112.96, 161.45, 178, 210.79, 201.71, 231.62, 205.79, 219.82, 198.38, 226.41, 211.45, 236.56, 225.99, 207.5, 200.44, 198.06, 186.5, 221.99, 178.85, 193.2, 213.87, 229.27, 258.85, 217.72, 195.26, 231.71, 221.83, 204.6, 198.89, 206.63, 214.71, 281.57, 227.02, 194.38, 199.08, 194.22, 216.41, 214.16, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.038, 2.039, 2.539, 3.04, 3.54, 4.542, 6.044, 7.046, 8.048, 9.049, 10.55, 11.551, 12.552, 13.554, 14.055, 15.055, 16.057, 17.559, 18.56, 19.561, 21.064, 22.065, 23.067, 24.069, 25.572, 26.574, 27.576, 29.078, 30.078, 31.078, 32.581, 33.581, 34.582, 35.582, 37.083, 38.085, 39.085, 40.584]
    y-axis "CPU percent" 0 --> 200
    line [53.93, 103.99, 137.87, 103.88, 79.89, 173.58, 123.73, 107.82, 79.87, 153.85, 83.98, 69.83, 121.85, 0, 3.99, 73.88, 55.91, 47.95, 81.9, 41.99, 135.68, 127.98, 119.75, 103.74, 55.88, 139.78, 131.59, 21.96, 84.01, 49.92, 65.99, 117.95, 62.01, 2, 0, 109.79, 92.02, 142.13]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.037, 1.038, 2.039, 2.539, 3.04, 3.54, 4.542, 6.044, 7.046, 8.048, 9.049, 10.55, 11.551, 12.552, 13.554, 14.055, 15.055, 16.057, 17.559, 18.56, 19.561, 21.064, 22.065, 23.067, 24.069, 25.572, 26.574, 27.576, 29.078, 30.078, 31.078, 32.581, 33.581, 34.582, 35.582, 37.083, 38.085, 39.085, 40.584, 41.361]
    y-axis "Memory MiB" 0 --> 500
    line [20.72, 117.19, 147.6, 175.76, 189.8, 181.68, 216.7, 223.89, 227.2, 257.39, 241.22, 231.55, 240.48, 211.26, 185.63, 184.28, 195.01, 198.54, 184.18, 215.45, 191.05, 209.77, 249.52, 246, 267.24, 207.03, 221.38, 224.21, 202.93, 203.95, 201.86, 209.25, 240.89, 229.18, 198.41, 192.48, 202.86, 206.32, 220.93, 0]
    line [18.7, 114.85, 145.26, 173.41, 187.45, 179.33, 214.36, 221.5, 224.88, 255.04, 238.87, 228.71, 238.12, 208.91, 183.28, 181.93, 192.66, 196.19, 182.1, 213.09, 188.67, 207.36, 247.11, 243.6, 264.84, 204.69, 218.97, 221.8, 200.53, 201.55, 199.46, 206.86, 238.5, 228.03, 196.01, 190.1, 200.48, 203.92, 218.56, 0]
Loading

Deterministic fixture · diagnostic

The fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 40 / 40 40 / 40 0 (0.00%)
Contract fill 100.00% 100.00% 0.00 pp (0.00%)
Sites with rows 8 / 15 8 / 15 0 (0.00%)
Sites meeting row contract 15 / 15 15 / 15 0 (0.00%)
Unexpected empty sites 0 0 0
Partial-row sites 0 0 0
Site outcomes extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4 extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4
Observed duration 20.09 s 20.11 s +0.02 s (+0.08%)
Estimated CPU 0.53 s 0.51 s -0.02 s (-3.93%)
Peak PSS 80.71 MiB 85.72 MiB +5.00 MiB (+6.20%)
Peak RSS 83.08 MiB 88.35 MiB +5.27 MiB (+6.34%)
Peak threads 20 18 -2 (-10.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0

Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full spider-bench-results artifact.

Spider Bench is informational: site failures, missing benchmark reports, failed browser service runs, fixture diagnostics, timing, and performance deltas do not fail the workflow. Build, runner, and artifact infrastructure errors can still fail it.

@github-actions

Copy link
Copy Markdown

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 Page.navigate commands per binary.

Common ancestor b1a3d24654 → HEAD cfec497de0; benchmark order: head-first; workflow: success.

Session resilience

Metric Base HEAD
Attempted / planned 200 / 200 200 / 200
Direct observable pass 200 / 200 200 / 200
Failures / recovered 0 / 0 0 / 0
Recovery failures 0 0
Lifecycle order violations 0 0
Network order violations 0 0
Wall time 253.0 s 256.6 s

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

Metric Base HEAD Δ
Boundary samples 200 200 0
Boundary RSS samples 200 200 0
Boundary PSS samples 200 200 0
Periodic peak RSS 287.9 MiB 290.3 MiB +2.4 MiB
Periodic peak PSS 285.9 MiB 288.1 MiB +2.3 MiB
RSS · first 10 avg 208.1 MiB 217.6 MiB +9.5 MiB
RSS · last 10 avg 215.6 MiB 226.8 MiB +11.2 MiB
RSS · last − first window +7.4 MiB +9.1 MiB +1.7 MiB
RSS · warm slope / 100 nav -0.3 MiB +6.5 MiB +6.8 MiB
PSS · first 10 avg 205.8 MiB 215.0 MiB +9.2 MiB
PSS · last 10 avg 213.2 MiB 224.5 MiB +11.3 MiB
PSS · last − first window +7.4 MiB +9.5 MiB +2.2 MiB
PSS · warm slope / 100 nav -0.5 MiB +6.6 MiB +7.0 MiB
Peak file descriptors 53 54 1
Peak threads 28 28 0

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 220.4 MiB 203.8 MiB 282.4 MiB 218.0 MiB 201.4 MiB 45
51–100 225.3 MiB 218.2 MiB 286.9 MiB 222.9 MiB 216.0 MiB 43
101–150 235.1 MiB 249.1 MiB 290.3 MiB 232.9 MiB 246.8 MiB 47
151–200 228.3 MiB 220.3 MiB 288.0 MiB 226.0 MiB 218.0 MiB 43

Raw reports and per-navigation boundary samples: workflow run and full sequential-navigation-soak-results artifact.

Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant