ID:               22721
 User updated by:  shawn at rumental dot com
 Reported By:      shawn at rumental dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         Performance problem
 Operating System: win2k
 PHP Version:      4.3.1
 New Comment:

changed summary - reopened


Previous Comments:
------------------------------------------------------------------------

[2003-03-17 08:31:35] shawn at rumental dot com

in version 4.3.1 file() seems to be extremly slow 10-100x as slow. a
serious performance issue.
http://bugs.php.net/bug.php?id=19971
also refers to this problem but has been closed with incorrect
information it seems.

------------------------------------------------------------------------

[2003-03-15 01:30:46] shawn at rumental dot com

RETRACTION - problem seems to have to do with file() and size of the
file being read.

sorry for inconveinence on my stupidities part.

will further research and post new report if necessary.

------------------------------------------------------------------------

[2003-03-15 00:38:12] shawn at rumental dot com

I just upgraded from 4.2.2 to 4.3.1(zip) in win2k.
apache - isapi

I replaced the ini file with newer one.

most scipts i have run fine if not faster.

I have a couple scripts which call preg-replace()on 
15 key pattern match/replace array, 

each array match occuring at most 10 times per line of a text file.
testing with a foreach(5 lines).
(parsing text files to reformat).

These scripts take 10-20 x longer to execute on 4.3.1 i can switch back
to 4.2.2 and execution time is back to normal(2 seconds).

tried with new and old ini.

no errors are reported other than max execution time when its not set
high enough.

futher debugging is possible upon request, I dont know how at this
point.

php_info() snapshots, ini's, code are available.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22721&edit=1

Reply via email to