Re: Timing mySQL query time.
| From: | Noodle Snacks | Date: | Tue, 24 Dec 2002 07:08:42 +0000 |
| Subject: | Re: Timing mySQL query time. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129270@lists.php.net to get a copy of this message | ||
Can I do that on the fly?
"Rasmus Lerdorf" <rasmus@php.net> wrote in message
news:Pine.LNX.4.44.0212232031170.22834-100000@www.lerdorf.com...
> Why not just get the query times from the mysql general query log?
>
> On Tue, 24 Dec 2002, Noodle Snacks wrote:
>
> > Is there a built in php function for mysql that I can use to time the
last
> > query?
> >
> > or do I have to take the microtime before and after then substract the
first
> > from the last?
> >
> > I want to time how long my queries take
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>