Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created June 4, 2009 17:30
Show Gist options
  • Save dbussink/123726 to your computer and use it in GitHub Desktop.
Save dbussink/123726 to your computer and use it in GitHub Desktop.
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ TOTAL=5000 ~/.multiruby/install/mri_rel_1_9_1/bin/ruby benchmark/rubinius/bm_array_each.rb
Rehearsal ----------------------------------------------
loop 0.000000 0.000000 0.000000 ( 0.000700)
Array#each 2.680000 0.010000 2.690000 ( 2.828684)
------------------------------------- total: 2.690000sec
user system total real
loop 0.000000 0.000000 0.000000 ( 0.000649)
Array#each 2.680000 0.010000 2.690000 ( 2.781970)
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ TOTAL=5000 ~/.multiruby/install/mri_rel_1_8_7/bin/ruby benchmark/rubinius/bm_array_each.rb
Rehearsal ----------------------------------------------
loop 0.000000 0.000000 0.000000 ( 0.000979)
Array#each 4.980000 0.010000 4.990000 ( 5.172747)
------------------------------------- total: 4.990000sec
user system total real
loop 0.000000 0.000000 0.000000 ( 0.000982)
Array#each 4.980000 0.020000 5.000000 ( 5.163842)
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ TOTAL=5000 ~/.multiruby/install/mri_rel_1_8_6/bin/ruby benchmark/rubinius/bm_array_each.rb
Rehearsal ----------------------------------------------
loop 0.000000 0.000000 0.000000 ( 0.000919)
Array#each 4.650000 0.010000 4.660000 ( 4.806592)
------------------------------------- total: 4.660000sec
user system total real
loop 0.010000 0.000000 0.010000 ( 0.000939)
Array#each 4.700000 0.020000 4.720000 ( 4.939418)
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ TOTAL=5000 ./bin/rbx benchmark/rubinius/bm_array_each.rb Rehearsal ----------------------------------------------
loop 0.001062 0.000000 0.001062 ( 0.000983)
Array#each 6.194887 0.000000 6.194887 ( 6.194889)
------------------------------------- total: 6.195949sec
user system total real
loop 0.000981 0.000000 0.000981 ( 0.000988)
Array#each 6.183497 0.000000 6.183497 ( 6.183503)
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ TOTAL=5000 ./bin/rbx -Xjit.enabled benchmark/rubinius/bm_array_each.rb
Rehearsal ----------------------------------------------
loop 0.001206 0.000000 0.001206 ( 0.001062)
Array#each 3.859677 0.000000 3.859677 ( 3.859094)
------------------------------------- total: 3.860883sec
user system total real
loop 0.000999 0.000000 0.000999 ( 0.000975)
Array#each 3.875711 0.000000 3.875711 ( 3.875772)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment