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

Feature request : Support optional compression algorithm like zstd #90

Open
AnterCreeper opened this issue Sep 20, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@AnterCreeper
Copy link

AnterCreeper commented Sep 20, 2024

for saving CPU time.
in my test, zstd cost 5 seconds (level 1) vs zip cost 1min51s (level 1)
all from 4.2G origin data to 3.4G

test commands:
time ZSTD_CLEVEL=1 ZSTD_NBTHREADS=8 tar --zstd -cvf world.1.tar.zstd ./world
time zip -1 -r world.zip ./world

@AnterCreeper AnterCreeper added the enhancement New feature or request label Sep 20, 2024
@AnterCreeper
Copy link
Author

some other testing:
time 7z a -r -mx=1 world.zip world/*
cost 1m3s
zstd single thread:
time ZSTD_CLEVEL=1 ZSTD_NBTHREADS=1 tar --zstd -cvf world.1.tar.zstd ./world
cost 7.5seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant