I love playing around with #compression
In this case, it's all text-based data in csv and xml formats.
Size:
32,696,320 202411.tar
4,384,020 202411.tar.bz2
4,015,912 202411.tar.zst
3,878,583 202411.tar.bz3
3,730,416 202411.tar.xz
zstd
was invoked using zstd --ultra -22
xz
was invoked using xz -9e
bzip2
was invoked using bzip2 -9
bzip3
has no compression level options
Speed:
zstd 54.31user 0.25system 0:54.60elapsed 99%CPU
xz 53.80user 0.06system 0:53.93elapsed 99%CPU
bzip2 5.33user 0.01system 0:05.35elapsed 99%CPU
bzip3 3.98user 0.02system 0:04.01elapsed 99%CPU
Maximum memory usage (RSS):
zstd 706,312
xz 300,480
bzip3 75,996
bzip2 7,680
*RSS sampled up to ten times per second during execution of the commands in question
#bzip3 is freaking amazing, yo.
#DataCompression #bzip #bz3 #zstd #zst #zstandard #xz #lzma
#CouldaBeenABlost ;)