You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semaphore CI have a cache similar to actions/cache@v1 but theirs only takes six seconds to restore our 760MB node_modules Semaphore CI, compared to twenty eight seconds on GitHub Actions.
Hi @dukedave, are your caches actually being created? There is currently a 400 MB limit on the cache size (we will be increasing this limit very soon). I suspect the restore action is failing as a result and you're having to fetch the dependencies from their source. We also released a perf improvement in mid December that should also help cut download times.
I'm also seeing the problem of the cache restores being very slow. It's ranging anywhere between a few seconds to 12 minutes as well as it just giving up after a period of time
👋 Hey all, this specific issue has already been resolved. If you are experiencing slow cache restores, please file a new issue with details on your specific use case and expected behavior.
Activity
dhadka commentedon Jan 6, 2020
Hi @dukedave, are your caches actually being created? There is currently a 400 MB limit on the cache size (we will be increasing this limit very soon). I suspect the restore action is failing as a result and you're having to fetch the dependencies from their source. We also released a perf improvement in mid December that should also help cut download times.
dhadka commentedon Jan 6, 2020
The cache limit increase is now released. Please try again and let us know if you're still seeing slow restore times.
smorimoto commentedon Feb 16, 2020
I suspect this is a problem with the compression algorithm used.
smeijer commentedon Feb 28, 2020
This is also my experience. 35 sec for ~ 161 mb.
smorimoto commentedon Feb 28, 2020
We're already working on making it faster, and in my environment it's about three times faster. The next major version will definitely improve.
smorimoto commentedon Feb 28, 2020
See this PR: #202
smorimoto commentedon Feb 28, 2020
Note that this PR will take some time to merge.
joshmgross commentedon May 29, 2020
👋 Cache Version 2 has multiple performance improvements, including using
zstdfor compression instead ofgzip. See https://github.com/actions/cache#whats-new for more details.I don't think there's anything that's specifically actionable here, if you have any other performance suggestions please open an issue.
mbbernstein commentedon Jun 26, 2020
Hi,
I've the same issue here:

Thanks,
Michael
smorimoto commentedon Jun 26, 2020
Could you try to use the v2?
mogusbi commentedon Jul 6, 2020
I'm also seeing the problem of the cache restores being very slow. It's ranging anywhere between a few seconds to 12 minutes as well as it just giving up after a period of time
When it goes bad:

When it goes well:

Workflow in question can be found here: https://github.com/motech-development/platform/blob/master/.github/workflows/checks.yml
Actions here: https://github.com/motech-development/platform/actions
joshmgross commentedon Jul 6, 2020
👋 Hey all, this specific issue has already been resolved. If you are experiencing slow cache restores, please file a new issue with details on your specific use case and expected behavior.