Re: show mysql- processing time

From: Date: Thu, 21 Nov 2002 18:05:10 +0000
Subject: Re: show mysql- processing time
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-125448@lists.php.net to get a copy of this message
ok, let me rephrase that... I ment I would like to use a php-function for it, OR a mysql command... just not such a function as I put down here... Chris Shiflett wrote:
Well, you say you want to return the processing time of a MySQL query via PHP, but then you go on to say that you do not want to do this in PHP. :-) I would recommend Jeremy Zawodny's mytop: http://jeremy.zawodny.com/mysql/mytop/ Chris --- Tularis wrote: I was wondering if anyone knew of a way to return the processing time of a mysql query via php. And NOT using the $starttime = time(); mysql_query($whatever); $endtime = time(); $processingtime = $endtime - $starttime;


« previous php.general (#125448) next »