[Mono-list] Java / Mono performance diff (convolution benchmark)

Geoff Norton gnorton at novell.com
Fri Jan 29 19:08:15 EST 2010


Jonathan,

  If you check mono out from SVN you can use eglib on osx instead of eglib; rough directions:

cd src/mono/eglib
autoreconf -i
cd ..
autoreconf -i
/configure --prefix=/whatever --with-glib=embedded
make && make install

On 2010-01-29, at 5:46 PM, Jonathan Shore wrote:

> 
> Hi,
> 
> In my haste to do the prior benchmark, as Jon Harrop pointed out, there was some dead code (or rather dead work that was not going to be used).    I wrote a new benchmark based on real code that I use.   In this case a multivariate 1D FIR convolution.    So as not to include the kitchen sink of dependencies with my libraries wrote some simple substitutes.  Be aware that because of this the code is non-idiomatic C# and the same is true for the Java version.    Not trying to win design points with this test.
> 
> Again, this algorithm is array bound.   But the test has no code that can be optimised away (that I am aware of) unlike the prior test.
> 
> The performance results are:
> 
> 	Mono:	2 min, 2 secs
> 	Java:	0 min, 58 secs
> 
> The mailer will not allow posts with more than a few K, so will send in a followup message (awaiting moderation).
> 
> As I've not been able to build glib on OSX, have not yet been able to try this with the LLVM option.
> 
> regards
> 
> Jonathan
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list