Re: note 88810 deleted from intro.outcontrol by thiago
| From: | Daniel Brown | Date: | Thu, 12 Feb 2009 04:03:43 +0000 |
| Subject: | Re: note 88810 deleted from intro.outcontrol by thiago | ||
| References: | 1 2 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150552@lists.php.net to get a copy of this message | ||
Thiago:
I'm re-adding this note. Looking beyond the first paragraph,
you'll see the poster did both in French and English, which is
acceptable.
On Mon, Feb 9, 2009 at 06:12, <thiago@php.net> wrote:
> 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>';
> }
> ?>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to find out!