"monkeyboy" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello,
>
> I have a function that hotshot says is very slow. I can get the
> aggregate execution time, but is there a way to get the execution time
> of each line so I can find the bottleneck?
>
> Thank you
>

The PythonDecoratorLibrary page on the Python wiki has a link to a @profile 
decorator, that I have used to profile the contents of targeted functions 
(only just now, I don't seem to be able to get to the wiki to get the exact 
link).

-- Paul 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to