Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2011 18:23
Show Gist options
  • Save anonymous/839104 to your computer and use it in GitHub Desktop.
Save anonymous/839104 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ ruby1.9 bench/bench_fib_recursive.rb 5
832040
0.220000 0.000000 0.220000 ( 0.222123)
832040
0.220000 0.000000 0.220000 ( 0.225292)
832040
0.220000 0.000000 0.220000 ( 0.219443)
832040
0.230000 0.000000 0.230000 ( 0.225590)
832040
0.220000 0.000000 0.220000 ( 0.223787)
~/projects/jruby ➔ jruby --server bench/bench_fib_recursive.rb 5
832040
0.407000 0.000000 0.407000 ( 0.295000)
832040
0.167000 0.000000 0.167000 ( 0.167000)
832040
0.167000 0.000000 0.167000 ( 0.167000)
832040
0.167000 0.000000 0.167000 ( 0.167000)
832040
0.166000 0.000000 0.166000 ( 0.166000)
~/projects/jruby ➔ jruby --server -Xcompile.dynopt=true bench/bench_fib_recursive.rb 5
832040
0.599000 0.000000 0.599000 ( 0.525000)
832040
0.097000 0.000000 0.097000 ( 0.097000)
832040
0.099000 0.000000 0.099000 ( 0.099000)
832040
0.096000 0.000000 0.096000 ( 0.096000)
832040
0.097000 0.000000 0.097000 ( 0.097000)
~/projects/jruby ➔ jruby --server -Xcompile.dynopt=true -Xcompile.noguards=true bench/bench_fib_recursive.rb 5
832040
0.562000 0.000000 0.562000 ( 0.489000)
832040
0.058000 0.000000 0.058000 ( 0.058000)
832040
0.058000 0.000000 0.058000 ( 0.057000)
832040
0.057000 0.000000 0.057000 ( 0.057000)
832040
0.058000 0.000000 0.058000 ( 0.058000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment