Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Benchmark results of ChunkyPNG using different interpreters
---------------------------------------------
ChunkyPNG (0.8.0) decoding benchmark (n=50)
---------------------------------------------
Rehearsal ---------------------------------------------------------
From PNG stream 16.050000 0.110000 16.160000 ( 16.747523)
From RGBA pixelstream 0.090000 0.030000 0.120000 ( 0.122060)
From RGB pixelstream 0.860000 0.030000 0.890000 ( 0.901062)
----------------------------------------------- total: 17.170000sec
user system total real
From PNG stream 15.790000 0.110000 15.900000 ( 16.201703)
From RGBA pixelstream 0.070000 0.020000 0.090000 ( 0.100230)
From RGB pixelstream 0.850000 0.030000 0.880000 ( 0.929457)
---------------------------------------------
ChunkyPNG (0.8.0) encoding benchmark (n=50)
---------------------------------------------
Rehearsal -------------------------------------------------------
Default (indexed) 14.190000 0.070000 14.260000 ( 14.649399)
:fast_rgba 1.360000 0.030000 1.390000 ( 1.387668)
:fast_rgb 1.370000 0.000000 1.370000 ( 1.378767)
:best_compression 14.160000 0.070000 14.230000 ( 14.574861)
:rgb 1.380000 0.020000 1.400000 ( 1.423152)
:rgba 1.400000 0.020000 1.420000 ( 1.447206)
:indexed 14.180000 0.090000 14.270000 ( 14.853889)
:interlaced 14.100000 0.060000 14.160000 ( 14.318315)
to RGBA pixelstream 1.250000 0.010000 1.260000 ( 1.274571)
to RGB pixelstream 1.290000 0.010000 1.300000 ( 1.308917)
--------------------------------------------- total: 65.060000sec
user system total real
Default (indexed) 14.070000 0.030000 14.100000 ( 14.208586)
:fast_rgba 1.370000 0.020000 1.390000 ( 1.399687)
:fast_rgb 1.360000 0.010000 1.370000 ( 1.372645)
:best_compression 14.090000 0.060000 14.150000 ( 14.339744)
:rgb 1.370000 0.010000 1.380000 ( 1.380497)
:rgba 1.380000 0.020000 1.400000 ( 1.414828)
:indexed 14.040000 0.030000 14.070000 ( 14.106137)
:interlaced 14.050000 0.050000 14.100000 ( 14.252300)
to RGBA pixelstream 1.260000 0.010000 1.270000 ( 1.285215)
to RGB pixelstream 1.310000 0.010000 1.320000 ( 1.332141)
---------------------------------------------
ChunkyPNG (0.8.0) decoding benchmark (n=50)
---------------------------------------------
Rehearsal ---------------------------------------------------------
From PNG stream 4.950000 0.050000 5.000000 ( 5.053751)
From RGBA pixelstream 0.100000 0.030000 0.130000 ( 0.123689)
From RGB pixelstream 0.620000 0.040000 0.660000 ( 0.661818)
------------------------------------------------ total: 5.790000sec
user system total real
From PNG stream 4.960000 0.050000 5.010000 ( 5.081017)
From RGBA pixelstream 0.100000 0.020000 0.120000 ( 0.120200)
From RGB pixelstream 0.610000 0.040000 0.650000 ( 0.662502)
---------------------------------------------
ChunkyPNG (0.8.0) encoding benchmark (n=50)
---------------------------------------------
Rehearsal -------------------------------------------------------
Default (indexed) 4.100000 0.030000 4.130000 ( 4.188749)
:fast_rgba 0.190000 0.020000 0.210000 ( 0.220310)
:fast_rgb 0.250000 0.010000 0.260000 ( 0.257738)
:best_compression 4.110000 0.010000 4.120000 ( 4.154515)
:rgb 0.290000 0.010000 0.300000 ( 0.301625)
:rgba 0.250000 0.020000 0.270000 ( 0.272359)
:indexed 4.100000 0.020000 4.120000 ( 4.169162)
:interlaced 4.080000 0.010000 4.090000 ( 4.159611)
to RGBA pixelstream 0.110000 0.010000 0.120000 ( 0.116916)
to RGB pixelstream 0.190000 0.000000 0.190000 ( 0.197960)
--------------------------------------------- total: 17.810000sec
user system total real
Default (indexed) 4.100000 0.020000 4.120000 ( 4.191522)
:fast_rgba 0.190000 0.020000 0.210000 ( 0.215437)
:fast_rgb 0.240000 0.010000 0.250000 ( 0.259411)
:best_compression 4.120000 0.020000 4.140000 ( 4.176344)
:rgb 0.290000 0.010000 0.300000 ( 0.304184)
:rgba 0.250000 0.020000 0.270000 ( 0.267072)
:indexed 4.100000 0.020000 4.120000 ( 4.189915)
:interlaced 4.110000 0.020000 4.130000 ( 4.294041)
to RGBA pixelstream 0.110000 0.010000 0.120000 ( 0.111918)
to RGB pixelstream 0.190000 0.000000 0.190000 ( 0.197713)
---------------------------------------------
ChunkyPNG (0.8.0) decoding benchmark (n=50)
---------------------------------------------
Rehearsal ---------------------------------------------------------
From PNG stream 45.787564 0.000000 45.787564 ( 45.787563)
From RGBA pixelstream 41.282573 0.000000 41.282573 ( 41.282583)
From RGB pixelstream 133.498381 0.000000 133.498381 (133.498389)
---------------------------------------------- total: 220.568518sec
user system total real
From PNG stream 44.196490 0.000000 44.196490 ( 44.196490)
From RGBA pixelstream 41.483915 0.000000 41.483915 ( 41.483912)
From RGB pixelstream 132.347571 0.000000 132.347571 (132.347571)
---------------------------------------------
ChunkyPNG (0.8.0) encoding benchmark (n=50)
---------------------------------------------
Rehearsal -------------------------------------------------------
Default (indexed) 9.540588 0.000000 9.540588 ( 9.540597)
:fast_rgba 2.890582 0.000000 2.890582 ( 2.890594)
:fast_rgb 17.591915 0.000000 17.591915 ( 17.591925)
:best_compression 8.356872 0.000000 8.356872 ( 8.356882)
:rgb 17.938712 0.000000 17.938712 ( 17.938724)
:rgba 2.921604 0.000000 2.921604 ( 2.921617)
:indexed 8.380271 0.000000 8.380271 ( 8.380280)
:interlaced 8.291827 0.000000 8.291827 ( 8.291839)
to RGBA pixelstream 2.487449 0.000000 2.487449 ( 2.487470)
to RGB pixelstream 17.537638 0.000000 17.537638 ( 17.537657)
--------------------------------------------- total: 95.937458sec
user system total real
Default (indexed) 8.320423 0.000000 8.320423 ( 8.320422)
:fast_rgba 2.803768 0.000000 2.803768 ( 2.803770)
:fast_rgb 17.571403 0.000000 17.571403 ( 17.571404)
:best_compression 8.324646 0.000000 8.324646 ( 8.324645)
:rgb 17.821193 0.000000 17.821193 ( 17.821194)
:rgba 2.919333 0.000000 2.919333 ( 2.919329)
:indexed 8.256014 0.000000 8.256014 ( 8.256014)
:interlaced 8.284549 0.000000 8.284549 ( 8.284548)
to RGBA pixelstream 2.506104 0.000000 2.506104 ( 2.506111)
to RGB pixelstream 17.545197 0.000000 17.545197 ( 17.545206)
---------------------------------------------
ChunkyPNG (0.8.0) decoding benchmark (n=50)
---------------------------------------------
Rehearsal ---------------------------------------------------------
From PNG stream 14.860000 0.100000 14.960000 ( 15.307194)
From RGBA pixelstream 0.080000 0.020000 0.100000 ( 0.098317)
From RGB pixelstream 0.730000 0.030000 0.760000 ( 0.770460)
----------------------------------------------- total: 15.820000sec
user system total real
From PNG stream 14.910000 0.100000 15.010000 ( 15.481095)
From RGBA pixelstream 0.070000 0.020000 0.090000 ( 0.091951)
From RGB pixelstream 0.740000 0.040000 0.780000 ( 0.791221)
---------------------------------------------
ChunkyPNG (0.8.0) encoding benchmark (n=50)
---------------------------------------------
Rehearsal -------------------------------------------------------
Default (indexed) 12.320000 0.070000 12.390000 ( 12.805626)
:fast_rgba 1.130000 0.040000 1.170000 ( 1.241850)
:fast_rgb 1.130000 0.020000 1.150000 ( 1.200011)
:best_compression 12.360000 0.050000 12.410000 ( 12.733659)
:rgb 1.170000 0.010000 1.180000 ( 1.194825)
:rgba 1.160000 0.030000 1.190000 ( 1.199667)
:indexed 12.300000 0.040000 12.340000 ( 12.419005)
:interlaced 12.370000 0.070000 12.440000 ( 12.800460)
to RGBA pixelstream 1.040000 0.010000 1.050000 ( 1.065599)
to RGB pixelstream 1.090000 0.020000 1.110000 ( 1.179455)
--------------------------------------------- total: 56.430000sec
user system total real
Default (indexed) 12.330000 0.080000 12.410000 ( 12.910316)
:fast_rgba 1.110000 0.020000 1.130000 ( 1.194939)
:fast_rgb 1.130000 0.020000 1.150000 ( 1.166181)
:best_compression 12.330000 0.030000 12.360000 ( 12.442252)
:rgb 1.150000 0.010000 1.160000 ( 1.157331)
:rgba 1.140000 0.020000 1.160000 ( 1.158733)
:indexed 12.260000 0.010000 12.270000 ( 12.288611)
:interlaced 12.260000 0.020000 12.280000 ( 12.293609)
to RGBA pixelstream 1.020000 0.010000 1.030000 ( 1.019782)
to RGB pixelstream 1.080000 0.000000 1.080000 ( 1.083954)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment