Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41334 invoked from network); 6 Feb 2012 07:52:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2012 07:52:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:35714] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/13-18104-8D68F2F4 for ; Mon, 06 Feb 2012 02:52:57 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id A0BE4607DA for ; Mon, 6 Feb 2012 09:51:20 +0200 (IST) Received: from tpl2.home (10.1.10.25) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.1.255.0; Mon, 6 Feb 2012 09:52:51 +0200 Message-ID: <4F2F86D3.3030407@zend.com> Date: Mon, 6 Feb 2012 11:52:51 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: References: <8757232E56758B42B2EE4F9D2CA019C9018E9457@US-EX2.zend.net> <4F2F18E0.5060403@oracle.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.1.10.25] Subject: Re: [PHP-DEV] PHP 5.4 Benchmarks From: dmitry@zend.com (Dmitry Stogov) Hi, I've just rerun some synthetic and real-life benchmarks. All the test were run on the same box (Linux, Core2 Duo 3GHz, 4GB RAM). 5.3 and 5.4 where configured and build with the same options and ran as FastCGI server with the same number of processes and set of extensions. PHP performance [sec] --------------------- 5.3 5.4 speedup bench.php 3.21 2.56 20% micro_bench.php 23.15 11.23 50% PHP + Zend OptimizerPlus performance [req/sec] ---------------------------------------------- 5.3 5.4 speedup blog 62.8 71.0 13% drupal 1074.3 1146.7 7% zend framework 102.9 124.6 21% hello 5955.4 7826.5 31% qdig 267.6 280.4 5% typo3 357.0 405.6 14% wordpress 119.8 130.8 9% xoops 78.4 93.0 19% scrum 96.3 117.4 22% PHP/O+ memory usage (memory_get_peak_usage) [KB] ------------------------------------------------ 5.3 5.4 improvement blog 1280 768 40% drupal 512 256 50% zend framework 7680 5888 23% hello 512 256 50% qdig 768 512 33% typo3 1536 1024 33% xoops 1536 1280 17% scrum 1792 1280 19% Thanks. Dmitry.