|
> Show me any zstd level that has significantly different speed and data size than one of the levels of those three can't match. In case you are not just trolling, I had some very large JSON file with a large amount of text in my SSD around and the compression time was as follows [1]: 8,826,654,133 original
4,763,212,322 0:29 lz4 -1
3,815,508,500 0:52 brotli -1
3,715,002,172 2:09 lz4 -3
3,668,204,232 2:27 gzip -1
3,159,659,113 1:59 brotli -2
3,118,316,529 10:55 lzma -0 -T4
3,025,746,073 1:21 zstd -3 -T1 (default)
Zstandard is not just lzma+gzip+lz4. It is better than everything you've mentioned at least for my test case. In fact I first compressed with zstd and tried to match the compression time for others, because zstd is very fast and using anything else as a reference point would have taken me much more time. It does have enough reason to claim itself to be "standard".[1] Tested with i7-7700 3.60GHz and 48 GiB of RAM (but no algorithm tested use more than several MBs of memory anyway). I'm using a pretty fast SSD here so I/O speed is not much of concern. Also note that every algorithm except for lzma is single-threaded. |
I duped /usr/share/dict/words into an 8GB file and did a couple tests on the old system I'm on: