php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5765 Slow scanning/parsing, especially non-phpcode
Submitted: 2000-07-24 22:22 UTC Modified: 2000-09-06 13:15 UTC
From: jroller at mediaone dot net Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.1pl2 OS: NT4
Private report: No CVE-ID: None
 [2000-07-24 22:22 UTC] jroller at mediaone dot net
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'; ?>
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-04 20:17 UTC] sniper@php.net
Does this still happen with php4.0.2 ?

--Jani
 [2000-09-04 23:26 UTC] sniper@php.net
User feedback:
--------------
Yup.   Still incredibly slow with the released 4.0.2 windows binaries.   It was
suggested (late last week) that I build the current CVS (for a slightly different
problem, I don't know if it's related), which I haven't done yet, because my
Windows machine is soooo slow.

--

Please reply next time using the bug-system in web.

--Jani

 [2000-09-06 13:15 UTC] stas@php.net
Should be fixed now (the flex issue).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC