Hi,
Do you have an idea how measuring php page load time with Scriptcase ?
By example, if I want to show it on footer page.
Thanks
Hi,
Do you have an idea how measuring php page load time with Scriptcase ?
By example, if I want to show it on footer page.
Thanks
echo âExact time taken to run: â . (microtime(true) - $_SERVER[âREQUEST_TIME_FLOATâ]) . â secondsâ;
OR
$time_start = microtime(true); //set this on Init and make a sess var with it??
then On Footer:
$time_end = microtime(true);
$seconds = ($time_end - $time_start)/60;
echo âThis script took $seconds to execute.â;///
Thank you.
I didnât know REQUEST_TIME_FLOAT method, is it a precise and reliable solution ?
Otherwise actually, I can use another method with global var.
Thanks