瀏覽代碼

Chore: support profiling

SukkaW 1 年之前
父節點
當前提交
f30f9774c3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -11,6 +11,7 @@
     "build": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register ./Build/index.ts",
     "build-bun": "bun ./Build/index.ts",
     "build-bun-stream": "ENABLE_TEXT_LINE_STREAM=true bun ./Build/index.ts",
+    "build-profile": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true dexnode -r @swc-node/register ./Build/index.ts",
     "lint": "eslint --format=sukka ."
   },
   "author": "",