Skip to content

fix(dom): implement rendered text setters - #257

Open
ldm0 wants to merge 1 commit into
mainfrom
wpt/rendered-text-setters
Open

fix(dom): implement rendered text setters#257
ldm0 wants to merge 1 commit into
mainfrom
wpt/rendered-text-setters

Conversation

@ldm0

@ldm0 ldm0 commented Aug 28, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Aug 28, 2026

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 39d474864b → HEAD f348afff83; benchmark order: head-first; workflow: success.

Session resilience

Metric Base HEAD
Attempted / planned 200 / 200 200 / 200
Direct observable pass 195 / 200 197 / 200
Failures / recovered 5 / 5 3 / 3
Recovery failures 0 0
Lifecycle order violations 0 0
Network order violations 0 0
Wall time 585.3 s 647.9 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 319.6 MiB 302.2 MiB -17.5 MiB
Periodic peak PSS 315.9 MiB 298.9 MiB -17.0 MiB
RSS · first 10 avg 232.7 MiB 220.4 MiB -12.3 MiB
RSS · last 10 avg 239.8 MiB 236.8 MiB -3.0 MiB
RSS · last − first window +7.1 MiB +16.4 MiB +9.3 MiB
RSS · warm slope / 100 nav +10.2 MiB +12.4 MiB +2.2 MiB
PSS · first 10 avg 229.3 MiB 217.1 MiB -12.3 MiB
PSS · last 10 avg 236.2 MiB 233.5 MiB -2.8 MiB
PSS · last − first window +6.9 MiB +16.4 MiB +9.5 MiB
PSS · warm slope / 100 nav +10.1 MiB +12.2 MiB +2.1 MiB
Peak file descriptors 58 58 0
Peak threads 29 29 0

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 222.0 MiB 201.2 MiB 296.9 MiB 218.7 MiB 197.8 MiB 48
51–100 224.1 MiB 201.6 MiB 277.5 MiB 220.8 MiB 198.4 MiB 48
101–150 233.5 MiB 207.4 MiB 288.9 MiB 230.3 MiB 203.8 MiB 47
151–200 239.2 MiB 213.4 MiB 287.6 MiB 235.6 MiB 210.1 MiB 47

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.

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown

Spider Bench A/B

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

Public HEAD: 189 / 240 rows; 39 / 48 sites produced rows; 9 unexpected empty sites.

✅ Deterministic fixture contract is clean.

