Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28521 invoked from network); 31 Mar 2008 21:41:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 21:41:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@benjaminschulz.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@benjaminschulz.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benjaminschulz.com from 80.81.249.139 cause and error) X-PHP-List-Original-Sender: php@benjaminschulz.com X-Host-Fingerprint: 80.81.249.139 mx.systisoft.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.81.249.139] ([80.81.249.139:59857] helo=mx.systisoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BE/32-17962-19A51F74 for ; Mon, 31 Mar 2008 16:41:39 -0500 Received: (qmail 12609 invoked from network); 31 Mar 2008 21:38:58 -0000 Received: from unknown (HELO mail.ih.systisoft.com) (80.81.249.133) by mx.systisoft.com with SMTP; 31 Mar 2008 21:38:58 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.ih.systisoft.com (Postfix) with ESMTP id EDCDA4E0B20; Mon, 31 Mar 2008 23:41:34 +0200 (CEST) Received: from mail.ih.systisoft.com ([127.0.0.1]) by localhost (heidi.b.ih.systisoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01740-01; Mon, 31 Mar 2008 23:41:20 +0200 (CEST) Received: from [10.0.150.10] (unknown [10.0.150.10]) by mail.ih.systisoft.com (Postfix) with ESMTP id B08CE4E0B0A; Mon, 31 Mar 2008 23:41:19 +0200 (CEST) Cc: internals Mailing List Message-ID: To: Gwynne Raskind 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 23:41:16 +0200 References: <47F0B0DA.9050000@sektioneins.de> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: by amavisd-new at mail.ih.systisoft.com X-Spam-Status: No, hits=-0.554 tagged_above=-999 required=5 tests=ALL_TRUSTED, AWL, BAYES_50, MISSING_SUBJECT, NO_RECEIVED X-Spam-Level: Subject: Re: [PHP-DEV] PHP 5.3 the slowest PHP of all times ?!? From: php@benjaminschulz.com (Benjamin Schulz) Hi >> >> 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: bench.php with cvs update -r PHP_5_3 -D "2008-03-09 14:26 GMT": Total 6.883 cvs update -D "2008-03-09 14:28 GMT": Total 13.961 cvs diff -D "2008-03-09 14:26 GMT" -D "2008-03-09 14:28 GMT" ? pear/scripts cvs diff: Diffing . Index: configure.in =================================================================== RCS file: /repository/php-src/configure.in,v retrieving revision 1.647 retrieving revision 1.648 diff -r1.647 -r1.648 1c1 < ## $Id: configure.in,v 1.647 2008/02/17 20:49:46 helly Exp $ -*- autoconf -*- --- > ## $Id: configure.in,v 1.648 2008/03/09 14:27:15 gwynne Exp $ -*- autoconf -*- 124a125,139 > dnl Darwin 9 hack > dnl Because the default debugging format used by Apple's GCC on Mac OS 10.5 > dnl causes errors in all current and past versions of Autoconf, we do a little > dnl messing with the CFLAGS here to trick it. > php_did_darwin9_cheat=0 > case $host_alias in > *darwin9*) > echo $CFLAGS | grep -E '(^-g)|([[:space:]]-g)' 2>/dev/null >/dev/ null > if test "$?" -ne 0; then > php_did_darwin9_cheat=1 > CFLAGS="$CFLAGS -gstabs" > fi > ;; > esac > 170c185,192 < GCC_MAJOR_VERSION=`$CC --version | $SED -n '1s/[[^0-9]]*\([[0-9]]\+ \)\.[[0-9]]\+\..*/\1/;1p'` --- > case $host_alias in > *darwin*) > GCC_MAJOR_VERSION=`$CC -dumpversion | $SED -nE '1s/([[0-9]]+)\. [[0-9]]+\..*/\1/;1p'` > ;; > *) > GCC_MAJOR_VERSION=`$CC --version | $SED -n '1s/[[^0-9]]*\ ([[0-9]]\+\)\.[[0-9]]\+\..*/\1/;1p'` > ;; > esac 717a740,743 > dnl Finish the Darwin hack > if test "$php_did_darwin9_cheat" -eq 1; then > CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs//g'` > fi