[Zope3-Users] Re: execution time of a request?

Christophe Combelles ccomb at free.fr
Sun Apr 8 07:04:08 EDT 2007


Marius Gedminas a écrit :
> On Sat, Apr 07, 2007 at 01:21:39PM +0200, Jürgen Kartnaller wrote:
>> By the way, marius, thanks for your great profiling library.
> 
> That's a bit misleading.  The profiling library resides in the Python
> standard library, I just wrote a convenient decorator for it (mostly
> because I could never remember how to use the profile/hotshot modules).
> http://mg.pov.lt/blog/profiling.html
> 
> Speaking of which, has anybody ever succeeded in profiling Zope 3 unit
> tests?  I get an exception at the very end, and no useful results.

Not unit tests, but I've tried to profile some functions, like __call__ or 
ViewPageTemplateFile,
and I always end up with errors.
Either __call__ has a missing parameter, or the function has no __name__,
or nothing at all.

Christophe


> 
> Marius Gedminas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list