Re: PHP Execution Timer

From: Date: Thu, 19 Sep 2002 14:03:31 +0000
Subject: Re: PHP Execution Timer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116873@lists.php.net to get a copy of this message
Easy, Put a code to the beginning of the page that takes the unix time stamp, and another one to the end. The difference is the execution time at the server side... -=[ Julien Bonastre ]=- wrote:
I have seen it on many sites now and since I have been using PHP for so long and done a huge amount of coding with it I thought it would add a nice touch and it could be used for statistical purposes to assist me in database effeciency and so forth. The idea is a page "execution" timer.. or a database query timer.. basically it shows you just a time (usually in msecs) it took for the last command to be executed.. I have seen it used for queries and it returns the time it took.. And I am quite sure I've seen it used for actual page generation as well, whereby it says something like "page generated in x.xxx secs" I just want to know what function or module covers this feature.. If it is at all possible.. Thanks a million people! ------oOo---------------oOo------ Julien Bonastre [The_RadiX] The-Spectrum Network CEO the_radix@the-spectrum.org www.the-spectrum.org ------oOo---------------oOo------


« previous php.general (#116873) next »