Re: [PHP4BETA] ZTS mode sooo much slower? (see attachment)
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] ZTS mode sooo much slower? (see attachment) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4244@lists.php.net to get a copy of this message | ||
> <?
> echo "hello world\n";
> ?>
>
> quantify tells me that the C++ lexer calls yy_get_previous_state 28 times
> whereby the c-version only calls it once.
Aha. I count exactly 28 bytes in that script. 25 chars and 3 carriage
returns. I think this is another clue that the buffer size is set to 1
effectively causing us to do unbuffered reads. Except you said that we
weren't seeing more system calls, so perhaps it is just an internal buffer
setting that is 1 for some odd reason.
-Rasmus