3 ms·
A quick test resutl(zip a 1.5GB file): lzfse: real 1m44.481s user 1m17.956s sys 0m2.852s lz4: real 0m28.136s user 0m1.200s sys
by ausjke 10y ago
A quick test resutl(zip a 1.5GB file):
lzfse:
real 1m44.481s
user 1m17.956s
sys 0m2.852s
lz4:
real 0m28.136s
user 0m1.200s
sys 0m2.240s
lz4 is much faster somehow. The final size are very close.
- klodolph 10y agoIt's not terribly useful for most applications to test compression speed. The only applications I can think of where this is relevant is data backup and archiving. There are two typical speed benchmarks you want to do. For the "compress once, decompress many times" situation, benchmark the time it takes to decompress and ignore compression time. For the "compress once, decompress once" situation, add the compression and decompression times. The first situation is common for distributing packages and static assets, the second situation is common for distributing dynamic assets.
- eye2sky 10y agoFor the second situation, I prefer the compress/transmit/decompress metric (as a function of transmit pipe speed), as described here: http://fastcompression.blogspot.com/p/compression-benchmark.html http://fastcompression.blogspot.com/p/compression-benchmark....