On Tue, 28 Nov 2000, Stas Bekman wrote:
> Looks like it does pretty much the same but returns too much info, which
> makes it quite hard to use when you have 100+ queries in some requests :)

I suspect it would be pretty easy to add in a threshold like the one in
your module.

> And fetch()es are quite irrelevant for performance improvements since they
> never change unless you compare TCP/IP vs UNIX sockets or one driver
> against the other.

I find the fetch information useful when deciding whether to do a more
complex query that retrieves fewer results or a simple one that retrieves
extra data and then sift through it in perl.

You could probably modify DBIx::Profile to support a flag for turning this
off.

> The only problem with DBIx::Profile is that you have to turn Apache::DBI
> off, since DBIx::Profile overrides disconnect() as well.

I didn't turn Apache::DBI off and things still seemed to work.

- Perrin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to