From:             php at schubec dot com
Operating system: Vista (any version)
PHP version:      5.2.6
PHP Bug Type:     Performance problem
Bug description:  Vista & mySQL Extension = slowdown when PHP finalizes

Description:
------------
When you activate the mySQL Extension on Vista, PHP is delayed for about
3-4 seconds after every script execution.
As far as I found out this happens when PHP finalizes (so something like a
destructor or so).
Problem can be reproduced.

Even if NO mySQL related code is called!!!


I am using a CLI version of PHP 5.2.6. The problem can also be reproduced
when you use SAPI to embed PHP in you own application.

I did not test that with IIS/Apache or any other webserver.

Reproduce code:
---------------
//Any code will do
echo "Hello World";

//This takes about 5 secs to execute on Vista with mySQL Extensions on.

Expected result:
----------------
Either a delay only when something mySQL related is used (eg:
mysql_connect) or no noticable delay at all.



Actual result:
--------------
Every script is delayed 5 seconds.

-- 
Edit bug report at http://bugs.php.net/?id=45042&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45042&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45042&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45042&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45042&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45042&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45042&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45042&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45042&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45042&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45042&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45042&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45042&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45042&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45042&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45042&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45042&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45042&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45042&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45042&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45042&r=mysqlcfg

Reply via email to