Skip to content

fix(svg): expose detached SVGRect values - #426

Open
ldm0 wants to merge 1 commit into
mainfrom
fix/svg-create-rect
Open

fix(svg): expose detached SVGRect values#426
ldm0 wants to merge 1 commit into
mainfrom
fix/svg-create-rect

Conversation

@ldm0

@ldm0 ldm0 commented Sep 7, 2026

Copy link
Copy Markdown
Member

Implement SVGSVGElement.createSVGRect with the native SVGRect prototype, restricted float fields and receiver validation. Cover the interface and JSXGraph capability-detection contract with a Chromium-calibrated fixture.

@github-actions

github-actions Bot commented Sep 7, 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 0fb89bcd31 → HEAD 83850889e4; benchmark order: base-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 274.3 s 279.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 214.9 MiB 209.3 MiB -5.5 MiB
Periodic peak PSS 211.0 MiB 205.8 MiB -5.2 MiB
RSS · first 10 avg 145.9 MiB 164.9 MiB +19.0 MiB
RSS · last 10 avg 157.4 MiB 164.4 MiB +7.0 MiB
RSS · last − first window +11.5 MiB -0.5 MiB -11.9 MiB
RSS · warm slope / 100 nav -0.2 MiB +2.9 MiB +3.0 MiB
PSS · first 10 avg 142.2 MiB 161.5 MiB +19.3 MiB
PSS · last 10 avg 153.9 MiB 160.8 MiB +6.9 MiB
PSS · last − first window +11.7 MiB -0.7 MiB -12.4 MiB
PSS · warm slope / 100 nav -0.0 MiB +2.8 MiB +2.8 MiB
Peak file descriptors 60 59 -1
Peak threads 31 31 0

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 157.8 MiB 149.0 MiB 206.6 MiB 154.3 MiB 145.5 MiB 53
51–100 156.5 MiB 142.8 MiB 192.6 MiB 153.1 MiB 139.2 MiB 50
101–150 159.9 MiB 152.4 MiB 210.4 MiB 156.3 MiB 148.8 MiB 53
151–200 158.8 MiB 144.5 MiB 209.2 MiB 155.2 MiB 140.9 MiB 50

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 Sep 7, 2026

