ID: 27215 Comment by: mikedransfield1 at hotmail dot com Reported By: waboring at 3gstech dot com Status: Feedback Bug Type: Performance problem Operating System: Redhat 9 PHP Version: 5CVS-2004-02-10 (dev) New Comment:
I have also seen this error with a different application (sorry cant post examples) On a page with heavy object use and multiple include_once statements, pages that took aroung 0.15 sec with php4 (with mmcache) were taking upto 2 seconds with php5-RC2 (with mmcache). I have just checked out the latest cvs and there are indeed some speed improvements, now the page takes around 0.25 seconds in php5, this is without mmcache. Previous Comments: ------------------------------------------------------------------------ [2004-05-27 11:26:11] [EMAIL PROTECTED] derick: i'm referring the commits by andi: zend_alloc.h 1.50,1.51 zend_alloc.c 1.132 regarding memory leaks in mem cache. i've tested phphtmllib myself (as described in the bug report), and on my system php5 did much worse than php4 (gentoo, apache 1.3.x). this commit makes it better though ;-) ------------------------------------------------------------------------ [2004-05-26 10:16:35] [EMAIL PROTECTED] No need to fiddle with compiling yourself, just grab a binary snapshot from http://snaps.php.net . Also, i've no clue to what Shie is referring as there were no changes regarding to this, nor did I notice any preformance problems at all with PHP 5. ------------------------------------------------------------------------ [2004-05-26 09:53:36] alexis dot butplease at nospam dot net Thanks a lot Shie for this fix, Unfortunatly, i can't test it on my regular PC since it's a XP without Visual Studio (and no cant dual boot here, it's not really my PC see). There's this old broken dinosaur in my basement at home. I'll try to repair it and install Linux to try your fix out. I'll post here my comments if i can make my old crap run again :) Thanks again ------------------------------------------------------------------------ [2004-05-25 12:47:11] [EMAIL PROTECTED] plz test again with latest CVS version. it should be a lot better now. my system (gentoo linux) shows much better performance, so i'd want some feedback. btw: my system runs the script at about 0.74s (almost constant) thanks! ------------------------------------------------------------------------ [2004-05-06 14:49:06] alexis dot butplease at nospam dot net I installed PHP5RC1 on my WindowsXP so that I can have a look at my oo php4 app and see what I would have to change with PHP5. Unfortunatly with this PHP5, my require_once() calls at the beginning of my scripts become by far the performance bottleneck. Where any page of the app used to take an average 0.2s it now takes about 1.5s, mostly due to require_once() calls. I can't think of migrating because of this. Well, i'm sure it will all be fixed soon :) Keep up the good work. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27215 -- Edit this bug report at http://bugs.php.net/?id=27215&edit=1