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

Consider faster and better packing alternative for tar #35

Closed
miohtama opened this issue Jul 16, 2020 · 2 comments
Closed

Consider faster and better packing alternative for tar #35

miohtama opened this issue Jul 16, 2020 · 2 comments

Comments

@miohtama
Copy link

Though tar + gzip is well-known through UNIX world, there are now compression algorithms that will decompress faster on multi CPU environments. For example Zstandard might be a good fit for NPM caching over tar.

Just throwing a feature idea here, I do not know if there is enough demand for better and faster compression as a feature.

https://engineering.fb.com/core-data/smaller-and-faster-data-compression-with-zstandard/

@miohtama
Copy link
Author

Looks like Github actions already provides this as a library:

https://github.com/actions/cache

@agilgur5
Copy link
Contributor

Yes, this library uses @actions/cache under-the-hood (more specifically https://github.com/actions/toolkit/blob/master/packages/cache as of #37), so that'd be the place upstream to suggest compression alternatives

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

No branches or pull requests

2 participants