Is snappy slower than gzip in decompression
junghoahnsc opened this issue · 3 comments
junghoahnsc commented
Hello,
From my simple benchmark for a util that is using snappy/gzip for compression,
I noticed that snappy is 10x faster than gzip in compression, but it's slower by 2x in decompression.
I'm wondering if I'm using incorrectly or whether this is an expected performance.
Thanks,
junghoahnsc commented
nvm. I forgot that compression performance highly depends on input.
I used random bytes, but whenI used random base64 string, snappy was better than gzip.
jony4 commented
junjihashimoto commented
https://github.com/google/snappy
Is the performance of this repo the same as c++'s one?