Repository navigation
Conversation
…after a forced GC #1384 Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
Merged
Contributor
Author
|
Landed in v0.0.147 as nik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1384.
The "many 5 MB bundles" test read
process.memoryUsage().heapUsedbefore and after the storage call with no collection, so it counted whatever garbage the runtime had not swept (106 MB once, in the release gate, against a 64 MiB bound).retainedHeapBytes(fn)instore-scripts-1255.test.ts: two forced full collections (Bun.gc(true)), baseline, run, two more collections, delta. It measures what is retained, not what is awaiting a sweep.heapUsed), so the margin is large.Buffercopies of every body it is given): retained is over 32 MiB, so the test would fail if the storage call retained bodies.retention-289-288.test.tsin the same process and two CPU burners running, all pass. Not run: the whole crawler suite 10 times (one heavy process per lane).Test-only: no docs, no CHANGELOG entry. Skill: no change needed.
nik