[Python-Dev] s/hotshot/lsprof

Brett Cannon bcannon at gmail.com
Mon Nov 21 21:16:58 CET 2005


On 11/21/05, skip at pobox.com <skip at pobox.com> wrote:
>
>     Jeremy> Here's another attempt to disentagle some issues:
>     Jeremy> - Should lsprof be added to the standard distribution?
>     Jeremy> - Should hotshot be removed from the standard distribution?
>
> Adding another log to the fire, what about statprof, a sampling profiler,
> which Neil Schemenauer mentioned?  I installed it here at work.  Seems to
> work as advertised.  Took me about two minutes to modify our main app to
> accept a -P command line flag to enable statprof profiling.  It has the
> beauty of being minimally invasive since it only samples the execution state
> every 100ms or so.  Of course, sampling profilers have their own warts, but
> they avoid some of the problems of instrumenting profilers.
>

My question is whether anyone is willing to maintain it in the stdlib?

-Brett


More information about the Python-Dev mailing list