[Python-Dev] s/hotshot/lsprof

Armin Rigo arigo at tunes.org
Mon Nov 21 12:14:26 CET 2005

Hi Brett, hi Floris,

On Sat, Nov 19, 2005 at 04:12:28PM -0800, Brett Cannon wrote:
> Just  for everyone's FYI while we are talking about profilers, Floris
> Bruynooghe (who I am cc'ing on this so he can contribute to the
> conversation), for Google's Summer of Code, wrote a replacement for
> 'profile' that uses Hotshot directly.  Thanks to his direct use of
> Hotshot and rewrite of pstats it loads Hotshot data 30% faster and
> also alleviates keeping 'profile' around and its slightly questionable
> license.

Thanks for the note!  30% faster than an incredibly long time is still
quite long, but that's an improvment, I suppose.  However, this code is
not ready yet.  For example the new loader gives wrong results in the
presence of recursive function calls.

A bientot,


More information about the Python-Dev mailing list