Archive

Posts Tagged ‘execution time’

ByREV php Classes Timer – Determine execution time in PHP

February 21st, 2009 3 comments
ByREV php Classes Timer – Determine execution time in PHP Measuring PHP execution time with ByREV PHP Classes Timer. class ByRevTimer { public function StartTimer() { $GLOBALS['_byrev_timer_'][] = microtime(); return count( $GLOBALS['_byrev_timer_'] ) - 1; } function ReadTimer($id,$restart=true) { if (isset($GLOBALS['_byrev_timer_'][$id])) { $mtime = microtime(); $end_time = explode(" ",$mtime); $end_time = $end_time[1] ...
GoCache - ByREV-Cache v1.0 - live served in : 0.476558 sec (gzip)