On Oct 14, 2008, at 3:36 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:

> How do we implement the hotshot profiler as described in
>
> http://www.onlamp.com/pub/a/python/2005/12/15/profiling.html?

        Change the class used in dabo.lib.profilehooks.py on line 161 from  
FuncProfile to HotShotFuncProfile, and then profile as usual using the  
@profile decorator. I would read some of the comments in  
profilehooks.py in which the author criticizes the hotshot library for  
producing inaccurate values.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to