Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Created April 29, 2009 01:16
Show Gist options
  • Save headius/103510 to your computer and use it in GitHub Desktop.
Save headius/103510 to your computer and use it in GitHub Desktop.

Revisions

  1. headius revised this gist Apr 29, 2009. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion gistfile1.txt
    View file
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,31 @@
    ~/projects/jruby ➔ mono jruby.exe bench/bench_fib_recursive.rb 3
    ~/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
  2. headius created this gist Apr 29, 2009.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    View file
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    ~/projects/jruby ➔ mono jruby.exe bench/bench_fib_recursive.rb 3
    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 ➔ 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 ➔ 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 ➔

AltStyle によって変換されたページ (->オリジナル) /