Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: GC time debug... (http://www.velocityreviews.com/forums/t318890-re-gc-time-debug.html)

Jeremy Hylton 06-26-2003 08:55 PM

Re: GC time debug...
 
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





All times are GMT. The time now is 04:09 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57