[Mono-devel-list] The first (attempt to checkin) managed collation patch
Atsushi Eno
atsushi at ximian.com
Wed Jul 20 22:39:13 EDT 2005
Atsushi Eno wrote:
> I can build mcs with this managed collation mode and all corlib
> tests pass (I guess other tests as well).
>
> When this managed collation is enabled, it will eat huge managed
> resource (and will make you sad when you run mono --profile ;-).
> I can make this into unmanaged header file if we want.
I measured the performance for mcs.exe build and put the results
here:
http://monkey.workarea.jp/tmp/20050720/prof-no-collation.txt
http://monkey.workarea.jp/tmp/20050720/prof-managed-collation.txt
Without managed collation:
Time(ms) Count P/call(ms) Method name
########################
42615.000 10244 4.160 Mono.CSharp.Block::Resolve(EmitContext)
Total memory allocated: 54744 KB
With managed collation:
Time(ms) Count P/call(ms) Method name
########################
46646.000 10244 4.553 Mono.CSharp.Block::Resolve(EmitContext)
Total memory allocated: 54926 KB
So it was not that big, _only_ 200KB, while I thought it was bigger.
It also tells that the performance is so bad (well, it is not fair
comparison since no collation comparison is much faster).
Atsushi Eno
More information about the Mono-devel-list
mailing list