Skip to content

perf(plugin-nm): cache install state across workspaces#7126

Merged
arcanis merged 1 commit into
yarnpkg:masterfrom
sophiebits:sophiebits/perf-nm
May 5, 2026
Merged

perf(plugin-nm): cache install state across workspaces#7126
arcanis merged 1 commit into
yarnpkg:masterfrom
sophiebits:sophiebits/perf-nm

Conversation

@sophiebits

@sophiebits sophiebits commented May 4, 2026

Copy link
Copy Markdown
Contributor

On a repo I have with 223 workspaces and a 3MB node_modules/.yarn-state.yml, this lowers memory usage of yarn rebuild [random-package] from around 7GB in 135sec, to 600MB in 22sec.

@sophiebits sophiebits force-pushed the sophiebits/perf-nm branch from bca620d to 4c73b4e Compare May 4, 2026 18:24
This lowers memory usage of yarn from around 7GB to 600MB on a repo I have with 223 workspaces and 3MB node_modules/.yarn-state.yml.
@sophiebits sophiebits force-pushed the sophiebits/perf-nm branch from 4c73b4e to 0089e29 Compare May 4, 2026 18:36
@arcanis arcanis merged commit e6f35bd into yarnpkg:master May 5, 2026
33 checks passed
@arcanis

arcanis commented May 5, 2026

Copy link
Copy Markdown
Member

Thanks Sophie!

@sophiebits

Copy link
Copy Markdown
Contributor Author

Thanks for the quick review!

@JavaScriptBach

Copy link
Copy Markdown

@arcanis is there any chance you could cut a new release for this? 🙏 😄

@arcanis

arcanis commented May 19, 2026

Copy link
Copy Markdown
Member

Just released 4.15.0

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.

3 participants