From 228beff6c86a2952dd3e141a60ca74ce96108566 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sat, 27 Jun 2026 11:54:05 +0900 Subject: [PATCH] chore(dev): tweak backend-memory-report --- .github/scripts/backend-js-footprint.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/backend-js-footprint.mjs b/.github/scripts/backend-js-footprint.mjs index 3def41d554..9c98357ad6 100644 --- a/.github/scripts/backend-js-footprint.mjs +++ b/.github/scripts/backend-js-footprint.mjs @@ -23,7 +23,6 @@ const [repoDirArg, outputFileArg] = process.argv.slice(2); const STARTUP_TIMEOUT = util.readIntegerEnv('MK_JS_FOOTPRINT_STARTUP_TIMEOUT_MS', 120000, 1); const SETTLE_TIME = util.readIntegerEnv('MK_JS_FOOTPRINT_SETTLE_TIME_MS', 10000, 0); const REQUEST_COUNT = util.readIntegerEnv('MK_JS_FOOTPRINT_REQUEST_COUNT', 10, 0); -const MAX_TABLE_ITEMS = util.readIntegerEnv('MK_JS_FOOTPRINT_MAX_ITEMS', 20, 1); const repoDir = resolve(repoDirArg); const outputFile = resolve(outputFileArg); @@ -389,7 +388,7 @@ function summarizeRecords(records, phase) { stringLiteralKiB: bytesToKiB(totals.stringLiteralBytes), }, packages: [...packages.values()].toSorted((a, b) => b.sourceBytes - a.sourceBytes), - modules: modules.toSorted((a, b) => b.sourceBytes - a.sourceBytes).slice(0, MAX_TABLE_ITEMS), + modules: modules.toSorted((a, b) => b.sourceBytes - a.sourceBytes), }; }