Skip to content

feat(fetch): support request methods and bodies - #180

Open
ldm0 wants to merge 4 commits into
mainfrom
fetch-method-body
Open

feat(fetch): support request methods and bodies#180
ldm0 wants to merge 4 commits into
mainfrom
fetch-method-body

Conversation

@ldm0

@ldm0 ldm0 commented Aug 23, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Aug 23, 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 642e275b03 → HEAD 33e7b99a47; 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 283.1 s 250.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 305.3 MiB 312.3 MiB +7.1 MiB
Periodic peak PSS 303.1 MiB 310.4 MiB +7.3 MiB
RSS · first 10 avg 231.3 MiB 234.3 MiB +3.0 MiB
RSS · last 10 avg 233.4 MiB 225.6 MiB -7.8 MiB
RSS · last − first window +2.1 MiB -8.7 MiB -10.8 MiB
RSS · warm slope / 100 nav +7.3 MiB +2.5 MiB -4.9 MiB
PSS · first 10 avg 229.2 MiB 232.3 MiB +3.1 MiB
PSS · last 10 avg 231.3 MiB 223.5 MiB -7.8 MiB
PSS · last − first window +2.1 MiB -8.8 MiB -10.9 MiB
PSS · warm slope / 100 nav +7.4 MiB +2.5 MiB -4.9 MiB
Peak file descriptors 55 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 221.4 MiB 200.2 MiB 291.4 MiB 219.3 MiB 198.1 MiB 50
51–100 224.6 MiB 216.1 MiB 295.4 MiB 222.5 MiB 214.0 MiB 45
101–150 225.3 MiB 203.9 MiB 307.0 MiB 223.2 MiB 201.8 MiB 44
151–200 224.8 MiB 220.9 MiB 259.2 MiB 222.7 MiB 218.9 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: 184 / 240 rows; 38 / 48 sites produced rows; 10 unexpected empty sites.

✅ Deterministic fixture diagnostic is clean.

