Skip to content

Resolve root font-relative units from root style - #116

Closed
ldm0 wants to merge 1 commit into
mainfrom
layout-root-font-relative-state
Closed

Resolve root font-relative units from root style#116
ldm0 wants to merge 1 commit into
mainfrom
layout-root-font-relative-state

Conversation

@ldm0

@ldm0 ldm0 commented Aug 18, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

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 diagnostic is clean.

Common ancestor 1e5fdc5c84d8 → HEAD eff44ce17886; 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: 6; HTTP error + empty: 1; snapshot error + empty: 3 extracted: 37; HTTP error + rows: 1; empty: 6; HTTP error + empty: 1; snapshot error + empty: 3
Observed duration 39.38 s 37.96 s -1.41 s (-3.59%)
Estimated CPU 31.75 s 32.79 s +1.04 s (+3.29%)
Peak PSS 357.21 MiB 347.58 MiB -9.63 MiB (-2.70%)
Peak RSS 359.27 MiB 349.52 MiB -9.75 MiB (-2.71%)
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 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.039, 3.041, 3.542, 4.542, 5.543, 6.545, 7.547, 9.048, 10.05, 11.051, 12.051, 12.551, 13.052, 14.554, 15.556, 16.556, 17.557, 18.559, 20.062, 21.063, 22.065, 23.065, 24.065, 25.065, 26.567, 27.569, 28.57, 29.571, 30.572, 31.574, 32.075, 33.075, 34.077, 35.078, 36.079, 37.581, 38.582]
    y-axis "CPU percent" 0 --> 200
    line [55.91, 111.81, 101.71, 89.89, 170, 133.73, 129.81, 153.74, 34, 71.87, 137.83, 46.02, 2, 3.99, 101.9, 55.92, 62.05, 97.93, 39.95, 77.8, 129.75, 125.81, 110.03, 116.03, 133.95, 67.92, 65.91, 7.99, 54.02, 127.92, 103.77, 99.75, 61.94, 5.99, 25.97, 29.96, 41.95, 113.88]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.036, 1.037, 2.039, 3.041, 3.542, 4.542, 5.543, 6.545, 7.547, 9.048, 10.05, 11.051, 12.051, 12.551, 13.052, 14.554, 15.556, 16.556, 17.557, 18.559, 20.062, 21.063, 22.065, 23.065, 24.065, 25.065, 26.567, 27.569, 28.57, 29.571, 30.572, 31.574, 32.075, 33.075, 34.077, 35.078, 36.079, 37.581, 38.582, 39.377]
    y-axis "Memory MiB" 0 --> 500
    line [23.06, 122.24, 150.08, 191.94, 192.46, 257.46, 273.11, 237.53, 257.1, 232.1, 244.44, 250.39, 222.57, 212.41, 167.2, 205.32, 190.43, 186.53, 226.63, 186.19, 206.21, 236, 257.88, 214.74, 223.23, 219.94, 210.54, 196.3, 195.15, 213.35, 341.41, 359.27, 231.45, 225.44, 206.95, 218.13, 210.5, 196.49, 242.84, 0]
    line [21.34, 120.21, 148.04, 189.91, 190.43, 255.57, 271.21, 235.48, 255.06, 230.29, 243.31, 251.42, 220.52, 210.35, 165.14, 203.26, 188.38, 183.86, 224.58, 184.14, 204.15, 234.07, 255.82, 212.68, 221.18, 216.93, 208.54, 194.24, 193.14, 211.3, 339.37, 357.21, 229.4, 223.39, 204.89, 216.07, 208.53, 194.34, 241.05, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.036, 2.037, 3.037, 4.038, 5.039, 5.539, 6.04, 6.54, 7.541, 8.543, 9.543, 10.544, 11.544, 12.544, 13.545, 15.046, 16.047, 17.048, 18.049, 19.05, 20.052, 21.053, 22.055, 23.056, 24.556, 25.557, 26.559, 27.56, 28.56, 29.561, 30.563, 31.063, 31.563, 32.564, 34.067, 35.069, 36.071, 37.072]
    y-axis "CPU percent" 0 --> 200
    line [57.92, 4, 92.03, 99.97, 175.82, 91.9, 43.93, 158.02, 125.81, 165.87, 112.02, 105.82, 108.01, 108, 71.92, 86.03, 15.98, 35.98, 77.92, 119.89, 157.78, 129.96, 131.76, 112.01, 112.05, 99.8, 69.89, 83.87, 14, 115.89, 113.83, 104.02, 113.97, 47.89, 0, 131.77, 57.93, 121.77]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.036, 1.036, 2.037, 3.037, 4.038, 5.039, 5.539, 6.04, 6.54, 7.541, 8.543, 9.543, 10.544, 11.544, 12.544, 13.545, 15.046, 16.047, 17.048, 18.049, 19.05, 20.052, 21.053, 22.055, 23.056, 24.556, 25.557, 26.559, 27.56, 28.56, 29.561, 30.563, 31.063, 31.563, 32.564, 34.067, 35.069, 36.071, 37.072, 37.965]
    y-axis "Memory MiB" 0 --> 500
    line [22.72, 119.45, 132.71, 146.87, 176.27, 228.52, 231.1, 252.01, 256.13, 234.13, 252.19, 244.13, 232.79, 218.34, 200.61, 200.79, 212.16, 190.12, 184.85, 220.68, 205.54, 213, 233.42, 265.83, 212.76, 242.85, 217.59, 209.61, 196.06, 204.26, 269.26, 335.63, 349.52, 235.01, 230.77, 222.46, 220.44, 222.34, 241.31, 0]
    line [21.1, 117.55, 130.8, 144.97, 174.36, 226.51, 229.19, 249.07, 253.51, 232.15, 250.2, 241.45, 230.79, 216.36, 198.62, 198.82, 210.17, 188.13, 182.86, 218.69, 203.6, 211.01, 231.87, 263.84, 210.77, 240.87, 215.61, 207.76, 194.07, 202.27, 267.27, 333.64, 347.58, 233.02, 228.78, 220.47, 218.45, 220.35, 239.32, 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 19.93 s 19.92 s -0.00 s (-0.02%)
Estimated CPU 0.46 s 0.47 s +0.01 s (+2.16%)
Peak PSS 86.87 MiB 86.91 MiB +0.04 MiB (+0.05%)
Peak RSS 89.04 MiB 89.10 MiB +0.06 MiB (+0.07%)
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.

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

github-actions Bot commented Aug 18, 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 3cbc3c2b49 → HEAD 03af9f1591; 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 270.4 s 267.2 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 252.7 MiB 267.6 MiB +14.8 MiB
Periodic peak PSS 250.3 MiB 264.9 MiB +14.7 MiB
RSS · first 10 avg 192.0 MiB 208.3 MiB +16.3 MiB
RSS · last 10 avg 182.7 MiB 229.1 MiB +46.4 MiB
RSS · last − first window -9.2 MiB +20.8 MiB +30.1 MiB
RSS · warm slope / 100 nav -15.2 MiB +5.8 MiB +21.0 MiB
PSS · first 10 avg 189.2 MiB 205.5 MiB +16.3 MiB
PSS · last 10 avg 181.2 MiB 226.5 MiB +45.3 MiB
PSS · last − first window -8.0 MiB +20.9 MiB +29.0 MiB
PSS · warm slope / 100 nav -14.8 MiB +5.8 MiB +20.6 MiB
Peak file descriptors 54 53 -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 217.4 MiB 197.9 MiB 256.9 MiB 214.6 MiB 195.1 MiB 47
51–100 222.2 MiB 207.3 MiB 260.5 MiB 219.7 MiB 204.9 MiB 43
101–150 225.3 MiB 205.0 MiB 262.0 MiB 222.8 MiB 202.3 MiB 43
151–200 228.0 MiB 218.6 MiB 267.8 MiB 225.4 MiB 216.0 MiB 42

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.

@ldm0
ldm0 force-pushed the layout-root-font-relative-state branch from eff44ce to 720c5d6 Compare August 25, 2026 14:23
@ldm0
ldm0 force-pushed the layout-root-font-relative-state branch from 720c5d6 to 03af9f1 Compare August 25, 2026 15:24
@github-actions

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 diagnostic is clean.

Common ancestor 3cbc3c2b495a → HEAD 03af9f15919d; benchmark order: head-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 179 / 240 184 / 240 +5 (+2.79%)
Contract fill 74.58% 76.67% +2.09 pp (+2.80%)
Sites with rows 37 / 48 38 / 48 +1 (+2.70%)
Sites meeting row contract 35 / 48 36 / 48 +1 (+2.86%)
Unexpected empty sites 11 10 -1 (-9.09%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 36; HTTP error + rows: 1; empty: 7; HTTP error + empty: 1; snapshot error + empty: 3 extracted: 36; HTTP error + rows: 2; empty: 7; HTTP error + empty: 1; snapshot error + empty: 2
Observed duration 46.83 s 40.72 s -6.11 s (-13.05%)
Estimated CPU 36.35 s 32.70 s -3.65 s (-10.04%)
Peak PSS 262.96 MiB 307.79 MiB +44.83 MiB (+17.05%)
Peak RSS 265.24 MiB 309.96 MiB +44.72 MiB (+16.86%)
Peak threads 27 26 -1 (-3.70%)
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 25 / 40 30 / 40 +5

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.041, 1.544, 2.548, 3.551, 4.052, 5.052, 6.553, 8.057, 9.058, 10.562, 12.067, 13.068, 14.57, 15.572, 17.074, 18.575, 19.575, 21.076, 22.082, 23.583, 25.084, 26.085, 27.587, 28.588, 30.092, 31.6, 32.605, 34.109, 35.611, 36.612, 38.118, 39.119, 40.621, 42.123, 42.623, 43.124, 44.627, 45.63]
    y-axis "CPU percent" 0 --> 200
    line [49.87, 105.23, 111.29, 99.95, 99.88, 119.91, 127.91, 155.75, 73.9, 91.87, 87.89, 103.89, 99.92, 97.75, 9.97, 4, 52.03, 31.98, 81.78, 9.99, 89.97, 26.01, 111.77, 123.75, 107.28, 33.77, 109.87, 109.79, 35.97, 63.86, 27.92, 79.91, 97.89, 55.95, 2, 33.96, 31.97, 111.67]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.038, 1.041, 1.544, 2.548, 3.551, 4.052, 5.052, 6.553, 8.057, 9.058, 10.562, 12.067, 13.068, 14.57, 15.572, 17.074, 18.575, 19.575, 21.076, 22.082, 23.583, 25.084, 26.085, 27.587, 28.588, 30.092, 31.6, 32.605, 34.109, 35.611, 36.612, 38.118, 39.119, 40.621, 42.123, 42.623, 43.124, 44.627, 45.63, 46.828]
    y-axis "Memory MiB" 0 --> 500
    line [20.73, 119.14, 142.31, 165.82, 176.84, 190.47, 228.53, 213.51, 226.94, 206.09, 203.63, 211.49, 184.89, 184.36, 184.67, 173.06, 174.69, 183.3, 166.09, 180.08, 178.96, 199.19, 172.43, 201.67, 245.34, 265.24, 201.07, 212.49, 222, 183.07, 185.38, 199, 241.28, 223.3, 206.5, 206.66, 197.5, 198.49, 210.59, 0]
    line [18.92, 116.98, 140.15, 163.64, 174.66, 188.3, 226.41, 211.25, 224.64, 203.74, 201.27, 208.93, 182.49, 181.95, 182.26, 170.65, 172.28, 180.89, 163.48, 177.69, 176.6, 196.81, 170.06, 199.38, 243.04, 262.96, 198.79, 209.37, 219.79, 180.85, 183.61, 196.78, 241.3, 221.12, 204.27, 204.43, 195.28, 196.27, 208.4, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.036, 2.039, 2.539, 3.04, 3.541, 4.544, 5.545, 7.047, 8.049, 9.05, 10.552, 11.552, 12.554, 13.054, 13.554, 15.055, 16.057, 17.057, 18.058, 19.56, 20.562, 21.564, 23.065, 24.066, 25.067, 26.069, 27.571, 28.573, 29.574, 31.076, 32.079, 33.079, 34.079, 35.581, 36.583, 37.584, 38.586, 40.09]
    y-axis "CPU percent" 0 --> 200
    line [25.98, 63.91, 87.84, 113.81, 103.79, 165.47, 139.79, 135.83, 157.71, 125.83, 55.94, 119.99, 39.95, 2, 6, 73.98, 67.93, 11.99, 45.89, 49.92, 111.9, 113.79, 135.83, 105.89, 101.82, 101.86, 43.94, 105.82, 11.99, 77.9, 133.61, 103.97, 70.01, 57.73, 31.95, 111.85, 55.93, 122.02]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.036, 1.036, 2.039, 2.539, 3.04, 3.541, 4.544, 5.545, 7.047, 8.049, 9.05, 10.552, 11.552, 12.554, 13.054, 13.554, 15.055, 16.057, 17.057, 18.058, 19.56, 20.562, 21.564, 23.065, 24.066, 25.067, 26.069, 27.571, 28.573, 29.574, 31.076, 32.079, 33.079, 34.079, 35.581, 36.583, 37.584, 38.586, 40.09, 40.719]
    y-axis "Memory MiB" 0 --> 500
    line [21.24, 110.09, 140.28, 145.54, 173.32, 173.73, 220.7, 215, 256.44, 257.59, 249.3, 239.38, 275.39, 169.27, 169.06, 170.24, 184.87, 196.69, 180.14, 173.47, 189.95, 202.6, 239.09, 210.19, 215.7, 230.96, 221.71, 196, 196.75, 196.39, 224.34, 300.73, 309.96, 225.34, 216.29, 188.38, 210.29, 188.01, 239.77, 0]
    line [19.19, 107.67, 137.85, 143.11, 170.9, 168.87, 218.02, 212.57, 254.01, 254.81, 246.86, 236.96, 272.95, 166.81, 166.6, 167.78, 182.41, 194.23, 177.67, 171.01, 187.48, 203.74, 236.65, 207.71, 213.23, 228.49, 219.24, 193.53, 194.21, 193.78, 221.9, 298.56, 307.79, 223.1, 214.05, 186.26, 208.18, 185.9, 237.74, 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 19.92 s 20.03 s +0.11 s (+0.56%)
Estimated CPU 0.45 s 0.48 s +0.03 s (+6.64%)
Peak PSS 86.06 MiB 85.17 MiB -0.90 MiB (-1.04%)
Peak RSS 88.43 MiB 87.55 MiB -0.88 MiB (-1.00%)
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.

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.

@ldm0 ldm0 closed this Aug 26, 2026
@ldm0
ldm0 deleted the layout-root-font-relative-state branch August 26, 2026 19:13
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