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

Reply via email to