From:             shawn at rumental dot com
Operating system: win2k
PHP version:      4.3.1
PHP Bug Type:     Performance problem
Bug description:  upgrade from 4.2.2 to 4.3.1 preg-replace script takes 10 x longer

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 bug report at http://bugs.php.net/?id=22721&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22721&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22721&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22721&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22721&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22721&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22721&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22721&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22721&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22721&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22721&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22721&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22721&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22721&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22721&r=gnused

Reply via email to