Skip to content

Instantly share code, notes, and snippets.

@headius
Created April 29, 2009 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/103510 to your computer and use it in GitHub Desktop.
Save headius/103510 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ mono jruby.exe -v bench/bench_fib_recursive.rb 3
jruby 1.3.0 (ruby 1.8.6p287) (2009-04-28 6586) (IKVM.NET 1.6.0) [i386-java]
1.318000 0.000000 1.318000 ( 1.242000)
1.246000 0.000000 1.246000 ( 1.246000)
1.218000 0.000000 1.218000 ( 1.218000)
~/projects/jruby ➔ ruby -v bench/bench_fib_recursive.rb 3
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
1.280000 0.000000 1.280000 ( 1.299662)
1.290000 0.010000 1.300000 ( 1.312427)
1.300000 0.000000 1.300000 ( 1.315528)
~/projects/jruby ➔ mono jruby.exe --fast bench/bench_fib_recursive.rb 3
0.607000 0.000000 0.607000 ( 0.571000)
0.560000 0.000000 0.560000 ( 0.561000)
0.554000 0.000000 0.554000 ( 0.554000)
~/projects/jruby ➔ bin/jruby -v bench/bench_fib_recursive.rb 3
jruby 1.3.0 (ruby 1.8.6p287) (2009-04-28 6586) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_07) [x86_64-java]
0.375000 0.000000 0.375000 ( 0.340000)
0.198000 0.000000 0.198000 ( 0.197000)
0.192000 0.000000 0.192000 ( 0.193000)
~/projects/jruby ➔ bin/jruby --fast bench/bench_fib_recursive.rb 3
0.362000 0.000000 0.362000 ( 0.316000)
0.140000 0.000000 0.140000 ( 0.141000)
0.141000 0.000000 0.141000 ( 0.142000)
~/projects/jruby ➔ mono jruby.exe -rirb -eIRB.start
irb(main):001:0> require 'java'
=> true
irb(main):002:0> puts java.lang.System.get_property 'java.vm.name'
IKVM.NET
=> nil
irb(main):003:0> quit
~/projects/jruby ➔
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment