I can't help with CherryPy 3, as I never used it much, but you might want
to try with a framework agnostic solution like repoze.profile which should
work also with TG1.5

Before the TurboGears DebugBar had built-in support for profiling it was
the tool I used most for code profiling and you can mount it as a plain
WSGI middleware around any application:

http://docs.repoze.org/profile/

On Tue, Sep 30, 2014 at 9:59 AM, fetchinson . <[email protected]>
wrote:

> I'd like to use the built-in cherrypy profiler with a tg 1.5
> application and it looks like the docs are out of date: the page
> http://www.turbogears.org/1.0/docs/Optimization.html#profiling refers
> to cherrypy 2.x but tg 1.5 comes with cherrypy 3.x and profiling I
> think changed. I found some info on
> http://stackoverflow.com/questions/16630208/profiling-cherrypy which I
> guess refers to cherrypy 3.x but in order to use that I'd need to go
> into the tg source (I guess).
>
> What's the ideal and "official" way to use the built-in cherrypy
> profiler (and especially the web based reporting tool of cherrypy
> profiler.py) with tg 1.5?
>
> Cheers,
> Daniel
>
>
> --
> Psss, psss, put it down! - http://www.cafepress.com/putitdown
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to