Re: performance debugging

"P.J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Thu, 26 Mar 2009 13:26:12 -0400
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
At 11:03 AM 3/26/2009 +0200, Peter Damoc wrote:
>Hello,
>
>Is there a way to get e better idea about the time spent doing the 
>recomputing of various trellis attributes?
>
>I have a monster trellis.Component that maintains a lot of attributes.
>Now I've hit a performance bottleneck and I would like to try and 
>optimize some of the recomputing.

Standard profiling should tell you which of your functions or methods 
are being called most frequently and consuming the most direct 
computation time.