Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php set time counters inside code meassure

<?php
//No need for microtime at the start of script.

// Use this at the end of your script, or around in the 
// code where you need to take meassures.
$time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"];

echo "Did stuff in $time seconds
";
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #set #time #counters #code #meassure
ADD COMMENT
Topic
Name
5+9 =