Common ancestor 39d474864b39 → HEAD f348afff83f9; benchmark order: head-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 189 / 240 189 / 240 0 (0.00%)
Contract fill 78.75% 78.75% 0.00 pp (0.00%)
Sites with rows 39 / 48 39 / 48 0 (0.00%)
Sites meeting row contract 37 / 48 37 / 48 0 (0.00%)
Unexpected empty sites 9 9 0 (0.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 38; HTTP error + rows: 1; empty: 6; HTTP error + empty: 1; snapshot error + empty: 2 extracted: 37; HTTP error + rows: 2; empty: 6; HTTP error + empty: 1; snapshot error + empty: 2
Observed duration 38.12 s 46.48 s +8.36 s (+21.93%)
Estimated CPU 33.10 s 34.13 s +1.02 s (+3.09%)
Peak PSS 270.70 MiB 283.75 MiB +13.05 MiB (+4.82%)
Peak RSS 273.97 MiB 287.02 MiB +13.05 MiB (+4.77%)
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 32 / 40 0
games 37 / 40 37 / 40 0
life 30 / 40 30 / 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.036, 2.037, 3.038, 4.038, 4.539, 5.04, 5.54, 6.04, 6.54, 7.542, 8.542, 9.544, 10.546, 12.048, 13.048, 14.048, 15.048, 16.05, 17.05, 18.05, 19.553, 20.554, 21.556, 22.558, 23.56, 24.56, 25.562, 26.562, 28.064, 29.066, 30.067, 31.069, 32.071, 33.073, 34.075, 35.577, 36.579, 37.58]
    y-axis "CPU percent" 0 --> 200
    line [55.95, 109.95, 100, 159.9, 119.8, 151.72, 120.04, 120.05, 97.9, 113.78, 93.87, 133.71, 89.83, 67.93, 67.95, 4, 43.98, 63.94, 111.91, 117.86, 127.78, 135.99, 35.96, 103.8, 125.76, 10.01, 37.99, 97.95, 13.96, 127.76, 75.86, 17.97, 2, 2, 109.86, 55.97, 95.95, 123.84]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.036, 1.036, 2.037, 3.038, 4.038, 4.539, 5.04, 5.54, 6.04, 6.54, 7.542, 8.542, 9.544, 10.546, 12.048, 13.048, 14.048, 15.048, 16.05, 17.05, 18.05, 19.553, 20.554, 21.556, 22.558, 23.56, 24.56, 25.562, 26.562, 28.064, 29.066, 30.067, 31.069, 32.071, 33.073, 34.075, 35.577, 36.579, 37.58, 38.119]
    y-axis "Memory MiB" 0 --> 500
    line [22.11, 118.69, 146.86, 176.65, 237.83, 254.43, 246.25, 244.57, 228.53, 259.14, 236.88, 225.17, 240.42, 223.15, 227.65, 197.25, 189.91, 185.52, 218.44, 211.61, 224.01, 253.75, 215.89, 202.8, 257.89, 226.74, 174.82, 179.95, 196.64, 207.41, 273.97, 232.16, 201.52, 196.55, 198.59, 221.48, 184.95, 197.7, 244.74, 0]
    line [19.08, 115.41, 143.58, 173.36, 233.63, 251.08, 242.95, 241.28, 225.04, 255.85, 232.43, 221.88, 236.95, 219.86, 224.36, 193.96, 186.62, 182.23, 215.15, 208.32, 220.71, 250.46, 212.61, 199.34, 254.61, 223.45, 171.53, 176.65, 193.35, 204.12, 270.7, 228.86, 198.22, 193.25, 195.29, 218.21, 181.66, 194.41, 241.45, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.034, 1.535, 2.537, 4.039, 4.539, 5.04, 6.542, 8.044, 9.046, 10.548, 11.55, 13.052, 14.052, 15.554, 17.056, 18.058, 19.559, 20.561, 22.064, 23.566, 24.567, 26.07, 27.071, 28.573, 29.574, 31.075, 32.577, 33.578, 35.079, 36.081, 37.081, 37.582, 39.083, 40.084, 41.585, 42.587, 44.088, 45.089]
    y-axis "CPU percent" 0 --> 200
    line [21.99, 111.88, 125.74, 85.93, 155.8, 141.8, 125.88, 137.62, 91.87, 99.89, 131.61, 27.98, 0, 7.99, 1.99, 75.92, 51.98, 11.97, 67.81, 55.94, 95.85, 121.8, 113.8, 93.95, 131.84, 113.95, 33.94, 83.9, 15.98, 49.93, 123.92, 109.9, 22.01, 2, 53.94, 121.74, 29.97, 119.9]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.034, 1.034, 1.535, 2.537, 4.039, 4.539, 5.04, 6.542, 8.044, 9.046, 10.548, 11.55, 13.052, 14.052, 15.554, 17.056, 18.058, 19.559, 20.561, 22.064, 23.566, 24.567, 26.07, 27.071, 28.573, 29.574, 31.075, 32.577, 33.578, 35.079, 36.081, 37.081, 37.582, 39.083, 40.084, 41.585, 42.587, 44.088, 45.089, 46.477]
    y-axis "Memory MiB" 0 --> 500
    line [22.12, 115.28, 160.26, 171.98, 220.67, 239.37, 249.56, 229.29, 240.58, 220.64, 236.27, 248.21, 194.39, 183.09, 187.06, 183.93, 180.62, 183.1, 184.25, 220.76, 196.04, 203.04, 254.75, 252.7, 209.8, 223.46, 231.02, 202.88, 205.89, 211.05, 208.52, 287.02, 219.07, 199.02, 197.22, 215.19, 223.66, 193.95, 225.04, 0]
    line [19.14, 112.05, 157.02, 168.75, 217.44, 235.97, 246.19, 226.02, 237.31, 217.37, 233, 244.94, 191.13, 179.82, 183.8, 180.66, 176.3, 179.83, 180.98, 217.49, 192.77, 199.77, 252.08, 249.52, 206.53, 220.2, 227.68, 199.61, 202.64, 207.78, 205.25, 283.75, 215.8, 195.75, 193.95, 211.92, 220.39, 190.68, 221.77, 0]
Loading

Deterministic fixture · required contract

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 19.91 s 19.93 s +0.01 s (+0.07%)
Estimated CPU 0.43 s 0.42 s -0.01 s (-2.31%)
Peak PSS 85.40 MiB 86.61 MiB +1.21 MiB (+1.42%)
Peak RSS 88.69 MiB 89.77 MiB +1.09 MiB (+1.22%)
Peak threads 18 18 0 (0.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.

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.

@ldm0
ldm0 force-pushed the wpt/rendered-text-setters branch from adef64b to f348aff Compare August 28, 2026 11:56
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