-------------------------------------------
PHP Code:
function get_microtime()
{
list($usec, $sec) = explode(" ", microtime());
return ((double)$usec+(double)$sec);
} $start = get_microtime();
//Toliau failo turinys
$end = get_microtime(); $native = round((float)(($end - $start) * 1000), 2);
echo "SCRIPT LOAD: $native ms";
?>
No comments:
Post a Comment