Skip to content

Commit 04f1d1a

Browse files
E2E: Remove perf regression harness from this PR.
The perf-regression scripts belong in a separate PR (or stay as personal tooling); this PR should be scoped to the renderer allocation fixes only. Drops `test/e2e/perf-regression.js`, `test/e2e/perf-regression-compare.js`, their README section, and the corresponding `.gitignore` entry. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 507641d commit 04f1d1a

4 files changed

Lines changed: 0 additions & 651 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ npm-debug.log
1111

1212
test/e2e/chromium
1313
test/e2e/output-screenshots
14-
test/e2e/perf-regression-*.json
1514
test/treeshake/index.bundle.js
1615
test/treeshake/index.bundle.min.js
1716
test/treeshake/index.webgpu.bundle.js

test/e2e/README.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,3 @@ Merge only those commits that pass the tests, otherwise all next commits will al
3939

4040
### Status
4141
97% examples are covered with tests. Check exception list for more information.
42-
43-
### Perf & VRAM regression
44-
45-
`perf-regression.js` measures JS heap, GC, frame timing, and WebGPU resource deltas for a given example. Useful for catching VRAM leaks, GC churn increases, or frame-time regressions introduced by a renderer change. The WebGPU device is wrapped in a page-side interceptor; no external tooling required.
46-
47-
```shell
48-
# capture a baseline on one branch
49-
node test/e2e/perf-regression.js baseline webgpu_backdrop_water
50-
51-
# switch branches, capture the candidate
52-
node test/e2e/perf-regression.js candidate webgpu_backdrop_water
53-
54-
# compare
55-
node test/e2e/perf-regression-compare.js baseline candidate webgpu_backdrop_water
56-
```
57-
58-
Each run produces `test/e2e/perf-regression-<label>-<example>.json`. Optional args: `durationMs` (default 10000), `warmupMs` (default 3000).
59-
60-
Single-run numbers have measurement noise — for regression signals below ~5%, average 3 runs per branch (different `<label>` each run, then average the fields manually). Frame `p50/p95/p99/max`, JS heap `mean`/`max`, `gc.totalFreedBytes`, and all WebGPU resource deltas are the most repeatable signals.

test/e2e/perf-regression-compare.js

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)