Progress on CGI::Application::Plugin::DBIProfiler

samtregar on 2005-06-06T04:16:00

I've made some progress on a new module this weekend - CGI::Application::Plugin::DBIProfiler. Check it out:

http://sam.tregar.com/dbiprof_progress.png

That's the screen that pops up when you access a runmode of a CGI::App using the module. It shows profiling data for all DBI usage triggered by the request.

Of course, if it was done I'd be releasing it. I need to figure out why I'm getting bogus statement-less profile nodes (might be the fault of my test app rather than DBI::Profile). I also need to test it with a persistent DB handle between requests. I think I might need to make a patch to DBI::ProfileDumper to get that working right.

I'll also need to wait for CGI::Application v4.0 to release the module since it uses the new callback interface.

-sam


Re: Progress on C::A::P::DBIProfile

kid51 on 2005-06-29T15:55:00

This plugin was "plugged" by Michael Peters in his talk on Pluggable Web Applications with CGI::Application at YAPC in Toronto this morning. I look forward to getting a better look at it.

Re: Progress on C::A::P::DBIProfile

samtregar on 2005-06-29T17:00:37

Cool, good to hear. I'm waiting for the next release of DBI as it will contain a patch needed to get CAP::DBIProfile working. I also need to do some work to get it working properly under mod_perl with persistent DB connections.

-sam