Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is snappy slower than gzip in decompression #39

Open
junghoahnsc opened this issue Jul 22, 2017 · 3 comments
Open

Is snappy slower than gzip in decompression #39

junghoahnsc opened this issue Jul 22, 2017 · 3 comments

Comments

@junghoahnsc
Copy link

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
Copy link
Author

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
Copy link

jony4 commented Apr 16, 2020

@junjihashimoto
Copy link

https://github.com/google/snappy
Is the performance of this repo the same as c++'s one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants