profiler

Robert Brewer fumanchu at amor.org
Tue Aug 24 06:11:53 CEST 2004


grv575 wrote:
> I have some speed-critical loops involving numarray arrays and need to
> see which part is taking all the time.  Is there a seperate profiling
> tool or how do you go about profiling everything (broken down by
> module/function) in an interpreted language like python?

The Standard Library has a module named "hotshot" which you might want
to take a look at:

http://docs.python.org/lib/module-hotshot.html

...which is a replacement for the older "profile" module:

http://docs.python.org/lib/module-profile.html


HTH,

FuManChu



More information about the Python-list mailing list