Skip to content

Instantly share code, notes, and snippets.

@janester
Created September 16, 2014 21:23
Show Gist options
  • Save janester/eb16ba51b8e269b1945f to your computer and use it in GitHub Desktop.
Save janester/eb16ba51b8e269b1945f to your computer and use it in GitHub Desktop.
Benchmark Results For Keeping the Files in Memory as IO Streams
##################### ORIGINAL #####################################
user system total real
transform only 200x200> 0.120000 0.020000 2.050000 ( 2.146060)
transform only 200x200> 0.010000 0.020000 1.940000 ( 2.010794)
transform only 200x200> 0.130000 0.030000 2.050000 ( 2.114612)
transform only 200x200> 0.000000 0.020000 1.920000 ( 2.013042)
transform only 200x200> 0.130000 0.030000 2.040000 ( 2.124130)
transform only 200x200> 0.010000 0.020000 1.950000 ( 2.026902)
transform only 200x200> 0.120000 0.030000 2.030000 ( 2.105908)
transform only 200x200> 0.010000 0.030000 1.970000 ( 2.037373)
transform only 200x200> 0.110000 0.020000 2.000000 ( 2.104784)
transform only 200x200> 0.010000 0.030000 1.900000 ( 1.980579)
user system total real
transform only 1280x1280> 0.130000 0.030000 2.330000 ( 2.412849)
transform only 1280x1280> 0.010000 0.020000 2.190000 ( 2.260934)
transform only 1280x1280> 0.120000 0.030000 2.310000 ( 2.395571)
transform only 1280x1280> 0.010000 0.020000 2.250000 ( 2.337561)
transform only 1280x1280> 0.130000 0.030000 2.340000 ( 2.430274)
transform only 1280x1280> 0.010000 0.030000 2.180000 ( 2.251042)
transform only 1280x1280> 0.120000 0.030000 2.340000 ( 2.423038)
transform only 1280x1280> 0.010000 0.020000 2.230000 ( 2.314865)
transform only 1280x1280> 0.110000 0.030000 2.310000 ( 2.391254)
transform only 1280x1280> 0.010000 0.020000 2.170000 ( 2.245813)
######################## STREAMING FILES #############################
user system total real
transform only 200x200> 0.010000 0.010000 1.910000 ( 1.951343)
transform only 200x200> 0.000000 0.020000 1.890000 ( 1.937392)
transform only 200x200> 0.010000 0.020000 1.890000 ( 1.924278)
transform only 200x200> 0.000000 0.010000 1.880000 ( 1.920615)
transform only 200x200> 0.000000 0.010000 1.880000 ( 1.952209)
transform only 200x200> 0.010000 0.010000 1.950000 ( 1.987983)
transform only 200x200> 0.000000 0.020000 1.870000 ( 1.916465)
transform only 200x200> 0.010000 0.010000 1.870000 ( 1.916468)
transform only 200x200> 0.010000 0.010000 1.910000 ( 1.960359)
transform only 200x200> 0.000000 0.020000 1.900000 ( 1.953146)
user system total real
transform only 1280x1280> 0.130000 0.040000 2.230000 ( 2.263856)
transform only 1280x1280> 0.010000 0.010000 2.080000 ( 2.142881)
transform only 1280x1280> 0.010000 0.020000 2.130000 ( 2.161274)
transform only 1280x1280> 0.000000 0.010000 2.070000 ( 2.113533)
transform only 1280x1280> 0.010000 0.010000 2.070000 ( 2.120306)
transform only 1280x1280> 0.010000 0.020000 2.080000 ( 2.101184)
transform only 1280x1280> 0.120000 0.020000 2.170000 ( 2.225335)
transform only 1280x1280> 0.000000 0.020000 2.070000 ( 2.116149)
transform only 1280x1280> 0.010000 0.010000 2.080000 ( 2.127776)
transform only 1280x1280> 0.000000 0.010000 2.160000 ( 2.199051)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment