I've made some progress on a new module this weekend - CGI::Application::Plugin::DBIProfiler. Check it out:
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
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