Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36738 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52544 invoked from network); 31 Mar 2008 23:28:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 23:28:39 -0000 Authentication-Results: pb1.pair.com header.from=gwynne@wanderingknights.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=gwynne@wanderingknights.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wanderingknights.org from 208.97.132.202 cause and error) X-PHP-List-Original-Sender: gwynne@wanderingknights.org X-Host-Fingerprint: 208.97.132.202 sd-green-bigip-202.dreamhost.com Linux 2.4/2.6 Received: from [208.97.132.202] ([208.97.132.202:40952] helo=postalmail-a5.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/C6-17962-6A371F74 for ; Mon, 31 Mar 2008 18:28:38 -0500 Received: from [192.168.2.192] (c-24-128-82-179.hsd1.ma.comcast.net [24.128.82.179]) by postalmail-a5.g.dreamhost.com (Postfix) with ESMTP id 62544BEC76; Mon, 31 Mar 2008 16:28:35 -0700 (PDT) Cc: internals Mailing List Message-ID: <9600C655-C34F-437A-86DE-0E8363C825CA@wanderingknights.org> To: Benjamin Schulz In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 31 Mar 2008 19:28:36 -0400 References: <47F0B0DA.9050000@sektioneins.de> X-Mailer: Apple Mail (2.919.2) Subject: Re: [PHP-DEV] PHP 5.3 the slowest PHP of all times ?!? From: gwynne@wanderingknights.org (Gwynne Raskind) On Mar 31, 2008, at 5:41 PM, Benjamin Schulz wrote: >>> This commit is responsible for the bad performance: >>> http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.11&r2=1.579.2.52.2.77.2.12&diff_format=u >> -gstabs versus -g should have no effect on production performance. > > Ok, maybe i made a mistake, that's what i compared: Upon investigation I've discovered the problem to be this: When the Darwin hack takes effect, the overwrite of CFLAGS removes the default - O2, thus the slowdown. I'll commit a fix shortly, with apologies for the oversight. -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable."