mirror of
https://github.com/motajs/template.git
synced 2026-11-13 06:24:30 +08:00
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:
1 parent
ac2a9b34d4
commit
37bf89bc94
3 files changed
+327
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user