This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou
Date 2008-12-17.23:06:17
SpamBayes Score 1.1067046e-05
Marked as misclassified No
Message-id <1229555179.58.0.313721223376.issue4687@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2008-12-17 23:06:20pitrousetrecipients: + pitrou
2008-12-17 23:06:19pitrousetmessageid: <1229555179.58.0.313721223376.issue4687@psf.upfronthosting.co.za>
2008-12-17 23:06:18pitroulinkissue4687 messages
2008-12-17 23:06:17pitroucreate