2006-12-19

Benchmarks

Here is the comparison of running Zend/bench.php from the PHP source using VC++ 8.0 (Visual Studio 2005) and VC++ 6.0. The test was done on my Lenovo laptop with Celron M 1.6 GHz processor and 1.5 GB ram.

TestVC8VC6%
simple0,4440,4909%
simplecall0,6500,73812%
simpleucall1,2201,2351%
simpleudcall1,6341,591-3%
mandel1,3901,5198%
mandel21,7121,90910%
ackermann(7)1,6371,84411%
ary(50000)0,0690,0758%
ary2(50000)0,0610,0610%
ary3(2000)0,8080,8768%
fibo(30)5,3834,970-8%
hash1(50000)0,1330,14710%
hash2(500)0,1180,1309%
heapsort(20000)0,4620,454-2%
matrix(20)0,3730,3751%
nestedloop(12)0,7890,8558%
sieve(30)0,3500,39010%
strcat(200000)0,1270,1409%
Total17,36217,8002%

2006-12-18

Second PHP build using the new compiler

Well the first build proved to be somewhat less that a full success. It worked only on one computer: the one that was build on. Since this limits PHP use on the Windows platform I went ahead and read about Microsoft manifest files, SxS (side by side) assemblies and other wonderful stuff that Microsoft has provided for us in version 2005 of their development package.

You should be able to use this package without installing any packages from Microsoft. Normally a VC++ redistributable would be required. Helpful information for those that are wrestling with similar problem is described in MSDN article Deploy using XCopy.

You can download this build from:

php-5.2.1RC2-dev-Win32.zip
pecl-5.2.1RC2-dev-Win32.zip

First PHP build using the new compiler

I have just completed the first build of the current php-5.2 CVS using the new compiler from Microsoft. The file is avaliable at php-5.2.1RC2-dev-Win32.zip.

Since this is the first build using the new tool set any help in testing it would be greatly appreciated.

UPDATE: Thanks for the feedback. It seems that the binary does not work without the .manifest files being built in into the executables. I'm investigating how to do this with the new compiler.