Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22380 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14170 invoked by uid 1010); 13 Mar 2006 19:22:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14155 invoked from network); 13 Mar 2006 19:22:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2006 19:22:35 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:36562] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AA/63-55982-A76C5144 for ; Mon, 13 Mar 2006 14:22:35 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k2DJMQf7019932; Mon, 13 Mar 2006 11:22:31 -0800 Message-ID: <4415C672.1070404@lerdorf.com> Date: Mon, 13 Mar 2006 11:22:26 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Andi Gutmans CC: internals References: <4414F63F.5030406@lerdorf.com> <7.0.1.0.2.20060312211612.04c96438@zend.com> <44150E03.70500@lerdorf.com> <7.0.1.0.2.20060313101833.0453f4a0@zend.com> In-Reply-To: <7.0.1.0.2.20060313101833.0453f4a0@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Calling performance geeks From: rasmus@lerdorf.com (Rasmus Lerdorf) Andi Gutmans wrote: > Thanks for posting this info. It definitely sounds like we should > concentrate on the 0 length script at this point. I saw Dmitry already > made some good improvements. Yup, that patch helped. And I guess on some architectures 5.1 is faster now, but there is still a bit of a gap, at least on this Linux box I am testing on: http://www.php.net/~rasmus/bm2.png The 5.1.3m version there is one where I got rid of the ap_add_common_vars() and ap_add_cgi_vars() calls in sapi/apache_mod_php5.c just to see how much it would help. On the empty case which is all about start/shutdown, it had the expected effect, but as we do more in the request the effect disappears. -Rasmus