[Mono-dev] Big performance gaps between .NET, Mono (Suse/Debian) ?

Gladish, Jacob Jacob.Gladish at sig.com
Tue Oct 6 08:58:31 EDT 2009


There has been some chatter lately about the sgen garbage collector. Does anyone know how sgen performs relative to the current libgc?


________________________________
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Alan McGovern
Sent: Tuesday, October 06, 2009 6:46 AM
To: Lionel Cuir
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Big performance gaps between .NET, Mono (Suse/Debian) ?

Calling 'ToString' is just a GC benchmark. Yes, the current mono GC is slower than the .NET GC in this scenario. Your other tests also do a fair bit of allocating, so it's quite possible the entire performance loss you're seeing is just from the GC kicking in. If you want to test how fast you can add elements to a Dictionary, pre-allocate all the objects first and then time just the addition.

Alan.


________________________________
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091006/db2bb064/attachment-0001.html 


More information about the Mono-devel-list mailing list