Welcome Guest, Not a member yet? Register   Sign In
Get execution time programmatically
#4

[eluser]danmontgomery[/eluser]
Code:
$start = microtime(TRUE);
// some code
$end = microtime(TRUE);

$elapsed = $end - $start;

echo 'Execution took '.$elapsed.' seconds.';


Messages In This Thread
Get execution time programmatically - by El Forum - 09-27-2010, 08:28 AM
Get execution time programmatically - by El Forum - 09-27-2010, 09:04 AM
Get execution time programmatically - by El Forum - 09-27-2010, 09:14 AM
Get execution time programmatically - by El Forum - 09-27-2010, 09:37 AM
Get execution time programmatically - by El Forum - 09-27-2010, 09:43 AM
Get execution time programmatically - by El Forum - 09-27-2010, 09:49 AM
Get execution time programmatically - by El Forum - 09-27-2010, 10:34 AM
Get execution time programmatically - by El Forum - 01-28-2011, 04:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB