Open AnterCreeper opened 1 week ago
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
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
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