[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] how to improve mono performance
From:       Marcus <mathpup () mylinuxisp ! com>
Date:       2005-11-18 7:58:01
Message-ID: 200511180158.01740.mathpup () mylinuxisp ! com
[Download RAW message or body]

From the measurements I've taken, MS .NET is generally 2 to 3 times faster 
than Mono, both using micro-benchmarks and applications that do "real" work.

I would also point out that your .NET test was on MS, whereas your Mono test 
was on Linux. Exception-handling on MS is thought to be very slow. So that 
might explain part of the reason why Mono was so much faster on that 
component.

As for the strings and StringBuilder, in MS, string and StringBuilder share 
some internal data structures and use a helper class. So their string 
operations and conversions between string and StringBuilder are very fast.

> That being said, some possible reasons for slowness:
>
> ArrayList/StringBuilder:
> 	Likely the GC.
>
> Floating Point:
> 	I think msft may be taking advantage of some special hardware stuff. I
> highly doubt this is relevant to your application.
>
> Exceptions:
> 	We super optimized this path :-)

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic