How can I measure the speed of code written in PHP? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

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

20th Jul 2017, 12:25 PM
Mansoor. E
Mansoor. E - avatar
1 ответ
+ 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