Today, I try to search some tools to count PHP script execution time. After Googling for a moment I found some script that i want. ^^
There are 3 site that have tutorial how to count PHP script execution time. One of them is http://www.ars-informatica.ca/article.php?article=37. There are any script to count PHP script execution time and written with PHP too. You can look the script or download it for free..
Or I’ll give you link to DOWNLOAD (Just click save as). Then extract it.. How to use it?
Just read usage inside PHP_script_timer.php
USAGE
First, the calling code must reference the PHP_script_timer script:
include ‘PHP_script_timer.php’;
Call the timing script at the start of the code to be timed with:
$timing_loops = 1;
for ($current_loop = 0; $current_loop < $timing_loops; $current_loop++) {
$time_start = microtime_float();To end the timing sequence, follow the code to be timed with:
$timing[] = microtime_float() - $time_start;
}
timing($timing);To run more the timing loop more then once, and calculate fastest, slowest and
average execution times, simply specify 2 or more $timing_loops.
note: don’t forget to put PHP_script_timer.php to the same folder with PHP script that you want to test.
Nice work right? The problem is… You’ll get different time after you refresh and refresh again.. So you must get the average for about 10 second. How to do it? Just change $timing_loops = 1; value to loop times that you want. For example 10.
I tried to count some PHP script execution time and this is the result:
Script execution over 10 loops averages 0.0364120960236 seconds
Fastest: 0.012099981308 seconds
Slowest: 0.0947301387787 seconds
Nice right?
I’ll use that tools to my thesis.. thanks to Ars Informatica for this tools.
The other script are:
http://www.developertutorials.com/tutorials/php/displaying-load-time-php-050620/page1.html
http://www.corecoding.com/getfile.php?file=26
but they are not recommended, because cannot count the average.
All is up to you

Hei.. I have tools modified by Einchi here.. Just download
and easy to use..
http://sharebee.com/ffd71ec2
Just extract and download it..
Run html file with your local host^^