JRuby + invokedynamic on IKVM.NET
Jeroen Frijters
jeroen at sumatra.nl
Tue Aug 16 06:46:29 PDT 2011
Hi everyone,
I "finished" the initial JSR292 implementation. I haven't done any performance work and it shows:
ikvm -Djruby.compile.invokedynamic=false -jar jruby-complete-1.7.0.dev.jar bench\bench_fib_complex.rb
normal fib
832040
0.286000 0.000000 0.286000 ( 0.286000)
fib with constants
832040
0.640000 0.000000 0.640000 ( 0.640000)
fib with additional calls
832040
0.540000 0.000000 0.540000 ( 0.541000)
fib with constants and additional calls
832040
0.832000 0.000000 0.832000 ( 0.832000)
ikvm -Djruby.compile.invokedynamic=true -jar jruby-complete-1.7.0.dev.jar bench\bench_fib_complex.rb
normal fib
832040
1.267000 0.000000 1.267000 ( 1.267000)
fib with constants
832040
1.960000 0.000000 1.960000 ( 1.959000)
fib with additional calls
832040
3.658000 0.000000 3.658000 ( 3.659000)
fib with constants and additional calls
832040
3.696000 0.000000 3.696000 ( 3.696000)
Still, pretty cool that it works now.
Regards,
Jeroen
More information about the mlvm-dev
mailing list