I would like to calculate load time of the script right down to the 1/10 th of a second or even 1/1000th of a second.
I currently use
$start_time = time;
at the start of the script
and
$elapsed_time = (time - $start_time);
at the end of the script but this only records it down to the second.
Any ideas?
I currently use
$start_time = time;
at the start of the script
and
$elapsed_time = (time - $start_time);
at the end of the script but this only records it down to the second.
Any ideas?