☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 年前New File Formatlemmy.mlimagemessage-square81fedilinkarrow-up1709arrow-down117
arrow-up1692arrow-down1imageNew File Formatlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 年前message-square81fedilink
minus-squareAVincentInSpace@pawb.sociallinkfedilinkarrow-up4arrow-down1·1 年前zstd may be newer and faster but lzma still compresses more
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up11·edit-21 年前Thought I’d check on the Linux source tree tar. zstd -19 vs lzma -9: ❯ ls -lh total 1,6G -rw-r--r-- 1 pmo pmo 1,4G Sep 13 22:16 linux-6.6-rc1.tar -rw-r--r-- 1 pmo pmo 128M Sep 13 22:16 linux-6.6-rc1.tar.lzma -rw-r--r-- 1 pmo pmo 138M Sep 13 22:16 linux-6.6-rc1.tar.zst About +8% compared to lzma. Decompression time though: zstd -d -k -T0 *.zst 0,68s user 0,46s system 162% cpu 0,700 total lzma -d -k -T0 *.lzma 4,75s user 0,51s system 99% cpu 5,274 total Yeah, I’m going with zstd all the way.
minus-squarethe_weez@midwest.sociallinkfedilinkarrow-up6·1 年前Nice data. Thanks for reminding me why I prefer zstd
minus-squareAVincentInSpace@pawb.sociallinkfedilinkarrow-up1·1 年前damn I did not know zstd was that good. Never thought I’d hear myself say this unironically but thanks Facebook
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up5·1 年前*Thank you engineers who happen to be working at Facebook
minus-squaregamer@lemm.eelinkfedilinkarrow-up2·1 年前As always, you gotta know both so that you can pick the right tool for the job.
zstd may be newer and faster but lzma still compresses more
Thought I’d check on the Linux source tree tar.
zstd -19
vslzma -9
:❯ ls -lh total 1,6G -rw-r--r-- 1 pmo pmo 1,4G Sep 13 22:16 linux-6.6-rc1.tar -rw-r--r-- 1 pmo pmo 128M Sep 13 22:16 linux-6.6-rc1.tar.lzma -rw-r--r-- 1 pmo pmo 138M Sep 13 22:16 linux-6.6-rc1.tar.zst
About +8% compared to lzma. Decompression time though:
zstd -d -k -T0 *.zst 0,68s user 0,46s system 162% cpu 0,700 total lzma -d -k -T0 *.lzma 4,75s user 0,51s system 99% cpu 5,274 total
Yeah, I’m going with zstd all the way.
Nice data. Thanks for reminding me why I prefer zstd
damn I did not know zstd was that good. Never thought I’d hear myself say this unironically but thanks Facebook
*Thank you engineers who happen to be working at Facebook
Very true, good point
As always, you gotta know both so that you can pick the right tool for the job.