[Numpy-discussion] profiling line by line

Robert Kern robert.kern@gmail....
Mon Sep 15 22:09:50 CDT 2008


On Mon, Sep 15, 2008 at 21:43, David Cournapeau
<david@ar.media.kyoto-u.ac.jp> wrote:
> Michael McNeil Forbes wrote:
>> The hotshot profiler used to do this, but I don't think it is really
>> supported anymore...  I have not used it in a while, but agree that a
>> line-by-line profiler can be very nice.
>
> You can do it with kcachegrind, which is arguably more powerful, but it
> is a bit a pain to set up.
>
> http://jcalderone.livejournal.com/21124.html

No, that's with cProfile, which doesn't support line-by-line profiling.

-- 
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 Numpy-discussion mailing list