4 ms·
Here's a compression benchmark. http://pages.di.unipi.it/farruggia/dcb/ http://pages.di.unipi.it/farruggia/dcb/ Looks like Snappy beats both LZ4 and Zstd in c
by bufferoverflow 7y ago
Here's a compression benchmark.
http://pages.di.unipi.it/farruggia/dcb/ http://pages.di.unipi.it/farruggia/dcb/
Looks like Snappy beats both LZ4 and Zstd in compression speed and compression ratio, by a huge margin.
LZ4 is a ahead of Snappy in the decompression speed.
- correct_horse 7y agoSimilar to how code is read more times than it is written, files are decompressed more times than compressed. I have not researched this opinion much
- ncmncm 7y agoI find these numbers for Snappy entirely implausible. The numbers I know about are wrong: zstd always beats gzip for compression ratio. I will need to do my own testing.
- ncmncm 7y agoI have tested snzip 1.0.4. It compresses about as well as lz4, but more slowly. It also decompresses more slowly. It is faster than zstd -1, but compresses less well. It is possible that it does better with certain kinds of data, but 12x remains implausible. Apparently the current file format has suffix ".sz".