Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clear babel cache on a weekly basis #2909

Merged
merged 3 commits into from May 21, 2021
Merged

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented May 20, 2021

What's the problem this PR addresses?

Given enough time the Babel cache will grow enough to slow down running Yarn in this repo by quite a lot. In my case the cache has been growing since 19.02.2021 and is now at 422MB taking ~6 seconds to save.

How did you fix it?

Result

$ time yarn --version
3.0.0-rc.2.dev

________________________________________________________
- Executed in   14.14 secs      fish           external
+ Executed in    2.62 secs      fish           external

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz changed the title chore: clear babel on a weekly basis chore: clear babel cache on a weekly basis May 20, 2021
Co-authored-by: Paul Soporan <paul.soporan@gmail.com>
@merceyz merceyz merged commit 2fb1d14 into master May 21, 2021
@merceyz merceyz deleted the merceyz/chore/dev-speed branch May 21, 2021 14:17
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.

None yet

2 participants