I use debug/zts builds. my results are here: PHP-5.3
simple 0.519 simplecall 1.441 simpleucall 2.378 simpleudcall 2.400 mandel 1.953 mandel2 2.814 ackermann(7) 2.671 ary(50000) 0.165 ary2(50000) 0.151 ary3(2000) 1.097 fibo(30) 5.745 hash1(50000) 0.265 hash2(500) 0.257 heapsort(20000) 0.629 matrix(20) 0.537 nestedloop(12) 0.978 sieve(30) 0.629 strcat(200000) 0.113 ------------------------ Total 24.743 PHP-5.2.5 simple 0.587 simplecall 1.464 simpleucall 2.681 simpleudcall 3.060 mandel 2.265 mandel2 2.896 ackermann(7) 3.421 ary(50000) 0.164 ary2(50000) 0.143 ary3(2000) 1.186 fibo(30) 9.752 hash1(50000) 0.281 hash2(500) 0.273 heapsort(20000) 0.722 matrix(20) 0.520 nestedloop(12) 1.020 sieve(30) 0.649 strcat(200000) 0.116 ------------------------ Total 31.200 On Mon, Mar 31, 2008 at 7:15 PM, Stefan Esser <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Marcus, > > > > did we change from non ZTS to ZTS builds on MacOS? ZTS builds do a bunch > > of additional copying of tables. > > Nope. Thread Safety is disabled. > > I did my comparision with PHP 5.2.5 and PHP 5.3-Snapshot. > Both versions were compiled with a simple ./configure without any > additional parameter. bench.php was executed with the CLI SAPI. > > Here are the tables for PHP 5.2.5 > > simple 0.328 > simplecall 0.405 > simpleucall 0.660 > simpleudcall 0.767 > mandel 0.993 > mandel2 1.253 > ackermann(7) 0.993 > ary(50000) 0.050 > ary2(50000) 0.048 > ary3(2000) 0.498 > fibo(30) 2.229 > hash1(50000) 0.089 > hash2(500) 0.091 > heapsort(20000) 0.281 > matrix(20) 0.237 > nestedloop(12) 0.535 > sieve(30) 0.222 > strcat(200000) 0.040 > - ------------------------ > Total 9.719 > > > And here for PHP 5.3 > > simple 0.535 > simplecall 0.799 > simpleucall 1.322 > simpleudcall 1.320 > mandel 1.691 > mandel2 2.170 > ackermann(7) 1.299 > ary(50000) 0.101 > ary2(50000) 0.094 > ary3(2000) 0.986 > fibo(30) 3.282 > hash1(50000) 0.225 > hash2(500) 0.195 > heapsort(20000) 0.499 > matrix(20) 0.458 > nestedloop(12) 0.948 > sieve(30) 0.469 > strcat(200000) 0.077 > - ------------------------ > Total 16.469 > > regards, > > Stefan > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkfxABIACgkQSuF5XhWr2niu0QCbBhCZWBW8nPX5G48YxNgM6qr2 > 8CQAn0SeMMKFjV1Hy/uKT4NSCMU5Lj/9 > =lZtJ > -----END PGP SIGNATURE----- > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php