[Mono-dev] Make use of --desktop and --server VM modes [was Re: ToString() performace in Mono revisited]
robertj at gmx.net
Mon Dec 31 08:44:31 EST 2007
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
>> (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.
More information about the Mono-devel-list