Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49996 invoked from network); 24 Oct 2013 05:26:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2013 05:26:29 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-lb0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:36875] helo=mail-lb0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/CC-10840-48FA8625 for ; Thu, 24 Oct 2013 01:26:28 -0400 Received: by mail-lb0-f178.google.com with SMTP id o14so1526051lbi.9 for ; Wed, 23 Oct 2013 22:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vB6cE+UCALD3RfSV/A5VABTL7+k0kpxt6ByqnoOpUBo=; b=mnVnF1NcevQvb+0miXE8COwGJgw2MSwoh4e5NokL/vVMuZ1o4Kz+UyI30Q4sZG5x9u ZeciwGu0U9wBRPrv/FpBfaBNznbchP5Bi0ZRTHxhqo/yB8gBKPhNkYBoAgbKtjp4Zudm kLSiHQn4kOGJ66ayhpOln4WGgznfTuhYajFTzdhN+Ks+BFTWz+s50ZmM/pTGA6XUqfAJ i3NZS5bMTUCOYht8DniaV+zEZu7WCc931ALkhqXlh0zqYJQweLg99q6FSD3ycniEIAe8 IaXPXTKrwSZnLUcHSLJ4gEWZmisPiFe9/ZK6tjaiPLMazpnxSxqL3mwX/L0xZ1uKxsTC iVFA== MIME-Version: 1.0 X-Received: by 10.152.9.36 with SMTP id w4mr610383laa.34.1382592385411; Wed, 23 Oct 2013 22:26:25 -0700 (PDT) Received: by 10.112.198.98 with HTTP; Wed, 23 Oct 2013 22:26:25 -0700 (PDT) In-Reply-To: References: <52686702.80107@oracle.com> Date: Thu, 24 Oct 2013 07:26:25 +0200 Message-ID: To: Christopher Jones , "Matt Ficken (Insight Global)" Cc: Dmitry Stogov , Julien Pauli , David Soria Parra , Stas Malyshev , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Improved performance of array_maerge() and func_get_args() From: pierre.php@gmail.com (Pierre Joye) fix Julien email On Thu, Oct 24, 2013 at 7:25 AM, Pierre Joye wrote: > hi, > > On Thu, Oct 24, 2013 at 2:17 AM, Christopher Jones > wrote: >> >> >> On 10/23/2013 05:36 AM, Dmitry Stogov wrote: >>> >>> Hi, >>> >>> I'm proposing two simple patches that eliminate a lot of useless zval >>> copying. >>> For example they remove only about 800 calls to zend_hash_copy() (25%) on >>> each request to wordpress-3.6.0 home page and make it 2-4% faster. >>> >>> It's not a questions about master branch, but I think it is also safe to >>> commit them into PHP-5.4 and PHP-5.5. >>> >>> Any objections? >>> >>> https://gist.github.com/dstogov/7117623 >>> >>> https://gist.github.com/dstogov/7117649 >>> >>> Thanks. Dmitry. >>> >> >> I'd prefer PHP 5.4 was kept stable. >> >> Last time I suggested keeping PHP 5.4 stable [1], it wasn't, and the result >> was >> a performance regression [2]. > > I tend to agree with Chris here, even for 5.5 :) > > However, Let me ask Matt to run our full tests suite against your > patch, that may give us some numbers to discuss or confirm the safety > of this patch. > > Matt? Can you run pftt, apps compat and perf tests using this patch pls? > > Cheers, > -- > Pierre > > @pierrejoye | http://www.libgd.org -- Pierre @pierrejoye | http://www.libgd.org