note 88883 deleted from intro.outcontrol by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 08:03:52 +0000 |
| Subject: | note 88883 deleted from intro.outcontrol by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196783@lists.php.net to get a copy of this message | ||
Note Submitter: Patrick
----
[In English:]
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)
[En Francais:]
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)
<?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>';
}
?>