Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46873 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58696 invoked from network); 23 Jan 2010 04:06:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2010 04:06:20 -0000 Authentication-Results: pb1.pair.com header.from=tstarling@wikimedia.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=tstarling@wikimedia.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wikimedia.org from 66.111.4.26 cause and error) X-PHP-List-Original-Sender: tstarling@wikimedia.org X-Host-Fingerprint: 66.111.4.26 out2.smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:53224] helo=out2.smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/74-33674-AB57A5B4 for ; Fri, 22 Jan 2010 23:06:20 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 9E6EBCD53A; Fri, 22 Jan 2010 23:06:16 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 22 Jan 2010 23:06:16 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=4itExZIcr4qMQiwUiNHf52EaOfM=; b=AfiPN7XsTxavMZx4ZcL2n67vtmhl2xRZM5y21jcKgu4W6HAzoryq3hqCs33Tv2+6E4R70a4TMTt1OOvy5E+9KLAgwJaxb+kKWz5ZooBk3nYNmhiWJCikOBCLiJnDxqydWF0Ah3LYowunjXnoorSiqQ7ImHN3zi2VeTQibtiqSS8= X-Sasl-enc: RioZra3e8fhgW3PpRHI3eav5mcZbT3ndvNHrQ3LEEo4/ 1264219576 Received: from [10.0.0.2] (CPE-121-216-0-184.lnse1.ken.bigpond.net.au [121.216.0.184]) by mail.messagingengine.com (Postfix) with ESMTPSA id 95D13138E2; Fri, 22 Jan 2010 23:06:15 -0500 (EST) Message-ID: <4B5A75B4.1080403@wikimedia.org> Date: Sat, 23 Jan 2010 15:06:12 +1100 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: steve CC: PHP internals References: <4B4DABED.4060202@easyflirt.com> <4B4DF01A.1080103@wikimedia.org> <4B4DFBDE.1020906@lerdorf.com> <4B4E5943.3000706@wikimedia.org> <4B4E5D5B.9020805@zend.com> <4B4E6BE5.1070404@wikimedia.org> <4B4E79A6.2010904@zend.com> <4B4E8D15.60508@wikimedia.org> <57792e851001212136h12d7effaldeb75869808d8350@mail.gmail.com> <57792e851001221857m7954ee3ag4485d5cd695b6126@mail.gmail.com> In-Reply-To: <57792e851001221857m7954ee3ag4485d5cd695b6126@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=BF976370 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] About optimization From: tstarling@wikimedia.org (Tim Starling) steve wrote: > > I don't think PHP has as much support as you think it does. There is > no big supporter to fund a real development drive like that. I'd like to think that I've more or less worked out who supports PHP by now. I know I don't go to many conferences but I haven't been living in a cave these past 6 years. > I doubt anyone does I1/D1/L2 cache profiling for PHP. I did a little bit of CPU cache profiling of PHP using oprofile, more out of curiosity than anything. It was a couple of years ago now. http://wikitech.wikimedia.org/view/Oprofile But you don't need oprofile, you can make changes based on theory, and then measure the execution time of the result. > PHP doesn't ship with an optimizer, byte code cache, or JIT. But community members are developing those things nonetheless. eAccelerator has an optimizer, there are several so-called byte code caches, and Roadsend is a promising compiler project. I think you're underestimating the PHP community. > Rasmus had the idea that it should > do simple things and be easy, and if you were going to do anything > else, then you should have the money to do so. Fair enough really. > Rasmus is not the whole community. Sometimes community members have spare time or the freedom to choose what they work on. I put these ideas out on this list in the hopes that someone might be inspired by them. Also it's nice to get feedback in case I decide to have a go at one of them myself. -- Tim Starling