[Python-Dev] s/hotshot/lsprof

Armin Rigo arigo at tunes.org
Mon Nov 21 16:09:33 CET 2005


Hi Barry,

On Mon, Nov 21, 2005 at 09:25:05AM -0500, Barry Warsaw wrote:
> hotshot used to produce incorrect data because it couldn't track exits
> from functions due to exception propagation.  We fixed that a while back

It might be me, but I find it a bit odd that you didn't do anything with
this fix.  I'm sure that for each alternate profiler posted on SF there
are ten half-finished ones on somebody's box.  The problem of hotshot
producing slightly wrong data is not new, and in hindsight the
discrepencies only became larger in 2.4 with the introduction of new
tracing events (C function calls). 

At this point I'm interpreting your mail as saying that you don't really
mind if hotshot is in the standard library or not, because you are using
your own fixed version anyway.  Nobody is proposing to wipe out hotshot
from the face of the planet.  Sorry if I sound offensive, but I'd rather
hear the opinion of people that care about the stdlib.

Armin


More information about the Python-Dev mailing list