[Numpy-discussion] profiling line by line
Mon Sep 15 22:12:19 CDT 2008
Robert Kern wrote:
> On Mon, Sep 15, 2008 at 21:43, David Cournapeau
> <firstname.lastname@example.org> wrote:
>> You can do it with kcachegrind, which is arguably more powerful, but it
>> is a bit a pain to set up.
> No, that's with cProfile, which doesn't support line-by-line profiling.
You're right, I did it with hotshot, I did not paste the right link,
sorry. The right one should be:
Both profiles (cProfile and hotshot) formats are usable with
kcachegrind, but you have to convert first the profiles, so it is not as
integrated as if everything was in python. It does give you information
similar as matlab, which is one thing I missed from matlab too when I
started using python.
More information about the Numpy-discussion