Common ancestor 15723736599e → HEAD 5d64f238dd78; 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: 35; HTTP error + rows: 2; empty: 7; 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 35.62 s 35.38 s -0.24 s (-0.66%)
Estimated CPU 31.48 s 30.58 s -0.91 s (-2.88%)
Peak PSS 345.82 MiB 271.96 MiB -73.85 MiB (-21.36%)
Peak RSS 348.38 MiB 274.40 MiB -73.98 MiB (-21.24%)
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 27 / 40 32 / 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.036, 2.038, 3.039, 3.54, 4.04, 4.541, 5.042, 6.043, 7.044, 8.046, 9.047, 10.048, 11.05, 11.55, 12.051, 13.053, 14.053, 15.056, 16.058, 17.059, 18.061, 19.062, 20.063, 21.064, 22.064, 23.066, 24.067, 25.067, 26.068, 27.069, 28.07, 29.073, 30.074, 31.075, 32.076, 33.076, 34.077, 35.078]
    y-axis "CPU percent" 0 --> 200
    line [65.83, 123.64, 109.96, 79.91, 167.91, 121.79, 145.69, 109.88, 149.72, 71.9, 107.86, 121.87, 43.91, 2, 2, 73.81, 41.97, 9.97, 47.9, 51.92, 99.73, 117.84, 133.8, 135.85, 44.02, 115.76, 119.85, 77.96, 7.99, 67.95, 127.79, 101.83, 103.85, 9.99, 47.94, 147.8, 69.94, 123.83]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.034, 1.036, 2.038, 3.039, 3.54, 4.04, 4.541, 5.042, 6.043, 7.044, 8.046, 9.047, 10.048, 11.05, 11.55, 12.051, 13.053, 14.053, 15.056, 16.058, 17.059, 18.061, 19.062, 20.063, 21.064, 22.064, 23.066, 24.067, 25.067, 26.068, 27.069, 28.07, 29.073, 30.074, 31.075, 32.076, 33.076, 34.077, 35.078, 35.616]
    y-axis "Memory MiB" 0 --> 500
    line [22.79, 120.45, 166.25, 192.95, 201.69, 231.8, 243.67, 243.21, 218.61, 247.42, 221.21, 238.84, 253.43, 209.75, 209.43, 208.34, 187.8, 192.5, 191.91, 180.91, 220.96, 209.74, 229.38, 243.82, 240.31, 219.94, 258.77, 229.47, 195.52, 195.69, 221.58, 339.39, 348.38, 241.39, 200.22, 215.72, 229.54, 210.66, 245.87, 0]
    line [20.74, 118.02, 163.59, 190.19, 199.22, 229.23, 240.86, 240.71, 216.03, 244.82, 218.61, 236.24, 250.92, 207.15, 206.82, 205.74, 184.73, 189.9, 189.31, 178.31, 218.35, 207.14, 226.83, 241.22, 237.75, 217.34, 255.98, 226.87, 192.92, 193.09, 219.01, 337.69, 345.82, 238.79, 197.62, 213.12, 226.93, 208.06, 243.29, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.036, 2.038, 2.539, 3.04, 3.54, 4.041, 4.543, 5.048, 6.048, 7.049, 8.051, 9.051, 10.052, 11.053, 12.054, 13.055, 14.056, 15.058, 16.058, 17.059, 18.059, 18.56, 19.561, 20.562, 21.564, 22.564, 23.565, 24.567, 25.568, 26.569, 27.571, 28.573, 29.575, 30.577, 31.579, 32.579, 33.58, 34.582]
    y-axis "CPU percent" 0 --> 200
    line [47.94, 97.72, 109.85, 99.77, 123.92, 155.87, 129.27, 128.88, 102.05, 149.71, 57.98, 88.03, 115.82, 97.93, 5.99, 53.95, 35.97, 9.97, 51.97, 71.9, 115.93, 105.89, 115.95, 119.85, 119.81, 88.05, 65.9, 107.75, 71.91, 23.97, 53.9, 105.74, 83.82, 9.98, 0, 147.97, 69.89, 119.63]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.036, 2.038, 2.539, 3.04, 3.54, 4.041, 4.543, 5.048, 6.048, 7.049, 8.051, 9.051, 10.052, 11.053, 12.054, 13.055, 14.056, 15.058, 16.058, 17.059, 18.059, 18.56, 19.561, 20.562, 21.564, 22.564, 23.565, 24.567, 25.568, 26.569, 27.571, 28.573, 29.575, 30.577, 31.579, 32.579, 33.58, 34.582, 35.38]
    y-axis "Memory MiB" 0 --> 500
    line [22.75, 123.69, 148.7, 177.07, 185.93, 199.83, 221.66, 246.11, 239.83, 218.86, 247.79, 226.92, 246.5, 250.94, 222.48, 215.99, 187.22, 189.35, 190.28, 179.55, 222.33, 208.11, 205.35, 238.43, 252.76, 214.39, 206.6, 242.71, 207.37, 190.88, 195.18, 211.63, 274.4, 249.85, 226.66, 234.82, 238.26, 232.21, 253.54, 0]
    line [20.71, 121.29, 146.31, 174.66, 183.51, 197.42, 219.28, 243.7, 237.42, 215.98, 245.33, 224.51, 244.07, 248.48, 220.01, 213.54, 184.75, 186.88, 187.82, 177.08, 219.85, 205.63, 202.87, 235.96, 250.45, 211.94, 204.12, 241.87, 204.9, 188.39, 192.71, 209.13, 271.96, 247.37, 224.19, 232.35, 235.79, 228.56, 251.07, 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.44 s 0.44 s 0.00 s (0.00%)
Peak PSS 87.38 MiB 88.21 MiB +0.83 MiB (+0.95%)
Peak RSS 89.66 MiB 90.61 MiB +0.95 MiB (+1.05%)
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 force-pushed the fetch-method-body branch from 5d64f23 to 4c0f79e Compare August 24, 2026 12:32
@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 642e275b0340 → HEAD 4c0f79edefcd; 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.93 s 44.02 s +5.09 s (+13.07%)
Estimated CPU 34.90 s 36.07 s +1.17 s (+3.36%)
Peak PSS 259.83 MiB 344.71 MiB +84.87 MiB (+32.66%)
Peak RSS 262.42 MiB 346.80 MiB +84.38 MiB (+32.16%)
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.036, 2.037, 3.037, 3.538, 4.038, 4.539, 5.54, 6.541, 7.542, 8.542, 10.044, 11.044, 12.046, 13.047, 14.049, 15.05, 16.551, 17.553, 18.554, 19.554, 20.557, 21.557, 22.558, 23.061, 24.062, 25.065, 26.069, 27.07, 28.071, 29.573, 30.575, 31.577, 32.578, 33.58, 34.581, 36.083, 37.085, 38.087]
    y-axis "CPU percent" 0 --> 200
    line [51.94, 95.87, 102, 93.87, 141.97, 179.8, 113.9, 123.9, 81.95, 52.01, 65.95, 68.02, 129.73, 101.88, 93.8, 109.89, 59.97, 113.76, 75.91, 84.04, 151.41, 130.03, 111.82, 119.4, 135.82, 91.87, 135.87, 95.86, 81.92, 9.98, 71.87, 113.81, 63.97, 7.99, 2, 105.76, 75.85, 107.83]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.036, 2.037, 3.037, 3.538, 4.038, 4.539, 5.54, 6.541, 7.542, 8.542, 10.044, 11.044, 12.046, 13.047, 14.049, 15.05, 16.551, 17.553, 18.554, 19.554, 20.557, 21.557, 22.558, 23.061, 24.062, 25.065, 26.069, 27.07, 28.071, 29.573, 30.575, 31.577, 32.578, 33.58, 34.581, 36.083, 37.085, 38.087, 38.928]
    y-axis "Memory MiB" 0 --> 500
    line [22.64, 120.91, 163.14, 188.58, 180.85, 202.04, 234.99, 256.17, 224.65, 227.8, 195.45, 202.71, 201.5, 232.93, 197.38, 213.09, 210.61, 185.89, 222.77, 199.18, 201.28, 201.96, 233.26, 262.42, 234.92, 195.12, 186.43, 257.89, 211.09, 205.48, 188.74, 212.45, 243.8, 238.15, 200.85, 211.65, 218.28, 195.63, 231.97, 0]
    line [21.01, 119, 161.25, 186.84, 178.94, 200.12, 233.1, 254.15, 222.79, 227.07, 193.52, 200.67, 199.4, 230.82, 195.41, 211.13, 206.51, 183.33, 220.88, 196.63, 198.71, 199.35, 230.69, 259.83, 232.32, 192.53, 183.83, 255.32, 208.5, 202.88, 186.14, 209.85, 241.05, 235.8, 198.54, 209.05, 215.68, 193.04, 229.38, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.036, 2.539, 3.541, 4.541, 5.042, 5.542, 6.043, 6.543, 7.544, 8.546, 10.048, 11.049, 12.05, 13.552, 14.552, 16.055, 17.055, 18.557, 19.558, 21.06, 22.062, 23.064, 24.566, 25.568, 27.07, 28.072, 29.574, 30.576, 32.077, 33.077, 34.078, 35.58, 36.58, 38.081, 39.082, 40.585, 41.586, 43.088]
    y-axis "CPU percent" 0 --> 500
    line [55.92, 133.71, 87.93, 115.92, 167.83, 149.86, 201.75, 170, 91.77, 147.66, 145.8, 60, 55.92, 60, 101.96, 0, 16.01, 53.93, 85.87, 39.97, 113.85, 51.92, 163.8, 2, 135.71, 119.73, 91.89, 57.92, 65.89, 81.86, 31.97, 39.96, 87.97, 76.03, 2, 33.94, 51.94, 115.85]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.036, 2.539, 3.541, 4.541, 5.042, 5.542, 6.043, 6.543, 7.544, 8.546, 10.048, 11.049, 12.05, 13.552, 14.552, 16.055, 17.055, 18.557, 19.558, 21.06, 22.062, 23.064, 24.566, 25.568, 27.07, 28.072, 29.574, 30.576, 32.077, 33.077, 34.078, 35.58, 36.58, 38.081, 39.082, 40.585, 41.586, 43.088, 44.017]
    y-axis "Memory MiB" 0 --> 500
    line [20.91, 117.09, 168.74, 176.4, 214.95, 238.39, 302.5, 316.2, 346.8, 320.61, 310.04, 333.31, 306.46, 287.25, 206.25, 236.06, 198.98, 197.82, 212.96, 207.75, 188.41, 222.73, 193.2, 247.52, 208.08, 238.2, 209.83, 193.08, 242.32, 202.58, 189.67, 185.33, 194.68, 192.8, 194.26, 177.95, 179.34, 179.19, 212.71, 0]
    line [19.09, 114.99, 166.65, 174.3, 212.93, 236.52, 300.42, 314.31, 344.71, 318, 307.81, 331.31, 304.36, 285.15, 204.06, 233.52, 196.89, 195.72, 210.88, 205.66, 186.21, 220.64, 191.14, 245.46, 205.98, 236.12, 207.75, 191, 240.24, 200.5, 187.77, 183.25, 192.6, 190.71, 192.49, 176.18, 177.69, 177.52, 211.1, 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.98 s +0.06 s (+0.32%)
Estimated CPU 0.48 s 0.45 s -0.03 s (-6.22%)
Peak PSS 82.32 MiB 86.61 MiB +4.29 MiB (+5.21%)
Peak RSS 84.41 MiB 89.02 MiB +4.61 MiB (+5.46%)
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

Copy link
Copy Markdown

Spider Bench A/B

⚠️ Spider Bench infrastructure failed before a comparison could be produced.

Workflow: failure. Inspect the workflow run for the failing build, harness, or artifact step.

No benchmark result or performance conclusion is available for this run.

1 similar comment
@github-actions

Copy link
Copy Markdown

Spider Bench A/B

⚠️ Spider Bench infrastructure failed before a comparison could be produced.

Workflow: failure. Inspect the workflow run for the failing build, harness, or artifact step.

No benchmark result or performance conclusion is available for this run.

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