test(perf): add proxy scroll scene to the perf adapter (#8718)

Adds a proxy page scenario to the measurement adapter: a core-module
shim serves synthetic proxy/clash/run-state data at the invoke seam
(active only for the proxy scenario; other scenarios stay
byte-identical), and a sawtooth scroll driver keeps the virtualizer
measuring and the throttled scroll-position save running. Running the
scene additionally requires the harness-side scenario contract and
schema v10 from the clash-verge-rev-harness repository.
This commit is contained in:
Tunglies
2026-11-23 07:45:26 +00:00
committed by GitHub
parent 48eab2c21e
commit 43be8ead4c
7 changed files with 286 additions and 1 deletions
+2
View File
@@ -2,6 +2,8 @@ import { layer, scenario, startReplay } from './replay'
if (scenario === 'traffic') {
await import('./traffic')
} else if (scenario === 'proxy') {
await import('./proxy')
} else {
const root = document.getElementById('root')!
document.body.style.cssText = 'margin:0;font:14px -apple-system,sans-serif'