test(06-16): add isolated perf channel and critical calculation perf

- vitest.perf.config.ts: include only *.perf.ts, mirror vite.config.ts aliases, 30s timeouts
- package.json: add test:perf script (test/test:ci untouched)
- damage.perf.ts: 3 cases (1000/10000/50000) warmup 3 + 20 samples, no assertions
This commit is contained in:
AncTe committed 2026-09-16 14:56:28 +08:00
1 parent ac2a9b34d4
commit 37bf89bc94
3 files changed
+327

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
"dev": "tsx script/dev.ts",
"test": "vitest",
"test:ci": "vitest run",
"test:perf": "vitest run --config vitest.perf.config.ts",
"test:data-node": "tsx script/test-data-node.ts",
"preview": "vite preview",
"declare": "tsx script/declare.ts",