Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1436 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66837 invoked from network); 11 May 2003 13:14:58 -0000 Received: from unknown (HELO mailout11.sul.t-online.com) (194.25.134.85) by pb1.pair.com with SMTP; 11 May 2003 13:14:58 -0000 Received: from fwd01.sul.t-online.de by mailout11.sul.t-online.com with smtp id 19EqfE-0005CS-02; Sun, 11 May 2003 15:14:52 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.175.63]) by fwd01.sul.t-online.com with esmtp id 19Eqf2-1k3fZwC; Sun, 11 May 2003 15:14:40 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030511150601.036d3378@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 11 May 2003 15:14:39 +0200 To: zeev@zend.com Cc: Sebastian Bergmann ,internals@lists.php.net In-Reply-To: <5.1.0.14.2.20030511111352.03d770e0@localhost> References: <5.1.0.14.2.20030511105236.03e860e0@localhost> <5.1.0.14.2.20030511105236.03e860e0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] ADT and SPL From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) At 10:15 11.05.2003, Zeev Suraski wrote: >At 11:05 11/05/2003, Sebastian Bergmann wrote: >>Zeev Suraski wrote: >> > we may rollback to the old execution architecture >> >> Is there any chance to make the incurred overhead optional (at compile >> time of PHP, I mean)? This way it could be turned off when there's no >> extension built-in -- like SPL -- that uses the opcode overloading. > >It might be possible, but I'm not sure that it is and that if it is, that >we'd want that. It's something that we won't have an answer for for quite >some time - profiling this part and figuring out how to speed it up >doesn't rank high on our TODO. During the A'dam conf i was able to track down some speed problems within the engine with Sterling. Several things can be made many things much slower. (i will commit some of the changes today and during the following days). This way i think i can reduce speed decrease to less than 10%. If spl could be integrated into the engine i think i could reduce the speed decrease to 1% (that is what profiling results seem to point out). Another thing i will do is to reduce/remove the spl overhead itself which is also a thing i was pointed to by the profiler. At the moment we seem to have a performance loss of 20% to 45% percent by using spl. This is only at the moment because i haven't optimized the infrastructure i need and used overbloated (for spl) engine features. After moving spl to the engine an optimizing everything i think i can reach what i wanted: using spl is fatser then doing it manually. When moving spl into the engine we are mixing language and compiler features. However this seems to be modern since C# does it too. Furthermore i had a very good idea to speed up the engine even more. But this is not related to spl so i will mail at another place. regards marcus