[PATCH] Improve profiling doc and make the data easier to visualise

Ian Clatworthy ian.clatworthy at internode.on.net
Mon May 28 03:43:43 BST 2007


All,

Here's a patch that fixes some bugs in the conversion of lsprof data to 
make it viewable in KCacheGrind. ddaa had this going some time back 
(http://ddaa.net/blog/python/lsprof-calltree) but it looks like changes 
to Python (2.5 I'm guessing) broke it. I've checked with Jean Paul 
Calderone re including his fixes and he has agreed. I've also added 
automatic conversion to either text format or callgrind format based on 
the filename given to --lsprof-file and enhanced HACKING to include some 
doc on how to get at the profiling data.

Ian C.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: profiling-easier.patch
Type: text/x-patch
Size: 5497 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070528/e0020277/attachment.bin 


More information about the bazaar mailing list