PHP 4.0 Bug #5765: Slow scanning/parsing, especially non-phpcode
| From: | jroller at mediaone dot net | Date: | Mon, 24 Jul 2000 20:22:49 +0000 |
| Subject: | PHP 4.0 Bug #5765: Slow scanning/parsing, especially non-phpcode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25823@lists.php.net to get a copy of this message | ||
From: jroller@mediaone.net
Operating system: NT4
PHP version: 4.0.1pl2
PHP Bug Type: Performance problem
Bug description: Slow scanning/parsing, especially non-phpcode
The php4isapi is very slow returning results from large files. If the file contains no php code,
php takes up to 3 times longer to go through it.
ie:
A file containing nothing but:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
....
takes 3 times as long to return as:
<? print 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; ?>
...