On Wed, May 30, 2012 at 11:23 AM, fREW Schmidt <[email protected]> wrote:
> On Wed, May 30, 2012 at 8:23 AM, David Cantrell <[email protected]>wrote: > >> On Wed, May 30, 2012 at 06:03:52AM -0500, Bill Moseley wrote: >> >> > Of course, with DBIC it's a bit more difficult to define "where" a query >> > comes from since it can get built in parts and doesn't get executed >> until >> > it's used. Plus, we already have code that reports on "slow" queries >> (or >> > excessive queries) in a given web request. >> > >> > Still, Is there any existing module that would do something like this >> this? >> > I'm not sure what it would put in outside of a stack trace. >> >> You mean like this? >> >> http://search.cpan.org/~dcantrell/DBIx-Class-QueryLog-WithStackTrace-1.0/ >> > > Similarly: > https://metacpan.org/module/FREW/DBIx-Class-UnicornLogger-0.001000/lib/DBIx/Class/UnicornLogger.pm > I would imagine, that the query isn't slow until the precise moment it's executed, at which point I'd want to log and comment. Len. -- [email protected] 614-404-4214 www.volunteerable.net Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage Greenbar <http://www.greenbartraining.org/>: Grubmaster: 2012-2009, Grub Asst: 2008, Trained: 2007.
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
