[py-dev] using Python profiler with py.test

Matthew Scott mscott at goldenspud.com
Fri Mar 4 12:30:48 MET 2005


holger krekel wrote:
> Anyway, i think that we should rather try to incorporate 
> hotshot rather than profile directly into py.test as this is the 
> recommended way of doing profiling these days ASFAIK.  (Btw, I assume 
> we want to profile the tested application and not py.test itself ...)
> Do you have a suggestion for a cmdline-API? 

D'oh!  I haven't tried hotshot yet.  This was my first attempt at 
profiling something in Python so I just gravitated toward something that 
had was based on the same root word :)

I'll check out hotshot, since I haven't yet... :)


-- 
Matthew R. Scott


More information about the py-dev mailing list