3 ms·
Surprisingly, Go's png decoder is half as slow as the default libpng :( https://nigeltao.github.io/blog/2021/fastest-safest-png-decoder.html#appendix-benchmark
by ivoras 6y ago
Surprisingly, Go's png decoder is half as slow as the default libpng :(
https://nigeltao.github.io/blog/2021/fastest-safest-png-decoder.html#appendix-benchmark-numbers https://nigeltao.github.io/blog/2021/fastest-safest-png-deco...
- michaelcampbell 6y agoUgh, what does "half as slow" mean? Twice as fast? Half the speed? Any comparison to "slow" is generally the wrong direction.
- kevincox 6y agoThis isn't that surprising. In general Go is about half the speed of C to barring specifically optimized code or calling out to a faster library this would be expected.