JRuby + invokedynamic on IKVM.NET
Christian Thalinger
christian.thalinger at oracle.com
Tue Aug 16 07:41:43 PDT 2011
Very cool!
-- Christian
On Aug 16, 2011, at 3:46 PM, Jeroen Frijters wrote:
> 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
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list