Skip to content

Collect garbage between the phases of pnpm bench - #21654

Draft
NullVoxPopuli wants to merge 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:claude/project-thread-lmfj0h
Draft

NullVoxPopuli wants to merge 1 commit into
emberjs:mainfrom
NullVoxPopuli-ai-agent:claude/project-thread-lmfj0h

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

Garbage from one phase (render10000Items, for example) was collected inside a later phase, wherever V8 decided to. A change that allocates more or less moved those collections between phases, so phase times shifted for reasons unrelated to the phase itself.

Chrome now runs with --expose-gc, and waitForIdle() calls gc() before the next phase starts, outside the measured marks.

Claude-Session: https://claude.ai/code/session_01JqJMavyH9FWrQWG3PAGzsT

Garbage from one phase (render10000Items, for example) was collected
inside a later phase, wherever V8 decided to. A change that allocates
more or less moved those collections between phases, so phase times
shifted for reasons unrelated to the phase itself.

Chrome now runs with --expose-gc, and waitForIdle() calls gc() before
the next phase starts, outside the measured marks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JqJMavyH9FWrQWG3PAGzsT

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants