Hi Adam,
I don't use ASP but, regarding the time stop question I've never heard of that with PHP. As you probably know all PHP processing happens between <?php ?> or <? ?>. I've never heard/read anything about <? ?> counting as a time stop and I've been using PHP close to 3 years. When ever I've wanted to see the execute time either for the script or for code blocks within the script I do something similar to:
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$time = getmicrotime();
#
# benchmark code here
#
echo "
Time elapsed: ",getmicrotime() - $time, " seconds";
|