refactor(cdp): split browser core and cdp scheduler - #231
Conversation
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 Public 48-site run · informational
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 timelinesThese 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. Basexychart-beta
title "Base CPU"
x-axis "Elapsed seconds" [1.038, 2.039, 3.041, 3.542, 4.043, 4.544, 5.045, 6.046, 7.048, 8.047, 9.048, 10.049, 11.05, 11.55, 12.051, 13.053, 14.054, 15.055, 16.056, 17.057, 18.559, 19.56, 20.562, 21.563, 22.564, 23.564, 24.564, 25.566, 26.567, 27.567, 28.569, 29.571, 30.572, 31.573, 32.574, 33.576, 34.578, 35.578]
y-axis "CPU percent" 0 --> 200
line [21.92, 115.88, 95.79, 85.82, 143.65, 127.83, 135.66, 121.86, 161.71, 48.02, 119.8, 141.89, 73.88, 2, 2, 51.89, 53.95, 10, 37.97, 107.89, 111.87, 111.85, 111.8, 109.84, 115.84, 118, 16, 59.83, 97.91, 16.01, 47.92, 75.87, 87.92, 3.99, 4, 137.76, 49.85, 115.97]
xychart-beta
title "Base memory: RSS then PSS"
x-axis "Elapsed seconds" [0.036, 1.038, 2.039, 3.041, 3.542, 4.043, 4.544, 5.045, 6.046, 7.048, 8.047, 9.048, 10.049, 11.05, 11.55, 12.051, 13.053, 14.054, 15.055, 16.056, 17.057, 18.559, 19.56, 20.562, 21.563, 22.564, 23.564, 24.564, 25.566, 26.567, 27.567, 28.569, 29.571, 30.572, 31.573, 32.574, 33.576, 34.578, 35.578, 36.337]
y-axis "Memory MiB" 0 --> 500
line [23.33, 117.41, 147.95, 188.4, 193.04, 235.79, 245.65, 238.53, 217.2, 250.57, 225.76, 236.4, 242.86, 219.41, 209.08, 208.35, 189.81, 202.48, 188.73, 184, 229, 209.84, 236.7, 279.7, 211.63, 221.24, 221.8, 178.67, 188.36, 197.68, 202.5, 183.48, 192.91, 204.6, 186.74, 206.82, 211.18, 191.7, 231.86, 0]
line [21.5, 115.25, 145.79, 186.73, 191, 233.67, 243.45, 236.34, 215.02, 248.08, 223.57, 234.22, 240.67, 217.23, 206.89, 206.17, 187.53, 200.32, 186.55, 182.98, 226.81, 207.21, 234.52, 277.56, 209.46, 219.08, 219.75, 176.48, 186.21, 195.5, 200.34, 181.29, 190.73, 202.41, 184.55, 204.63, 208.99, 189.51, 229.67, 0]
HEADxychart-beta
title "HEAD CPU"
x-axis "Elapsed seconds" [1.038, 2.039, 3.041, 3.541, 4.045, 4.546, 5.547, 6.549, 8.054, 9.054, 10.055, 11.057, 12.057, 13.558, 14.558, 15.558, 16.559, 18.062, 19.063, 20.081, 21.081, 22.083, 23.585, 24.587, 25.587, 26.642, 28.519, 29.725, 30.341, 30.842, 31.845, 32.847, 34.514, 35.517, 36.518, 37.52, 39.022, 40.026]
y-axis "CPU percent" 0 --> 200
line [55.92, 115.85, 87.76, 153.84, 160.81, 141.84, 133.78, 105.72, 115.81, 134.02, 141.79, 71.87, 34, 49.94, 12.01, 49.95, 99.94, 115.82, 123.84, 102.78, 109.99, 115.71, 113.82, 119.89, 65.98, 44, 91.91, 49.93, 1.62, 39.93, 113.69, 103.86, 71.82, 11.97, 31.99, 115.76, 110.02, 129.72]
xychart-beta
title "HEAD memory: RSS then PSS"
x-axis "Elapsed seconds" [0.036, 1.038, 2.039, 3.041, 3.541, 4.045, 4.546, 5.547, 6.549, 8.054, 9.054, 10.055, 11.057, 12.057, 13.558, 14.558, 15.558, 16.559, 18.062, 19.063, 20.081, 21.081, 22.083, 23.585, 24.587, 25.587, 26.642, 28.519, 29.725, 30.341, 30.842, 31.845, 32.847, 34.514, 35.517, 36.518, 37.52, 39.022, 40.026, 40.581]
y-axis "Memory MiB" 0 --> 500
line [23.27, 123.81, 168.79, 187.64, 210.71, 228.18, 257.96, 224.81, 234.46, 253.64, 277.93, 279.78, 258.17, 254.72, 230.26, 231.79, 226.43, 254.78, 242.98, 259.56, 279.88, 276.36, 248.73, 285.75, 250.7, 241.36, 237.17, 239.32, 249.77, 239.45, 245.66, 299.53, 361.25, 268.46, 235, 267.27, 252.29, 241.33, 284.91, 0]
line [21.34, 121.65, 166.78, 185.79, 208.47, 225.88, 255.72, 222.59, 232.52, 251.37, 275.31, 277.92, 255.89, 252.44, 227.99, 229.51, 224.15, 252.49, 240.69, 257.3, 277.96, 274.09, 246.46, 283.48, 248.5, 239.08, 234.89, 237.05, 247.44, 237.16, 243.37, 297.38, 358.9, 266.19, 232.73, 265.03, 250.02, 239.11, 282.68, 0]
Deterministic fixture · diagnosticThe fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.
Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full 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. |
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 Common ancestor Session resilience
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
HEAD memory by 50-navigation quarter
Raw reports and per-navigation boundary samples: workflow run and full Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold. |
No description provided.