[Mono-dev] Make use of --desktop and --server VM modes [was Re: ToString() performace in Mono revisited]

Eyal Alaluf eyala at mainsoft.com
Mon Dec 31 10:14:43 EST 2007

My measurements (on a slightly different patch) show a small tradeoff of ~10% in performance.
Actually on .Net it's even smaller and varies between 3-5%.


-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert Jordan
Sent: 31 December 2007 15:45
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Make use of --desktop and --server VM modes [was Re: ToString() performace in Mono revisited]

Mirco Bauer wrote:
> On Mon, 2007-12-31 at 10:58 +0900, Atsushi Eno wrote:
>> Oops yes ;-)
>> BTW Kazuki cooked patches to reduce those memory usage with little
>> cost:
>> http://kserver.panicode.com/memo/2007/12/30/0
>> (327KB -> 57KB)
> looking at those number like:
> CPU 9.3sec -> 31.5sec
> MEM 389KB -> 32KB
> gives me mixed feelings, it's the typical: use less memory needs more
> CPU scenario.

Then you must be reading Japanese better than I do ;-)
Hint: scroll down to see the real results.

> I still believe we should start optimizing both ends and using the
> --desktop and --server modes we already support but which we are not
> using yet.

This is wrong, at least in the context of this mail. Those switches
will affect JIT compiler optimizations, whereas this mail is
about suboptimal implementation of ToString (). Even a über-JIT
won't be able to turn a suboptimal algorithm into a good one.


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list