Message77993
With gc.DEBUG_STATS, each GC collection displays the elapsed time.
Unfortunately, this elapsed time includes the debug overhead itself,
most notable the calls to gc_list_size() which can be quite expensive
with lots of objects in the older generation. Consequently, collections
of generation 0 will incorrectly appear as very expensive, while in
non-debug mode they are very cheap.
Here is a patch to get a more useful output, by not including the time
taken in gc_list_size(). |
|
Date |
User |
Action |
Args |
2008-12-17 23:06:20 | pitrou | set | recipients:
+ pitrou |
2008-12-17 23:06:19 | pitrou | set | messageid: <1229555179.58.0.313721223376.issue4687@psf.upfronthosting.co.za> |
2008-12-17 23:06:18 | pitrou | link | issue4687 messages |
2008-12-17 23:06:17 | pitrou | create | |
|