Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created March 19, 2010 15:00
Show Gist options
  • Select an option

  • Save BanzaiMan/337572 to your computer and use it in GitHub Desktop.

Select an option

Save BanzaiMan/337572 to your computer and use it in GitHub Desktop.
aotearoa:bench[git:master]$ jruby -v
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-18 646afea) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
aotearoa:bench[git:master]$ jruby png_type_6.rb
Rehearsal ----------------------------------------------
PNG Type 6 7.754000 0.000000 7.754000 ( 7.679000)
------------------------------------- total: 7.754000sec
user system total real
PNG Type 6 6.713000 0.000000 6.713000 ( 6.713000)
aotearoa:bench[git:master]$ jruby --fast png_type_6.rb
Rehearsal ----------------------------------------------
PNG Type 6 6.040000 0.000000 6.040000 ( 5.958000)
------------------------------------- total: 6.040000sec
user system total real
PNG Type 6 4.421000 0.000000 4.421000 ( 4.421000)
aotearoa:bench[git:master]$ ruby1.9 -v; ruby1.9 png_type_6.rb
ruby 1.9.2dev (2010-02-13 trunk 26652) [x86_64-darwin10.2.0]
Rehearsal ----------------------------------------------
PNG Type 6 5.670000 0.090000 5.760000 ( 5.804085)
------------------------------------- total: 5.760000sec
user system total real
PNG Type 6 5.650000 0.080000 5.730000 ( 5.795153)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment