fix: keep memory flat when precompressing many files - #16993
fix: keep memory flat when precompressing many files#16993Nic-Polumeyv wants to merge 2 commits into
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/996da7e3e03d3d3b7ec06bf3be90539864ebba13Open in |
🦋 Changeset detectedLatest commit: 996da7e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
builder.compressstarts gzip and brotli streams for every file at once. Node runs zlib work on its threadpool (https://nodejs.org/api/zlib.html#threadpool-usage-and-performance-considerations), so the fan-out only costs memory: about 800 MB peak on 2000 files.2000 files x 20 KB: