Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57780 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40517 invoked from network); 6 Feb 2012 23:42:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2012 23:42:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.29 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.29 out5-smtp.messagingengine.com Received: from [66.111.4.29] ([66.111.4.29:33607] helo=out5-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/E4-16988-E55603F4 for ; Mon, 06 Feb 2012 18:42:24 -0500 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 777D020F44 for ; Mon, 6 Feb 2012 18:42:20 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 06 Feb 2012 18:42:20 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=/fufLyjrtOrnWUCq7TLLDK FovlU=; b=LXPJcqGsvpqB29+ng/pGdVautlzuznfRmtdLjdk6STgRxBScbuxbke U6/8tVJYgV+wNyacQYRrzwNj9UxaaMiC8WA3GH0yotSstVnzpPIOEwqBONMzD158 OC3c+CyrNyfAJy8C84qNo5HO3Dx9RgP9WFBtINk3wBU2XNljfq1Hw= X-Sasl-enc: qr+Byb8NUkgf9ed6xCG9UcvMQBGVH6x5AUtr7DN8FVQ8 1328571740 Received: from garfield.ad.palantir.net (unknown [209.41.114.202]) by mail.messagingengine.com (Postfix) with ESMTPSA id 456A14827CE for ; Mon, 6 Feb 2012 18:42:20 -0500 (EST) Message-ID: <4F30655B.9070707@garfieldtech.com> Date: Mon, 06 Feb 2012 17:42:19 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <8757232E56758B42B2EE4F9D2CA019C9018E9457@US-EX2.zend.net> <4F2F18E0.5060403@oracle.com> <4F2F86D3.3030407@zend.com> In-Reply-To: <4F2F86D3.3030407@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.4 Benchmarks From: larry@garfieldtech.com (Larry Garfield) Yowza. If I were seeing that kind of memory change in just one project I'd say there was a bug and the code was just dying. :-) What sort of configuration were you using in each case? A 512 KB Drupal process seems, um, low, especially compared to the other projects listed there. (Drupal 7 is normally rather memory hungry.) --Larry Garfield On 2/6/12 1:52 AM, Dmitry Stogov wrote: > 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. >