lsprof (was: Re: [merge] Make merge internals private)

Wouter van Heyst larstiq at larstiq.dyndns.org
Thu Feb 2 15:56:20 GMT 2006


On Wed, Feb 01, 2006 at 11:22:49AM -0800, Robey Pointer wrote:
> 
> On 24 Jan 2006, at 9:38, John Arbash Meinel wrote:
> 
> >John Arbash Meinel wrote:
> >>Aaron Bentley wrote:
> >>
> >>
> >
> >I don't really understand the lsprof output yet. It looks like it does
> >some nice nested trees and such. But it doesn't look like it is sorted
> >in any reasonable way. Are there any nice viewers for lsprof output?
> 
> I think it can include cycles (maybe due to recursive calls?).  I  
> find the raw output nearly useless.
> 
> If you use my lsprof patch, you can dump the pickled data into a  
> file, and then use a processing script to massage it into a useful  
> format.  I run a simple little script that generates HTML files  
> (which I occasionally reference on this list) -- attached, in case  
> you want to play with it.  Someone else posted a script to massage  
> the data into a format for kcachegrind, if you use KDE.

That would be David, see http://ddaa.net/blog/python/lsprof-calltree
You don't really need to run KDE, but kcachegrind does depend on some of
the kde libraries.

Wouter van Heyst




More information about the bazaar mailing list