note 96570 added to function.microtime

From: Date: Fri, 05 Mar 2010 17:44:23 +0000
Subject: note 96570 added to function.microtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-166708@lists.php.net to get a copy of this message
many of the examples below for measuring script runtime are bloated, and inaccurate due the overhead caused by unnecessary amounts of code. the straight up method: <?php $then = microtime( true ); SUBJECT TO BE TIMED HERE echo microtime( time ) - $then . PHP_EOL; ?> ---- Server IP: 80.67.10.226 Probable Submitter: 83.227.160.33 ---- Manual Page -- http://www.php.net/manual/en/function.microtime.php Edit -- https://master.php.net/note/edit/96570 Del: integrated -- https://master.php.net/note/delete/96570/integrated Del: useless -- https://master.php.net/note/delete/96570/useless Del: bad code -- https://master.php.net/note/delete/96570/bad+code Del: spam -- https://master.php.net/note/delete/96570/spam Del: non-english -- https://master.php.net/note/delete/96570/non-english Del: in docs -- https://master.php.net/note/delete/96570/in+docs Del: other reasons-- https://master.php.net/note/delete/96570 Reject -- https://master.php.net/note/reject/96570 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166708) next »