note 88810 deleted from intro.outcontrol by thiago

From: Date: Mon, 09 Feb 2009 11:12:33 +0000
Subject: note 88810 deleted from intro.outcontrol by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150407@lists.php.net to get a copy of this message
Note Submitter: Patrick Reason: non-english ---- Ca semble avoir un fort impact sur les performances aussi, essayez ca avec et sans bufferisation ( par output_buffering = 4096, ou bien ob_start + ob_end_flush, ca semble identique) it's seem have performance impact, try this with and without bufferisation ( by output_buffering = 4096, or ob_start + ob_end_flush, it looks similar) <?php for ($j=1; $j <= 5; $j++) { list($usec, $sec) = explode(" ",microtime()); $debut[$j] = ((float)$usec + (float)$sec); echo str_repeat("0123456789",5000) . '<br>' ; list($usec, $sec) = explode(" ",microtime()); $fin[$j] = ((float)$usec + (float)$sec); } for ($j=1; $j <= 5; $j++) { echo round($fin[$j]-$debut[$j], 5) . '<br>'; } ?>

« previous php.notes (#150407) next »