Copy link
Copy Markdown

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 0fb89bcd3130 → HEAD 83850889e466; benchmark order: base-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 184 / 240 184 / 240 0 (0.00%)
Contract fill 76.67% 76.67% 0.00 pp (0.00%)
Sites with rows 38 / 48 38 / 48 0 (0.00%)
Sites meeting row contract 36 / 48 36 / 48 0 (0.00%)
Unexpected empty sites 10 10 0 (0.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 36; HTTP error + rows: 2; empty: 7; HTTP error + empty: 1; snapshot error + empty: 2 extracted: 37; HTTP error + rows: 1; empty: 7; HTTP error + empty: 1; snapshot error + empty: 2
Observed duration 45.34 s 43.04 s -2.30 s (-5.08%)
Estimated CPU 43.74 s 45.57 s +1.83 s (+4.18%)
Peak PSS 209.65 MiB 189.42 MiB -20.22 MiB (-9.65%)
Peak RSS 213.20 MiB 192.59 MiB -20.61 MiB (-9.67%)
Peak threads 26 27 +1 (+3.85%)
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 27 / 40 27 / 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.038, 1.538, 2.539, 4.04, 5.04, 6.541, 7.542, 9.044, 10.046, 11.547, 12.549, 14.051, 15.054, 16.554, 17.556, 19.058, 20.058, 21.561, 23.061, 24.063, 25.563, 26.564, 28.066, 29.066, 30.569, 31.572, 33.073, 34.074, 35.075, 35.576, 36.577, 38.08, 38.583, 39.083, 40.585, 41.588, 43.091, 44.093]
    y-axis "CPU percent" 0 --> 500
    line [35.92, 127.87, 121.88, 125.79, 28.01, 129.92, 179.62, 89.96, 209.79, 57.88, 111.79, 113.92, 25.93, 127.97, 55.89, 14, 43.98, 37.97, 105.93, 111.93, 122.02, 137.81, 131.67, 117.89, 25.95, 77.83, 9.98, 63.91, 111.86, 131.78, 77.95, 13.95, 0, 39.99, 129.91, 135.82, 85.75, 109.71]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.037, 1.038, 1.538, 2.539, 4.04, 5.04, 6.541, 7.542, 9.044, 10.046, 11.547, 12.549, 14.051, 15.054, 16.554, 17.556, 19.058, 20.058, 21.561, 23.061, 24.063, 25.563, 26.564, 28.066, 29.066, 30.569, 31.572, 33.073, 34.074, 35.075, 35.576, 36.577, 38.08, 38.583, 39.083, 40.585, 41.588, 43.091, 44.093, 45.337]
    y-axis "Memory MiB" 0 --> 500
    line [12.25, 86.29, 105.59, 112.83, 134.63, 153.4, 172.11, 157.68, 182.4, 166.34, 165.72, 178.57, 172.31, 155.35, 145.1, 153.55, 148.1, 140.24, 142.9, 156.9, 177.05, 194.41, 160.93, 175.1, 154.27, 146.46, 143.87, 148.72, 152.81, 213.2, 170.03, 178.69, 152.51, 152.51, 155.94, 178.66, 168.96, 163.04, 168.01, 0]
    line [9.16, 82.9, 102.18, 108.94, 131.22, 149.99, 168.95, 154.25, 179.03, 162.91, 162.07, 175.13, 168.86, 151.91, 141.66, 150.09, 144.65, 136.79, 139.45, 153.49, 173.66, 190.96, 157.48, 171.63, 150.8, 142.99, 140.5, 145.26, 149.31, 209.65, 166.4, 175, 148.79, 148.79, 153.44, 174.94, 165.38, 159.44, 164.44, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.035, 2.037, 2.537, 3.537, 5.04, 5.54, 6.042, 7.043, 8.544, 9.544, 11.046, 12.048, 13.051, 14.551, 15.552, 16.553, 18.055, 19.055, 20.557, 21.559, 22.56, 24.063, 25.064, 26.567, 27.568, 28.569, 30.07, 31.073, 32.575, 33.575, 34.576, 36.077, 36.579, 37.079, 38.08, 39.583, 40.584, 42.086]
    y-axis "CPU percent" 0 --> 500
    line [67.85, 121.88, 116.02, 140.01, 165.61, 279.72, 195.48, 167.89, 125.89, 192.04, 65.89, 65.9, 135.68, 131.92, 111.85, 126.11, 13.96, 46.01, 105.94, 135.71, 147.92, 99.72, 133.81, 129.77, 145.82, 145.84, 41.91, 75.82, 19.99, 109.97, 101.9, 5.99, 1.99, 11.99, 103.8, 181.49, 23.96, 123.87]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.034, 1.035, 2.037, 2.537, 3.537, 5.04, 5.54, 6.042, 7.043, 8.544, 9.544, 11.046, 12.048, 13.051, 14.551, 15.552, 16.553, 18.055, 19.055, 20.557, 21.559, 22.56, 24.063, 25.064, 26.567, 27.568, 28.569, 30.07, 31.073, 32.575, 33.575, 34.576, 36.077, 36.579, 37.079, 38.08, 39.583, 40.584, 42.086, 43.035]
    y-axis "Memory MiB" 0 --> 500
    line [12.24, 90.65, 107.58, 127.83, 143.77, 168.85, 161.1, 166.98, 166.29, 156.81, 192.59, 162.61, 177.1, 170.06, 166.29, 155.71, 145.53, 147.02, 141.55, 180.25, 160.71, 159.83, 185.26, 167.69, 168.24, 182.15, 155.11, 145.56, 146.5, 149.67, 185.67, 168.95, 163.34, 155.98, 156.06, 179.32, 175.21, 161.02, 184, 0]
    line [9.22, 87.31, 104.13, 124.5, 140.43, 165.51, 157.76, 163.78, 162.8, 153.41, 189.42, 159.2, 173.69, 166.97, 162.82, 152.23, 142.13, 143.62, 136.59, 176.86, 157.37, 156, 181.87, 164.35, 164.65, 178.27, 151.73, 142.2, 143.15, 146.28, 181.55, 165.56, 159.94, 152.59, 152.67, 176.2, 170.46, 157.66, 180.64, 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.90 s 19.92 s +0.02 s (+0.09%)
Estimated CPU 0.42 s 0.45 s +0.03 s (+7.36%)
Peak PSS 57.74 MiB 57.88 MiB +0.15 MiB (+0.25%)
Peak RSS 60.93 MiB 61.29 MiB +0.36 MiB (+0.58%)
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.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

CI Regression Report

Source CI run · source state at render: in_progress · artifacts: 5/5

Check Status Signal
Release regression HEAD/base failures 0/0; raw binary +0.003274%
Frontend differential 1,020/1,020 cases matched; 0 issues
Agent episodes 8/8 Moli episodes passed; 0 failures
Runtime/CDP contracts 26 contract cases; 0 failures
CDP smoke 45/45 groups passed; 460 scenarios
Release regression — ✅ HEAD/base failures 0/0; raw binary +0.003274%

Package and image size

Metric Base HEAD Delta Delta %
Raw binary 149.13 MiB 149.13 MiB +5.00 KiB +0.003274%
Stripped binary 103.39 MiB 103.39 MiB +4.00 KiB +0.003778%
gzip binary 50.17 MiB 50.17 MiB +1.78 KiB +0.003460%
Rootfs 156.03 MiB 156.04 MiB +10.00 KiB +0.006259%
gzip rootfs 58.99 MiB 58.99 MiB +2.26 KiB +0.003739%

Startup latency and PSS

Case Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta
Serve ready 27.25 ms 27.12 ms −0.13 ms 3.89 MiB 3.23 MiB −672.50 KiB
CDP first page 52.48 ms 51.98 ms −0.49 ms 3.67 MiB 3.82 MiB +158.00 KiB
CDP warm page 14.35 ms 14.11 ms −0.24 ms 48.78 MiB 48.78 MiB 0 B
CLI about:blank 15.39 ms 14.26 ms −1.13 ms 2.63 MiB 3.58 MiB +970.00 KiB
CLI local JS 21.58 ms 17.78 ms −3.80 ms 3.99 MiB 3.00 MiB −1020.50 KiB

Concurrency matrix

Concurrency Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta HEAD failures Unstable B/H
1 16.73 ms 16.45 ms −0.28 ms 714.00 KiB 714.00 KiB 0 B 0 0/0
5 20.51 ms 19.15 ms −1.35 ms 13.85 MiB 15.16 MiB +1.31 MiB 0 0/0
10 20.01 ms 18.51 ms −1.50 ms 17.95 MiB 12.94 MiB −5.01 MiB 0 0/0
25 20.58 ms 19.19 ms −1.39 ms 21.88 MiB 27.17 MiB +5.29 MiB 0 0/0
100 20.16 ms 19.67 ms −0.50 ms 12.24 MiB 17.66 MiB +5.42 MiB 0 0/0
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues
Match DOM mismatch Diagnostic mismatch Moli error Reference error Infrastructure error Mismatched frames Duration
1,020 0 0 0 0 0 0 6m 22.88s
Agent episodes · Moli vs Chromium — ✅ 8/8 Moli episodes passed; 0 failures
Fast contract Episodes Passed Assertions Ready p50 Episode p50
Moli 8 8 47/47 3.09 ms 25.95 ms
Chromium 8 8 47/47 272.87 ms 77.23 ms
Operation p50 Chromium Moli Delta Delta %
navigate 39.63 ms 7.07 ms −32.56 ms −82.16%
observe 0.74 ms 0.76 ms +0.03 ms +3.51%
fill 3.20 ms 3.01 ms −0.19 ms −5.95%
click 4.35 ms 3.70 ms −0.65 ms −14.99%
Idle-resource episode Peak RSS Peak PSS Average CPU Peak CPU Peak processes Sampler
Moli 63.33 MiB 60.61 MiB 0.67% 10.01% 1
Chromium 1287.47 MiB 411.17 MiB 2.03% 90.11% 13 ⚠️ PSS partial
Runtime and CDP session contracts — ✅ 26 contract cases; 0 failures
Suite Cases Failures Median case p50 Median case p95 Median peak PSS p50
Synthetic fetch 13 0 17.28 ms 17.87 ms 735.00 KiB
Long-lived CDP session 13 0 19.45 ms 20.01 ms
CDP smoke — ✅ 45/45 groups passed; 460 scenarios

Workers: 4 · cumulative group time: 124.70 s · failed groups: 0

Slowest group Scenarios Duration Status
chromium-cdp 56 12.45 s
dom-input 26 10.37 s
multi-page 45 10.21 s
layout-screenshot 5 7.60 s
core 35 7.04 s

All artifact fields are parsed by the trusted default-branch renderer; missing or invalid inputs remain visible as unavailable.

Implement SVGSVGElement.createSVGRect with the native SVGRect prototype, restricted float fields and receiver validation. Cover the interface and JSXGraph capability-detection contract with a Chromium-calibrated fixture.
@ldm0
ldm0 force-pushed the fix/svg-create-rect branch from cd7afb6 to 8385088 Compare September 8, 2026 06:24
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