From:             ian at ianhobson dot co dot uk
Operating system: Win2K
PHP version:      5.2.9
PHP Bug Type:     Performance problem
Bug description:  MySQL module slow close

Description:
------------
If php_mysql.dll or php_mysqli.dll are enabled, the CLI takes 5 seconds to
close. 

Reproduce code:
---------------
@echo off
time <Y
D:\wamp\bin\php\php5.2.8\php -r "Echo 'Hi';"
time <Y

Where Y is a file containing just a newline. 



Expected result:
----------------
The times to be within a fraction of a second. 

How long should an "echo" take? 

Actual result:
--------------
D:\Websites\ppg\testsop\tests>phpx
The current time is: 21:50:50.39
Enter the new time:
HiThe current time is: 21:50:55.44
Enter the new time:

D:\Websites\ppg\testsop\tests>

The times differ by over 5 seconds. Windows, AMD 3500+, with 3GB RAM and
fast hard disk. 



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

Reply via email to