Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36718 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11483 invoked from network); 31 Mar 2008 15:25:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 15:25:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 216.239.58.186 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 216.239.58.186 gv-out-0910.google.com Received: from [216.239.58.186] ([216.239.58.186:55212] helo=gv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/65-05022-55201F74 for ; Mon, 31 Mar 2008 10:25:10 -0500 Received: by gv-out-0910.google.com with SMTP id s4so143872gve.37 for ; Mon, 31 Mar 2008 08:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=I3fjglzJb2h/zDbYNX14F1hlzrRD5MGQWRd71QqAOZ4=; b=d6ISzakB0e9nzSpiiWuAkh6bocyUCFNyRrUz8VcgErV//IXM3G+NPL7vrVX7uJ0ZvhaBcf3a+oUamUpNHF2fzhoSl2gvxbmS5W1apB0MqqBuLH2RSjGQuD99b63VKObisrEXCGEDKfZgrW66yiiAJAbFM6nfd3Q55NLP/8v/2qo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FVGx3q666zGCwLVztDtffB4mZoJptjEnSAuatPo6SpUuVmb+sT+n1LYzhSUSHsE1iirWIqNiMy60K0GYRsy9Brb0T2xoRqynq7Buo8E0RlAG7E7VwljBFUivnifUS5P6YBsp0Vv2PPQfXxCEWyTEb6HGtLjlUidMrDnmVnlaUQE= Received: by 10.150.11.6 with SMTP id 6mr3409601ybk.165.1206977105995; Mon, 31 Mar 2008 08:25:05 -0700 (PDT) Received: by 10.150.57.12 with HTTP; Mon, 31 Mar 2008 08:25:05 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 19:25:05 +0400 To: "Stefan Esser" Cc: "Marcus Boerger" , internals@lists.php.net In-Reply-To: <47F10012.1070403@sektioneins.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47F0B0DA.9050000@sektioneins.de> <141308793.20080331170723@marcus-boerger.de> <47F10012.1070403@sektioneins.de> Subject: Re: [PHP-DEV] PHP 5.3 the slowest PHP of all times ?!? From: indeyets@gmail.com ("Alexey Zakhlestin") 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 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/