note 88810 added to intro.outcontrol
| From: | Patrick at osu1 dot php dot net | Date: | Mon, 09 Feb 2009 10:14:12 +0000 |
| Subject: | note 88810 added to intro.outcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150405@lists.php.net to get a copy of this message | ||
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>';
}
?>
----
Server IP: 213.246.51.26
Probable Submitter: 82.228.83.51
----
Manual Page -- http://www.php.net/manual/en/intro.outcontrol.php
Edit -- https://master.php.net/note/edit/88810
Del: integrated -- https://master.php.net/note/delete/88810/integrated
Del: useless -- https://master.php.net/note/delete/88810/useless
Del: bad code -- https://master.php.net/note/delete/88810/bad+code
Del: spam -- https://master.php.net/note/delete/88810/spam
Del: non-english -- https://master.php.net/note/delete/88810/non-english
Del: in docs -- https://master.php.net/note/delete/88810/in+docs
Del: other reasons-- https://master.php.net/note/delete/88810
Reject -- https://master.php.net/note/reject/88810
Search -- https://master.php.net/manage/user-notes.php