ID:               27215
 User updated by:  waboring at 3gstech dot com
 Reported By:      waboring at 3gstech dot com
-Status:           No Feedback
+Status:           Open
 Bug Type:         Performance problem
 Operating System: Redhat 9
 PHP Version:      5CVS-2004-02-10 (dev)
 New Comment:

finally bugs.php.net is accessable again.  I wasn't able to hit it
since last friday!  bleh.



Anyway, I have tested w/ an up to date (as of now) cvs tree of php-src
and have re-run the test and am still seeing significant slowdowns just
by doing includes.



I am running the sample script that I have listed in the original
post.



php4 = .075 ms

php5 = .372 ms



php5 is acting strangely.  I do a restart of apache.

First time I hit the test script (php5) I get a time of about .100ms. 
I then wait about 2 seconds and make sure there is no load on the box. 
Then I hit reload in the browser.  That takes .237ms.  I do the same
thing again, and the next time the script takes even longer to execute
at .372ms.  



Here is my configure line.

./configure \

--with-oci8=/u01/app/oracle/product/8.1.7 \

--enable-sigchild \

--with-mcrypt \

--with-gd \

--with-png-dir=/usr \

--with-jpeg-dir=/usr \

--with-zlib-dir=/usr \

--enable-sysvsem \

--enable-sysvshm \

--enable-shmop \

--with-xml \

--with-zlib \

--with-gdbm \

--with-dom \

--with-curl=/usr \

--with-mysql=/usr \

--enable-mbstring \

--enable-tokenizer \

--enable-sockets \

--with-kerberos=/usr/kerberos \

--with-openssl \

--disable-cgi \

--with-xsl \

--with-bz2 \

--with-mhash \

--enable-soap \

--with-sqlite \

--with-flatfile \

--with-inifile \

--with-curlwrappers \

--with-apxs=/usr/local/apache/bin/apxs


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

[2004-03-13 05:01:13] [EMAIL PROTECTED]

Can't you test this with some other code which doesn't require  bug
#27227 to be fixed..?



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

[2004-03-03 14:28:25] [EMAIL PROTECTED]

Then we leave the status at "Feedback" until you can test again.



Derick

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

[2004-03-03 14:23:22] waboring at 3gstech dot com

I can't really test this right now because I am waiting on another php5
bug to get fixed.  The other bug is
http://bugs.php.net/bug.php?id=27227  related to a bug in mixed case in
constructor names not being called correctly.

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

[2004-02-25 13:17:02] duncan at emarketeers dot com

I have the same problem. 



Scripts which execute in ~100ms under php4 take ~2secs under php5.



This is php5-beta4 on Mandrake 9.0 and Mandrake 9.1



Linux gemini.emarketeers.priv 2.4.18-6mdksmp #1 SMP Fri Mar 15 01:24:36
CET 2002 i686



PHP configured with:

./configure --with-mysql --disable-libxml --with-apxs



apache is 1.3.27



No other php extensions loaded.



I can provide more details by email if required.



PLEASE LOOK AT THIS!

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

[2004-02-11 15:05:48] [EMAIL PROTECTED]

I have not noticed any performance problem with PHP 5, quite the
opposite actually. Please provide information how you have configured
PHP (what web server is used, are you running PHP5 as CGI or as a
module, what configure line was used when compiling PHP, what possible
extensions you load in php.ini if any, etc.) 



(isn't all this mentioned in the instructions about HOW to report???)



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

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

Reply via email to