RE: [PHP-WIN] MySQL Query from PHP - CPU Cost?
| From: | Robin Bolton | Date: | Tue, 07 May 2002 15:42:04 +0000 |
| Subject: | RE: [PHP-WIN] MySQL Query from PHP - CPU Cost? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13602@lists.php.net to get a copy of this message | ||
well I'm not sure how you would acomplish the first two tasks, but you can
at least get an accurate feel for how long a page (or section of code) takes
to execute.
There are several timer classes available, the one I use is called
Deathead's Timer, wich you can download from:
http://www.phpclasses.org/browse.html/package/431.html
-----Original Message-----
From: Matt Babineau [mailto:mbabineau@illuminatistudios.com]
Sent: May 7, 2002 07:53
To: 'Php-Win (E-mail)'
Subject: [PHP-WIN] MySQL Query from PHP - CPU Cost?
Is there a way to get the cost in cpu cycles or the milliseconds it
takes to process a query and output that statistic in PHP? Or maybe the
processing time of the whole page?
Matt Babineau
Freelance Internet Developer
-----------------------------------------
e: <mailto:mbabineau@illuminatistudios.com>
mbabineau@illuminatistudios.com
p: 603.943.4237
w: <http://www.illuminatistudios.com/> http:/www.illuminatistudios.com