From f30f9774c3e74c71d548fc293cc50314f69b9142 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 23 Jul 2024 18:24:18 +0800 Subject: [PATCH] Chore: support profiling --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 8c11dfb6..a6b4cf7d 100644 --- a/package.json +++ b/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": "",