From: Jérôme Benoit Date: Mon, 11 May 2026 23:41:47 +0000 (+0200) Subject: build: add --interpreted-frames-native-stack to profiling scripts X-Git-Tag: cli@v4.7.3~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b1d02d7cea9481e59205d057289c511f135f94fb;p=e-mobility-charging-stations-simulator.git build: add --interpreted-frames-native-stack to profiling scripts --- diff --git a/package.json b/package.json index 4ba90d74..36d5e079 100644 --- a/package.json +++ b/package.json @@ -49,10 +49,10 @@ "prepare": "node scripts/prepare.js", "build-requirements": "node scripts/build-requirements.js", "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js", - "start:prof": "pnpm build && cross-env NODE_ENV=production node --prof dist/start.js", + "start:prof": "pnpm build && cross-env NODE_ENV=production node --prof --interpreted-frames-native-stack dist/start.js", "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js", "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js", - "start:dev:prof": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --prof dist/start.js", + "start:dev:prof": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --prof --interpreted-frames-native-stack dist/start.js", "esbuild": "pnpm build-requirements && node scripts/bundle.js", "build": "pnpm esbuild", "build:dev": "cross-env BUILD=development pnpm esbuild",