ID: 35482 User updated by: tobias-bender at web dot de Reported By: tobias-bender at web dot de -Status: Bogus +Status: Open Bug Type: Filesystem function related Operating System: Windows XP Professional PHP Version: 5.1.1 New Comment:
I know but a difference of 1:9 is not normal. This might be not a real bug but has to be kept in mind when working on the code. I think there could be done a lot of optimization. Where to put an issue like that when the bug db is not the right place? Previous Comments: ------------------------------------------------------------------------ [2005-12-01 13:11:28] [EMAIL PROTECTED] Comparing PHP 5 with PHP 4 is like comparing apples and oranges. This is inherent problem in Windows, not a bug. ------------------------------------------------------------------------ [2005-12-01 00:03:12] tobias-bender at web dot de I think this has to be analysed on a Windows platform ------------------------------------------------------------------------ [2005-11-30 10:30:11] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Can't reproduce on Linux. ------------------------------------------------------------------------ [2005-11-30 01:25:57] tobias-bender at web dot de Description: ------------ All filesystem functions got much slower with PHP 5.x. With short relative paths PHP 4 is about twice as fast as PHP 5. PHP 5 is nearly 10 times slower when using absolute paths compared to PHP 4. Reproduce code: --------------- function getMicrotime(){ list($usec, $sec) = explode(' ', microtime()); return ((float)$usec + (float)$sec); } $iTime = getMicrotime(); $rHandle = opendir('C:/Apache2/htdocs/phpXplorer/test/vollvoll'); while (false !== ($sName = readdir($rHandle))) { if (is_dir('C:/Apache2/htdocs/phpXplorer/test/vollvoll/' . $sName)){ echo 'C:/Apache2/htdocs/phpXplorer/test/vollvoll/' . $sName . '<br/>'; } } echo getMicrotime() - $iTime; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35482&edit=1
