ID: 27215 User updated by: waboring at 3gstech dot com Reported By: waboring at 3gstech dot com Status: Open Bug Type: Performance problem Operating System: Redhat 9 PHP Version: 5CVS-2004-02-10 (dev) New Comment:
It seems that the latest CVS (after 5.0.0RC3) is much better in includes. It is still slightly slower then php4, but now back down to acceptable levels. Doing an includes of phphtmllib's includes.inc takes .077s in php5 and .060 in php4 on a P4 1.8Ghz box. yes .07 is still slow, but by default the library comes with everything included, which isn't necesarry. It's a test case. A minimal include set for using the lib is .03. Much much better! Thanks guys I'd say this is fixed. Previous Comments: ------------------------------------------------------------------------ [2004-06-04 01:05:01] waboring at 3gstech dot com the last comment said they weren't done fixing the issue yet. ------------------------------------------------------------------------ [2004-06-04 01:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2004-05-28 00:15:26] [EMAIL PROTECTED] i think we're not quite done with that issue yet. the fix makes php5 perform much better, but not quite there yet. i'll keep working on this next week, using the phphtmllib as a case study. will keep you posted ... ------------------------------------------------------------------------ [2004-05-27 16:22:55] mikedransfield1 at hotmail dot com 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. ------------------------------------------------------------------------ [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 ;-) ------------------------------------------------------------------------ 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