Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---------------------------------------------
ChunkyPNG (0.10.0) encoding benchmark (n=10)
---------------------------------------------
Autodetect (indexed) 0.860000 0.000000 0.860000 ( 0.856220)
:no_compression 0.490000 0.000000 0.490000 ( 0.488724)
:fast_rgba 0.140000 0.000000 0.140000 ( 0.143066)
:fast_rgb 0.140000 0.000000 0.140000 ( 0.143170)
:good_compression 0.470000 0.010000 0.480000 ( 0.476883)
:best_compression 1.880000 0.000000 1.880000 ( 1.877189)
to RGBA pixelstream 0.120000 0.000000 0.120000 ( 0.120289)
to RGB pixelstream 0.130000 0.000000 0.130000 ( 0.131464)
----------------------------------------------- total: 8.970000sec
pixelstream_reference.png: 240x180 - 3713 colors
------------------------------------------------
<default> : 24050 bytes in 0.1600s
:no_compression : 129858 bytes in 0.0391s
:fast_rgba : 26619 bytes in 0.0143s
:fast_rgb : 24027 bytes in 0.0139s
:good_compression : 23713 bytes in 0.0479s
:best_compression : 21224 bytes in 0.4730s
operations.png: 16x16 - 256 colors
------------------------------------------------
<default> : 129 bytes in 0.0018s
:no_compression : 852 bytes in 0.0006s
:fast_rgba : 343 bytes in 0.0002s
:fast_rgb : 462 bytes in 0.0002s
:good_compression : 462 bytes in 0.0007s
:best_compression : 85 bytes in 0.0031s
gray_10x10.png: 10x10 - 1 colors
------------------------------------------------
<default> : 74 bytes in 0.0003s
:no_compression : 178 bytes in 0.0002s
:fast_rgba : 85 bytes in 0.0001s
:fast_rgb : 75 bytes in 0.0001s
:good_compression : 71 bytes in 0.0003s
:best_compression : 73 bytes in 0.0005s
clock_stubbed.png: 80x40 - 55 colors
------------------------------------------------
<default> : 1055 bytes in 0.0081s
:no_compression : 3485 bytes in 0.0072s
:fast_rgba : 1176 bytes in 0.0017s
:fast_rgb : 1116 bytes in 0.0016s
:good_compression : 723 bytes in 0.0069s
:best_compression : 999 bytes in 0.0171s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment