Skip to content

Model inline offset geometry from fragments - #88

Open
ldm0 wants to merge 1 commit into
mainfrom
layout-inline-offset-fragments
Open

Model inline offset geometry from fragments#88
ldm0 wants to merge 1 commit into
mainfrom
layout-inline-offset-fragments

Conversation

@ldm0

@ldm0 ldm0 commented Aug 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@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 94b59802b1 → HEAD 71bfae1e11; 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 279.3 s 317.5 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 289.0 MiB 288.6 MiB -0.4 MiB
Periodic peak PSS 287.9 MiB 286.4 MiB -1.5 MiB
RSS · first 10 avg 217.1 MiB 214.3 MiB -2.8 MiB
RSS · last 10 avg 246.2 MiB 254.6 MiB +8.4 MiB
RSS · last − first window +29.1 MiB +40.2 MiB +11.1 MiB
RSS · warm slope / 100 nav +4.9 MiB +2.7 MiB -2.2 MiB
PSS · first 10 avg 215.2 MiB 212.0 MiB -3.2 MiB
PSS · last 10 avg 244.1 MiB 252.5 MiB +8.4 MiB
PSS · last − first window +28.8 MiB +40.4 MiB +11.6 MiB
PSS · warm slope / 100 nav +4.9 MiB +2.5 MiB -2.4 MiB
Peak file descriptors 49 49 0
Peak threads 26 28 2

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 240.1 MiB 205.5 MiB 278.5 MiB 237.9 MiB 203.3 MiB 43
51–100 252.6 MiB 269.6 MiB 282.0 MiB 250.4 MiB 267.5 MiB 44
101–150 252.0 MiB 211.9 MiB 279.6 MiB 249.4 MiB 209.3 MiB 42
151–200 251.5 MiB 271.2 MiB 276.6 MiB 249.1 MiB 269.2 MiB 44

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

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 94b59802b13b → HEAD 71bfae1e11d3; 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 43.10 s 47.95 s +4.85 s (+11.26%)
Estimated CPU 34.57 s 37.26 s +2.69 s (+7.78%)
Peak PSS 467.56 MiB 462.46 MiB -5.09 MiB (-1.09%)
Peak RSS 469.83 MiB 464.59 MiB -5.24 MiB (-1.12%)
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.035, 2.038, 2.538, 3.539, 5.041, 6.043, 7.545, 8.545, 9.547, 11.048, 12.05, 13.551, 14.552, 15.553, 17.055, 18.056, 19.557, 20.057, 20.557, 22.06, 23.061, 24.062, 25.564, 26.565, 27.066, 28.067, 29.069, 30.071, 31.574, 32.575, 34.076, 35.078, 36.58, 37.583, 38.584, 40.086, 41.086, 42.588]
    y-axis "CPU percent" 0 --> 200
    line [45.96, 0, 33.95, 117.84, 109.95, 45.96, 131.81, 147.88, 53.92, 127.88, 133.81, 17.98, 125.91, 99.91, 57.94, 107.84, 147.86, 154.02, 125.95, 73.82, 107.86, 129.84, 103.78, 102.02, 141.8, 119.8, 83.89, 123.8, 45.94, 73.99, 21.98, 113.81, 97.82, 0, 0, 67.9, 23.96, 125.97]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.035, 2.038, 2.538, 3.539, 5.041, 6.043, 7.545, 8.545, 9.547, 11.048, 12.05, 13.551, 14.552, 15.553, 17.055, 18.056, 19.557, 20.057, 20.557, 22.06, 23.061, 24.062, 25.564, 26.565, 27.066, 28.067, 29.069, 30.071, 31.574, 32.575, 34.076, 35.078, 36.58, 37.583, 38.584, 40.086, 41.086, 42.588, 43.101]
    y-axis "Memory MiB" 0 --> 500
    line [23.3, 122.69, 131.52, 137.95, 177.69, 206.96, 232.5, 225.14, 257.19, 221.62, 238.89, 251.43, 197.39, 211.59, 200.3, 189.79, 234.41, 229.86, 242.79, 255.54, 274.98, 368.88, 337.13, 360.88, 419.91, 469.83, 219.14, 214.28, 266.83, 219.57, 208.69, 215.27, 279.31, 245.53, 225.08, 223.23, 240.59, 220.79, 254.13, 0]
    line [21.53, 120.64, 129.47, 135.76, 175.64, 204.91, 231.11, 223.08, 255.03, 219.6, 236.87, 249.39, 195.71, 209.54, 198.25, 187.44, 232.07, 227.51, 240.45, 253.27, 272.74, 366.53, 334.78, 358.58, 417.56, 467.56, 216.79, 211.94, 264.48, 217.22, 206.35, 212.92, 276.97, 243.18, 222.73, 220.88, 238.26, 218.44, 251.81, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.036, 1.536, 2.538, 3.539, 4.04, 5.541, 6.543, 7.544, 8.044, 9.547, 10.547, 12.049, 13.551, 14.553, 16.055, 17.557, 18.558, 20.059, 21.56, 22.561, 24.063, 25.564, 26.568, 28.073, 29.581, 30.582, 32.083, 33.583, 34.584, 36.086, 37.591, 38.593, 40.1, 41.601, 42.603, 44.104, 45.605, 46.606]
    y-axis "CPU percent" 0 --> 200
    line [21.97, 95.87, 3.99, 128.04, 101.83, 159.84, 13.98, 172, 119.85, 161.73, 12, 31.94, 79.82, 123.81, 0, 79.87, 105.8, 21.97, 123.87, 66.03, 77.86, 126.01, 129.17, 109.89, 134.09, 117.97, 122.04, 11.99, 109.9, 61.95, 7.99, 41.88, 134.57, 81.93, 87.93, 64.01, 133.6, 95.88]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.036, 1.536, 2.538, 3.539, 4.04, 5.541, 6.543, 7.544, 8.044, 9.547, 10.547, 12.049, 13.551, 14.553, 16.055, 17.557, 18.558, 20.059, 21.56, 22.561, 24.063, 25.564, 26.568, 28.073, 29.581, 30.582, 32.083, 33.583, 34.584, 36.086, 37.591, 38.593, 40.1, 41.601, 42.603, 44.104, 45.605, 46.606, 47.953]
    y-axis "Memory MiB" 0 --> 500
    line [23.54, 107.54, 135.55, 130.28, 181.04, 198.14, 244.13, 231.93, 233.46, 230.53, 244.48, 219.73, 211.51, 206.71, 245.09, 213.58, 236.8, 237.68, 207.66, 246.25, 215.07, 231.06, 307.13, 330.82, 340.39, 464.59, 232.52, 237.98, 224.9, 223.98, 197.55, 207.91, 213.27, 343.59, 241.57, 240.08, 242.16, 229.34, 225.17, 0]
    line [21.8, 105.52, 133.54, 128.27, 178.96, 198.13, 242.11, 229.92, 231.39, 228.46, 241.96, 217.64, 209.41, 204.6, 242.98, 211.48, 234.7, 235.59, 205.56, 244.15, 212.97, 229.02, 305, 325.65, 338.3, 462.46, 230.43, 235.86, 222.78, 221.86, 195.43, 205.78, 211.48, 341.47, 239.47, 238.01, 240.05, 226.79, 222.79, 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.91 s 19.92 s +0.02 s (+0.09%)
Estimated CPU 0.46 s 0.45 s -0.01 s (-1.95%)
Peak PSS 87.50 MiB 88.90 MiB +1.40 MiB (+1.60%)
Peak RSS 89.56 MiB 90.91 MiB +1.36 MiB (+1.51%)
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.

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