]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
build: add --interpreted-frames-native-stack to profiling scripts
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 11 May 2026 23:41:47 +0000 (01:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 11 May 2026 23:41:47 +0000 (01:41 +0200)
package.json

index 4ba90d749f3fd69ca7a6289e1e7e4f3d85c6dd26..36d5e079888c5d69525d2c1755a9a97a34da2d1d 100644 (file)
     "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",