Stanislav Malyshev schrieb:
> The strcat results were approximately *10 times slower* on 5.2.1 than on
> 5.2.0.
> Everything else was nominal.
Could you send your phpinfo() and the script you tested (or if it was
bench.php from CVS then its output)?
I see only tests on *nix boxes... Here is one ("php.exe -n bench.php") for
Windows (XP SP2) with the same result:
PHP 5.2.0 (cli)
simple 0.390
simplecall 0.760
simpleucall 1.101
simpleudcall 1.595
mandel 1.426
mandel2 1.811
ackermann(7) 2.319
ary(50000) 0.068
ary2(50000) 0.060
ary3(2000) 0.794
fibo(30) 4.673
hash1(50000) 0.130
hash2(500) 0.116
heapsort(20000) 0.437
matrix(20) 0.497
nestedloop(12) 0.834
sieve(30) 0.486
strcat(200000) 0.063 <---
------------------------
Total 17.562
PHP 5.2.1 (cli)
simple 0.415
simplecall 0.609
simpleucall 1.170
simpleudcall 1.619
mandel 1.641
mandel2 2.059
ackermann(7) 1.856
ary(50000) 0.110
ary2(50000) 0.081
ary3(2000) 0.851
fibo(30) 5.253
hash1(50000) 0.140
hash2(500) 0.196
heapsort(20000) 0.476
matrix(20) 0.322
nestedloop(12) 0.944
sieve(30) 0.327
strcat(200000) 0.537 <---
------------------------
Total 18.605
BTW:
I don't know why, but with "php-cgi.exe" from PHP 5.2.0, the fibo test is
allways much higher then with "php.exe" (cli): 12.651 vs. 4.673. With the
cgi from 5.2.1 there is no such difference.
Hope this help.
Regards,
Carsten
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php