Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36713 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3132 invoked from network); 31 Mar 2008 15:15:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 15:15:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=stefan.esser@sektioneins.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=stefan.esser@sektioneins.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sektioneins.de from 85.214.103.31 cause and error) X-PHP-List-Original-Sender: stefan.esser@sektioneins.de X-Host-Fingerprint: 85.214.103.31 h1332034.stratoserver.net Linux 2.6 Received: from [85.214.103.31] ([85.214.103.31:8945] helo=h1332034.stratoserver.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/73-05022-11001F74 for ; Mon, 31 Mar 2008 10:15:32 -0500 Received: from Very-Black-Mac.lan (port-87-193-248-162.static.qsc.de [87.193.248.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by h1332034.stratoserver.net (Postfix) with ESMTP id 5BE2DA243B2; Mon, 31 Mar 2008 17:14:17 +0200 (CEST) Message-ID: <47F10012.1070403@sektioneins.de> Date: Mon, 31 Mar 2008 17:15:30 +0200 User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <47F0B0DA.9050000@sektioneins.de> <141308793.20080331170723@marcus-boerger.de> In-Reply-To: <141308793.20080331170723@marcus-boerger.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3 the slowest PHP of all times ?!? From: stefan.esser@sektioneins.de (Stefan Esser) -----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-----