Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(scale): a project big enough to be slow

esengine16e3a56df3af
diff --git a/package.json b/package.json
index 9662f88da..ca8f46e39 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"migrate-asset-refs": "node tools/migrate-asset-refs.js",
"verify": "pnpm --filter ./sdk exec tsc --noEmit && pnpm --filter @estella/editor exec tsc --noEmit && node tools/api-surface.mjs --check && node tools/check-cycles.mjs && node tools/check-layers.mjs && node tools/check-project-settings.mjs && node tools/check-workflows.mjs && node tools/check-tool-calls.mjs && node tools/check-inspector-door.mjs && node tools/check-dirty-source.mjs && node tools/check-path-sandbox.mjs && node tools/check-comment-style.mjs && node tools/check-release-metadata.mjs && node tools/component-reference.mjs --check",
"perf": "node tools/perf-guard.mjs --check",
+ "stress-project": "node tools/stress-project.mjs",
"prepare": "git config core.hooksPath .githooks || true",
"soak": "pnpm --filter ./sdk exec vitest run tests/soak",
"torture": "pnpm --filter ./sdk exec vitest run tests/torture"
diff --git a/tools/stress-project.mjs b/tools/stress-project.mjs
new file mode 100644
index 000000000..f3c6062dd
Binary files /dev/null and b/tools/stress-project.mjs differ