JRuby + invokedynamic on IKVM.NET
Rémi Forax
forax at univ-mlv.fr
Tue Aug 16 06:57:58 PDT 2011
On 08/16/2011 03:46 PM, Jeroen Frijters wrote:
> Hi everyone,
Hi Jeroen,
>
> 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.
Not only cool but impressive !
Do you have changed the argument of fib, the result
is different from one post by Charles ?
>
> Regards,
> Jeroen
Regards,
Rémi
More information about the mlvm-dev
mailing list