Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?
| From: | Hartmut Holzgraefe | Date: | Wed, 23 Oct 2002 08:12:41 +0000 |
| Subject: | Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89968@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
> Doing flush after each output operation does carry a performance penalty. The
> following example illustrates it:
>
> php -d implicit_flush=0 -r 'for ($i=0; $i<1000000; $i++) echo $i;' > file
>
> This one executes about twice as fast on my machine compared to php with
> implicit_flush turned on. The example is of course written to emphasise the
> issue.
? default implicit_flush to isatty(stdout) should help here?
--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: hartmut@six.de
Tel.: +49-711-99091-77