On 19 Feb 2012, at 12:36, Adam Sjøgren wrote:

>  Hi
> 
> Has anyone built something similar to this:
> 
> * http://code.google.com/p/mvc-mini-profiler/
> 
> for Catalyst?


Not quite the same, but I use DBIx::Class::QueryLog to optionally
profile the db queries.

A bit of code in the root controller begin/end actions turns on/off
the query logging (controlled by a config variable/environment variable
or a CGI query parameter, with the querylog object in the stash.  The 
page footer template  includes a div with a table summary pushed into
it.  Works well for me.

        Nigel.
--
[ Nigel Metheringham ------------------------------ [email protected] ]
[                 Ellipsis Intangible Technologies                  ]



_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to