Hi,

I have been compiling 5.2.1 and comparing it with 5.2.0.  The
development box I am using is a Xeon 3.4 GHz with 4 cores (not sure if
its 2xdual core or what, but not relevant here).  I am compiling using
-O2 -march=i686 -msse2.

When running bench.php
(http://cvs.php.net/viewvc.cgi/ZendEngine2/bench.php?view=markup) I
found that 5.2.1 takes twice as long as 5.2.0:

PHP 5.2.0
---------
simple             0.269
simplecall         0.472
simpleucall        0.829
simpleudcall       0.952
mandel             1.043
mandel2            1.203
ackermann(7)       0.859
ary(50000)         0.049
ary2(50000)        0.041
ary3(2000)         0.478
fibo(30)           2.093
hash1(50000)       0.088
hash2(500)         0.095
heapsort(20000)    0.279
matrix(20)         0.245
nestedloop(12)     0.458
sieve(30)          0.220
strcat(200000)     0.038
------------------------
Total              9.713


PHP 5.2.1
---------
simple             0.537
simplecall         0.957
simpleucall        1.429
simpleudcall       1.467
mandel             1.988
mandel2            2.506
ackermann(7)       1.646
ary(50000)         0.087
ary2(50000)        0.073
ary3(2000)         0.983
fibo(30)           3.744
hash1(50000)       0.176
hash2(500)         0.194
heapsort(20000)    0.541
matrix(20)         0.446
nestedloop(12)     0.808
sieve(30)          0.422
strcat(200000)     0.422
------------------------
Total             18.427


Please tell me I am missing something here :)

Regards
Andrew
-- 
Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/
A-Wing Internet Services - http://www.a-wing.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen.
Blue Screen leads to downtime. Downtime leads to suffering...I sense
much Windows in you.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to