+ 1

How can I measure the speed of code written in PHP?

20th Jul 2017, 12:25 PM
Mansoor. E
Mansoor. E - avatar
1 Respuesta
+ 1
$startTime= microtime(true); /** Write here you code to check **/ /** Write here you code to check **/ $endTime= microtime(true); echo 'Time Taken to executre the code:'.$endTime-$startTime;
20th Jul 2017, 12:25 PM
Mansoor. E
Mansoor. E - avatar