-
Notifications
You must be signed in to change notification settings - Fork 39
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
Caching unsatisactory #78
Comments
We don't cache dependencies, only bun versions. Maybe you can try #14 (comment) |
I tried, but it seems to take more time. |
I think we've come to conclusion that it takes even longer than reinstalling. If I can ask, what was your original time with pnpm? |
When the cache is present, 11 secs, but it could be related to the fact that in pnpm I can limit the packages to install, while in bun I just have to install them all. One thing that I still don't get is why do I have to re-install, Isn't there a way to say, "Just restore the state from this directory"? |
I think one of the reasons why it is taking longer is because it is installing and re-linking everything even if it doesn't need to. |
We are testing bun as an alternative to pnpm, but the caching is quite unsatisfactory in a monorepo setting.
In our case, the installation time takes ~37 secs (~2k packages), which is super nice, but we don't seem to be able to reduce this time in subsequent tasks in any way.
Any ideas how to reduce the time in chained tasks (Github Actions) of a workflow?
The text was updated successfully, but these errors were encountered: