note 96507 added to function.microtime

From: Date: Wed, 03 Mar 2010 02:10:33 +0000
Subject: note 96507 added to function.microtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-166547@lists.php.net to get a copy of this message
pretty much all of the examples below for measuring script runtime are bloated and yield notable inaccuracy, because of all the overhead generated from unnecessary amounts of code... help yourselves out by just: <?php $then = microtime( true ); YOUR SCRIPT HERE echo microtime( true ) - $then . PHP_EOL; ?> ---- Server IP: 194.236.124.41 Probable Submitter: 83.227.160.33 ---- Manual Page -- http://www.php.net/manual/en/function.microtime.php Edit -- https://master.php.net/note/edit/96507 Del: integrated -- https://master.php.net/note/delete/96507/integrated Del: useless -- https://master.php.net/note/delete/96507/useless Del: bad code -- https://master.php.net/note/delete/96507/bad+code Del: spam -- https://master.php.net/note/delete/96507/spam Del: non-english -- https://master.php.net/note/delete/96507/non-english Del: in docs -- https://master.php.net/note/delete/96507/in+docs Del: other reasons-- https://master.php.net/note/delete/96507 Reject -- https://master.php.net/note/reject/96507 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166547) next »