[Mono-bugs] [Bug 565637] Memory allocation very slow
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 23 08:27:14 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=565637
http://bugzilla.novell.com/show_bug.cgi?id=565637#c5
Mark Probst <mprobst at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mprobst at novell.com
--- Comment #5 from Mark Probst <mprobst at novell.com> 2009-12-23 13:27:08 UTC ---
SGen on trunk runs this simple test
public class main {
public static int Main () {
int i;
for (i = 0; i < 50000000; ++i) {
object [] arr = new object [32];
}
return 0;
}
}
in 9 seconds, vs 73 seconds with Boehm. Note, however, that the speedup is to
a big part due not to better allocation speed, but to the fact that a copying
garbage collector deals with ephemeral garbage much better. Running both with
--stats we get for SGen:
Minor GC collections: 14171
Major GC collections: 567
Minor GC time in msecs: 893.863000
Major GC time in msecs: 1064.391000
and for Boehm:
Major GC collections: 159746
Major GC time in msecs: 48177.850000
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list