Re: [PHP] Timing mySQL query time.
Can I do that on the fly? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Timing mySQL query time.
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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Timing mySQL query time.
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