Timing a MySQL response

From: Date: Sun, 21 Mar 2004 13:09:45 +0000
Subject: Timing a MySQL response
Groups: php.general 
Request: Send a blank email to php-general+get-181077@lists.php.net to get a copy of this message
Hi all, Just a quick question - but does anyone know how to get the ms value back from MySQL that tells you how long it took to run your query? It shows it when using the command-line version, or MySQL Front, but I'm yet to figure out how to actually retrieve the value (if it is at all possible?). I guess I could wrap a simple timer function before and after the query, but as MySQL seems to have this value already I'd rather not if I don't have to. Suggestions welcome! -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#181077) next »