Cherrypy profiling

9 views
Skip to first unread message

jacco...@gmail.com

unread,
Jul 24, 2008, 9:39:13 AM7/24/08
to cherrypy-users
Hi there,


I know there is a profiling tool for cherrypy. But it does not seem to
work with my setup where cherrypy acts as a wsgi application with
mod_wsgi under apache.

i added these entries to the global config:

cherrypy.config.update({'
'profiling.on' : True,
'profiling.path' : 'foo/'
})

but no profiles appear in that directory. I already checked whether
the rights of that dir are set ok.

Is the profilng tool only working with the builtin cherrypy server?

Any ideas?

BTW. Does anybody know how to generate the time information needed to
say: "This page was generated in %f seconds" % time ?



Thanks
Jacco
Reply all
Reply to author
Forward
0 new messages