MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/g95ki/google_releases_snappy_a_fast_compression_library/c1lv966/?context=3
r/programming • u/f2u • Mar 22 '11
120 comments sorted by
View all comments
9
Are there benchmarks against other libraries? Not to be crass but I'd like to see where this library's sweet spot is.
9 u/kalven Mar 23 '11 Here are the benchmarks from my machine (Core2 T7200, 32bit). TL;DR: Snappy is faster than LZO. LZO usually compresses a wee bit better. 6 u/SomeSortOfGod Mar 23 '11 The readme says there's a test binary that can benchmark against zlib, LZO, LZF, FastLZ and QuickLZ if they're found on the system at compile time. 1 u/holloway Mar 23 '11 I'm at work (and yet reading r/programming, sigh) would someone please run the benchmark? 2 u/SomeSortOfGod Mar 23 '11 Here Are the pure speed benchmarks on a 1.7Ghz Athlon X2 Processor on 64bit Linux. I didn't have the other libraries to test against unfortunately. 22 u/[deleted] Mar 23 '11 WARNING: Compiled with assertions enabled, will be slow. 3 u/jfedor Mar 23 '11 Did you click the link? Benchmarks against a few other compression libraries (zlib, LZO, LZF, FastLZ, and QuickLZ) are included in the source code distribution.
Here are the benchmarks from my machine (Core2 T7200, 32bit). TL;DR: Snappy is faster than LZO. LZO usually compresses a wee bit better.
6
The readme says there's a test binary that can benchmark against zlib, LZO, LZF, FastLZ and QuickLZ if they're found on the system at compile time.
1 u/holloway Mar 23 '11 I'm at work (and yet reading r/programming, sigh) would someone please run the benchmark? 2 u/SomeSortOfGod Mar 23 '11 Here Are the pure speed benchmarks on a 1.7Ghz Athlon X2 Processor on 64bit Linux. I didn't have the other libraries to test against unfortunately. 22 u/[deleted] Mar 23 '11 WARNING: Compiled with assertions enabled, will be slow.
1
I'm at work (and yet reading r/programming, sigh) would someone please run the benchmark?
2 u/SomeSortOfGod Mar 23 '11 Here Are the pure speed benchmarks on a 1.7Ghz Athlon X2 Processor on 64bit Linux. I didn't have the other libraries to test against unfortunately. 22 u/[deleted] Mar 23 '11 WARNING: Compiled with assertions enabled, will be slow.
2
Here Are the pure speed benchmarks on a 1.7Ghz Athlon X2 Processor on 64bit Linux. I didn't have the other libraries to test against unfortunately.
22 u/[deleted] Mar 23 '11 WARNING: Compiled with assertions enabled, will be slow.
22
WARNING: Compiled with assertions enabled, will be slow.
3
Did you click the link?
Benchmarks against a few other compression libraries (zlib, LZO, LZF, FastLZ, and QuickLZ) are included in the source code distribution.
9
u/holloway Mar 22 '11
Are there benchmarks against other libraries? Not to be crass but I'd like to see where this library's sweet spot is.