snappy
snappy copied to clipboard
Is snappy slower than gzip in decompression
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,
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.
https://stackoverflow.com/a/44252865
https://github.com/google/snappy Is the performance of this repo the same as c++'s one?