Advanced Backups

Advanced Backups

1M Downloads

Feature request : Support optional compression algorithm like zstd

AnterCreeper opened this issue ยท 1 comments

commented

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

commented

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