GC time debug...

Jeremy Hylton jeremy at alum.mit.edu
Thu Jun 26 22:55:31 CEST 2003


On Thu, 2003-06-26 at 02:47, David Jeske wrote:
> In debugging Python GC actions, it's really useful to know the amount
> of time Python spends doing the GC cycle (i.e. the pause time). I made
> a quick hack to do this, and I've attached the patch. It needs to be
> fixed to be portable. I wanted to just call floattime() from
> timemodule.c, but it wasn't clear how to do this from gcmodule.c.

Out of curiousity, what is this useful for?  Do you look for long pause
times and try to change the code to reduce them?

Jeremy







More information about the Python-list mailing list