ID: 22721 User updated by: shawn at rumental dot com Reported By: shawn at rumental dot com Status: Closed Bug Type: Performance problem Operating System: win2k PHP Version: 4.3.1 Assigned To: wez New Comment:
Benchmarking PHP 4.3.2-RC Testing file() with 10 iterations with file size: 4096226 file_test(10): 0.8426 secs WORKS GREAT ! Previous Comments: ------------------------------------------------------------------------ [2003-03-18 19:47:18] shawn at rumental dot com woooaahhh lots of warnings in that compile log. think ill have to wait. thx will test tomorrow ------------------------------------------------------------------------ [2003-03-18 19:44:50] shawn at rumental dot com Benchmarking PHP 4.2.2 Testing file() with 10 iterations with file size: 4096226 file_test(10): 0.7458 secs Benchmarking PHP 4.3.2-RC Testing file() with 10 iterations with file size: 4096226 file_test(10): 13.5399 secs ------------------------------------------------------------------------ [2003-03-18 19:39:06] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Thanks for testing this; one line of the old code was accidentally left in the 4.3 branch; human error (mine). I've tested this using PHP 4.3; benchmarked at 4 seconds (using same script and file as mentioned previously). The next snapshot will have the fix. ------------------------------------------------------------------------ [2003-03-18 19:14:00] shawn at rumental dot com latest win32 Stable (4.3.x-dev) Built On: Mar 18, 2003 17:30 GMT http://snaps.php.net/win32/php4-win32-STABLE-200303181730.zip still yields the same results as before. no change although Latest CVS (5.0.x-dev) is fast as shit. ------------------------------------------------------------------------ [2003-03-18 08:49:45] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Fix will be in the next set of snapshots. FYI, my benchmarks here have the following results (under winxp): Benchmarking PHP 4.3.0 (without the fix) Testing file() with 10 iterations with file size: 3323720 file_test(10): 0:29 Benchmarking PHP 5.0.0-dev (using memory mapping) Testing file() with 10 iterations with file size: 3323720 file_test(10): 0:03 Benchmarking PHP 5.0.0-dev (NOT using memory mapping) Testing file() with 10 iterations with file size: 3323720 file_test(10): 0:05 This last one is equivalent to the PHP 4.3.x code; I don't have 4.3.x win32 build env set up here, so this will have to do. ------------------------------------------------------------------------ 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/22721 -- Edit this bug report at http://bugs.php.net/?id=22721&edit=1