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: 189 / 240 rows; 39 / 48 sites produced rows; 9 unexpected empty sites. ✅ Deterministic fixture contract 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.036, 2.037, 3.54, 4.541, 5.542, 6.543, 7.544, 8.546, 9.546, 10.046, 11.048, 12.049, 13.05, 14.052, 15.054, 16.556, 17.558, 18.559, 19.559, 20.559, 21.561, 23.064, 24.065, 25.065, 26.067, 27.069, 28.07, 28.571, 29.573, 30.574, 31.575, 32.576, 33.577, 34.077, 34.578, 36.081, 37.083, 38.084]
y-axis "CPU percent" 0 --> 200
line [59.84, 121.96, 109.92, 123.86, 133.82, 122.09, 129.77, 123.79, 164.02, 117.83, 87.91, 63.93, 99.72, 15.96, 63.86, 73.94, 109.88, 113.84, 138, 119.79, 89.89, 123.82, 97.87, 13.98, 79.83, 83.84, 117.9, 99.77, 61.91, 78.01, 2, 4, 2, 0, 105.69, 125.89, 93.94, 115.8]
xychart-beta
title "Base memory: RSS then PSS"
x-axis "Elapsed seconds" [0.035, 1.036, 2.037, 3.54, 4.541, 5.542, 6.543, 7.544, 8.546, 9.546, 10.046, 11.048, 12.049, 13.05, 14.052, 15.054, 16.556, 17.558, 18.559, 19.559, 20.559, 21.561, 23.064, 24.065, 25.065, 26.067, 27.069, 28.07, 28.571, 29.573, 30.574, 31.575, 32.576, 33.577, 34.077, 34.578, 36.081, 37.083, 38.084, 38.883]
y-axis "Memory MiB" 0 --> 500
line [22.12, 121.26, 165.36, 208.37, 246.06, 230.36, 257.02, 243.04, 233.49, 233.33, 231.66, 204.95, 221.18, 207.11, 185.78, 196.85, 213.96, 214.18, 256.36, 243.84, 264.3, 209.83, 246.1, 214.93, 170.56, 178.89, 212.91, 338.59, 339.23, 225.68, 216.68, 201.62, 199.47, 202.17, 202.17, 226.22, 198.5, 196.34, 236.62, 0]
line [18.87, 117.68, 161.78, 204.79, 244.45, 226.77, 253.41, 239.42, 229.88, 229.71, 228.05, 201.33, 217.57, 203.49, 182.14, 193.23, 210.11, 210.42, 252.75, 240.33, 260.69, 206.21, 242.09, 211.31, 166.95, 175.28, 209.29, 334.97, 335.61, 222.06, 213.06, 198, 195.86, 198.55, 198.55, 222.61, 194.88, 192.83, 233.01, 0]
HEADxychart-beta
title "HEAD CPU"
x-axis "Elapsed seconds" [1.036, 2.539, 3.539, 4.54, 5.041, 6.043, 7.544, 8.045, 8.546, 10.048, 11.049, 12.051, 13.554, 14.053, 14.554, 16.054, 17.055, 18.558, 19.558, 21.06, 22.06, 23.062, 24.563, 25.565, 27.065, 28.066, 29.567, 30.569, 32.072, 33.073, 34.073, 35.574, 36.576, 38.077, 39.079, 40.581, 41.582, 43.084]
y-axis "CPU percent" 0 --> 200
line [47.91, 119.83, 67.92, 153.92, 139.62, 127.68, 79.92, 167.77, 79.87, 53.94, 69.92, 81.87, 49.92, 0, 2, 66.02, 11.98, 89.9, 34.01, 103.97, 108.03, 121.65, 92.04, 131.68, 51.99, 53.93, 10, 13.97, 119.84, 33.91, 26, 0, 0, 9.98, 87.82, 123.97, 41.92, 131.98]
xychart-beta
title "HEAD memory: RSS then PSS"
x-axis "Elapsed seconds" [0.035, 1.036, 2.539, 3.539, 4.54, 5.041, 6.043, 7.544, 8.045, 8.546, 10.048, 11.049, 12.051, 13.554, 14.053, 14.554, 16.054, 17.055, 18.558, 19.558, 21.06, 22.06, 23.062, 24.563, 25.565, 27.065, 28.066, 29.567, 30.569, 32.072, 33.073, 34.073, 35.574, 36.576, 38.077, 39.079, 40.581, 41.582, 43.084, 43.651]
y-axis "Memory MiB" 0 --> 500
line [22.34, 120.08, 188.07, 209.2, 242.27, 255.53, 236.91, 257.86, 265.49, 254.52, 234.15, 244.58, 269.46, 243.71, 237.58, 236.8, 258.15, 236.46, 253.06, 220.71, 241.35, 297.7, 265.27, 239.59, 289.96, 229.54, 228.06, 231.01, 236.2, 263.03, 265.63, 252.95, 238.93, 236.53, 238.09, 261.12, 245.48, 236.8, 287.74, 0]
line [19.13, 116.48, 184.56, 205.5, 238.67, 251.89, 233.28, 254.23, 261.85, 250.88, 230.51, 240.95, 265.86, 240.06, 233.92, 233.14, 254.5, 232.8, 249.41, 217, 237.69, 294.04, 261.61, 235.34, 286.29, 225.88, 226.02, 227.35, 232.54, 259.37, 261.97, 249.29, 235.27, 232.87, 234.43, 257.47, 241.82, 232.74, 284.08, 0]
Deterministic fixture · required contractThe 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 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. |
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. |
37f7825 to
0ea2554
Compare
0ea2554 to
c0df8f1
Compare
No description provided.