From 53a2a0ef87492d95a048f6cdb55f3d299ac1ffea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 30 Sep 2023 13:07:36 +0200 Subject: [PATCH] perf: increase old space size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4fccea21..cfe575f5 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", "build:prod": "rollup --config", - "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs", - "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs", - "benchmark:prod": "pnpm build:prod && node benchmarks/internal/bench.mjs", + "benchmark": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register benchmarks/internal/bench.mjs", + "benchmark:debug": "pnpm build && node --max-old-space-size=4096 -r source-map-support/register --inspect benchmarks/internal/bench.mjs", + "benchmark:prod": "pnpm build:prod && node --max-old-space-size=4096 benchmarks/internal/bench.mjs", "test": "pnpm build --environment SOURCEMAP:false && c8 mocha 'tests/**/*.test.mjs'", "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.mjs'", "coverage": "c8 report --reporter=lcov", -- 2.34.1