Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check how long a function took to exexute

$start = microtime(true);
while (...) {

}
$time_elapsed_secs = microtime(true) - $start;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #check #long #function #exexute
ADD COMMENT
Topic
Name
6+7 =