Projects, which use JSR292

Charles Oliver Nutter headius at headius.com
Fri Feb 18 03:56:58 PST 2011


On Fri, Feb 18, 2011 at 5:52 AM, Charles Oliver Nutter
<headius at headius.com> wrote:
> I did just land another revision that allows Ruby to Ruby calls
> meeting the above criteria to bind all the way through, and
> performance dropped precipitously:

The degradation for tak is just as significant:

Before:

~/projects/jruby ➔
JAVA_HOME=../mlvm/sources/build/bsd-i586/j2sdk-image/ jruby -X+C
-Xcompile.invokedynamic=true -J-XX:+UnlockExperimentalVMOptions
-J-XX:+EnableInvokeDynamic -J-XX:MaxInlineSize=150
-J-XX:InlineSmallCode=10000 bench/bench_tak.rb 5
      user     system      total        real
  1.267000   0.000000   1.267000 (  1.170000)
  0.953000   0.000000   0.953000 (  0.953000)
  0.950000   0.000000   0.950000 (  0.950000)
  0.963000   0.000000   0.963000 (  0.963000)
  0.955000   0.000000   0.955000 (  0.955000)

After:

~/projects/jruby ➔
JAVA_HOME=../mlvm/sources/build/bsd-i586/j2sdk-image/ jruby -X+C
-Xcompile.invokedynamic=true -J-XX:+UnlockExperimentalVMOptions
-J-XX:+EnableInvokeDynamic -J-XX:MaxInlineSize=150
-J-XX:InlineSmallCode=10000 bench/bench_tak.rb 5
      user     system      total        real
  3.876000   0.000000   3.876000 (  3.789000)
  3.284000   0.000000   3.284000 (  3.284000)
  3.307000   0.000000   3.307000 (  3.306000)
  3.284000   0.000000   3.284000 (  3.284000)
  3.286000   0.000000   3.286000 (  3.286000)

- Charlie


More information about the mlvm-dev mailing list