[Patches] [ python-Patches-1100294 ] Log gc times when DEBUG_STATS set

SourceForge.net noreply at sourceforge.net
Fri Apr 21 03:34:19 CEST 2006


Patches item #1100294, was opened at 2005-01-11 11:11
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1100294&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Log gc times when DEBUG_STATS set

Initial Comment:
The attached patch adds collection time to the information
the garbage collector prints when DEBUG_STATS is
enabled.  I was more-or-less challenged at work to show
that garbage collection wouldn't cripple our long-running,
high-performance servers at crucial times.  This seemed
the best way to demonstrate that it didn't present a
problem.


----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2006-04-20 20:34

Message:
Logged In: YES 
user_id=44345

checked in as rev 45590.


----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-04-01 18:45

Message:
Logged In: YES 
user_id=12800

Sorry it's taken so long to review this.  +1.  I say go
ahead and apply it to Py 2.5.

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-03-05 22:26

Message:
Logged In: YES 
user_id=12800

Looks pretty good.  I wonder if you should call
PyErr_Clear() when the import or call fails?  Other than
that, +1


----------------------------------------------------------------------

Comment By: Skip Montanaro (montanaro)
Date: 2006-02-23 20:22

Message:
Logged In: YES 
user_id=44345

Must not have had the box checked.  Thank goodness I almost never
delete files in ~/tmp/...

Skip


----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-02-23 11:01

Message:
Logged In: YES 
user_id=12800

There's no patch here; are you sure you checked the
checkbox?  I'm actually putzing around in gcmodule.c atm to
address some related issues and I'd be willing to review
this patch if you attach it again.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1100294&group_id=5470


More information about the Patches mailing list