ID:               38825
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mark dot pearson at capita dot co dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         Performance problem
 Operating System: Windows Server 2003
 PHP Version:      5.1.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

There are a few more Win32 related patches in the code now 
that should improve the speed of the file system operations. 
Can you give the latest code a try.


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

[2006-11-27 13:14:25] mark dot pearson at capita dot co dot uk

Running the benchmark script again on Platform 2 (Windows Server 2003
Xeon 2.80GHz processor) and the latest PHP5.2 snapshot gives the
following results:

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3624229431152

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.338228225708

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3370630741119

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3375468254089

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3394939899445

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3721809387207

D:\www\php5tests>D:\php5.2\php.exe -n benchmark.php
Elapsed time: 1.3796901702881

This still seems slow given that the same benchmark script gives an
average execution time of 0.52 seconds on Platform 1 (Windows XP
laptop) with the same PHP5.2 snapshot.

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

[2006-11-21 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2006-11-13 15:15:44] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



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

[2006-11-08 14:59:26] mark dot pearson at capita dot co dot uk

I changed the path in my benchmark script to say both:

include './emptyfile.php';

and 

include 'C:/www/php5tests/emptyfile.php';

and it made no difference whatsoever to the performance of the script,
contrary to what was suggested.

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

[2006-10-18 14:18:56] [EMAIL PROTECTED]

The include process is identical on all Win32 systems, any 
slowdowns are likely to be related to either the drive speed 
or the OS internals.

That said one of the reasons you are getting such bad 
numbers is because you are using a partial path PHP needs to 
resolve first. This compounded with ZTS mode makes things 
very slow, change the include statement to use full paths 
and you'll see much improved performance, not to mention 
much more consistent numbers.

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

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/38825

-- 
Edit this bug report at http://bugs.php.net/?id=38825&edit=1

Reply via email to