[Mono-list] mono performance, 20x differential with Java (what am i doing wrong)

Jonathan Shore jonathan.shore at gmail.com
Fri Jan 29 17:54:53 EST 2010


On Jan 29, 2010, at 1:43 PM, Miguel de Icaza wrote:

> 
> 	* Our Arrays-bounds-check elimination code is not as strong
> 	  as it could be.    One thing that you can do, for tasks that
> 	  will take days to run, and where you know that you will not
> 	  get an out-of-range exception is to remove from the
> 	  runtime arrays bounds checking.
> 

Thanks.   I can get by with "unsafe" for C# code.   That said, I am unsure if I will have any opportunities to do this in the context of F#.    Is it possible to turn off array bounds checking from VM args for my long running stuff?

>    I recently did both of those, and it results in a 4x performance
> improvement in SciMark and matches Java's performance.

nice!    Sounds very promising.    Would you plan to fold this into the distributed VM?

> 



More information about the Mono-list mailing list