[SciPy-user] profiling
Robert Kern
robert.kern at gmail.com
Mon Jan 19 23:13:17 EST 2009
On Mon, Jan 19, 2009 at 22:12, Robert Kern <robert.kern at gmail.com> wrote:
> On Mon, Jan 19, 2009 at 22:08, Andrew Straw <strawman at astraw.com> wrote:
>> It's a pity I can't find this written up any better, but use
>> lsprofcalltree.py to convert the results from cProfile to kcachegrind.
>> Here's a howto for another project which is somewhat relevant,
>> especially the patch to the 'if __name__ == "__main__":' section to show
>> you how to use it:
>>
>> http://lists.baseurl.org/pipermail/yum-devel/2007-January/003045.html
>>
>> You'll have to download lsprofcalltree from somewhere, but I highly
>> recommend this approach.
>
> It's been packaged up officially here:
>
> http://pypi.python.org/pypi/pyprof2calltree/1.1.0
Notably, you don't have to modify your script at all anymore.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-User
mailing list