Jump to content

check function speeds


marm

Recommended Posts

If you can't find a webpage you can do it yourself using microtime() ie

 

$time_start = microtime(true);

//Do some stuff...

$time_end = microtime(true);
$time = $time_end - $time_start;

echo "Stuff took $time seconds";

 

(ps - this was yoinked off php.net)

Link to comment
https://forums.phpfreaks.com/topic/49978-check-function-speeds/#findComment-245346
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.