Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40347 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47384 invoked from network); 8 Sep 2008 16:51:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 16:51:34 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:22914] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/F2-33249-41855C84 for ; Mon, 08 Sep 2008 12:51:33 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Sep 2008 19:52:41 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Sep 2008 09:52:38 -0700 Message-ID: <48C55855.4080602@zend.com> Date: Mon, 08 Sep 2008 09:52:37 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Greg Beaver , PHP Developers Mailing List , Dmitry Stogov References: <486FA5FB.1000300@php.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Sep 2008 16:52:38.0023 (UTC) FILETIME=[4CC09170:01C911D3] Subject: Re: towards a 5.3 release From: stas@zend.com (Stanislav Malyshev) Hi! > I think given the feedback from users, we really need to actually > benchmark the performance slow down that Greg's proposed changes will > bring. I also guess there are two types of users out there: Could you summarize the feedback? The slowdown is obvious - exhaustive autoloading search for each access to internal class. However, I'm not sure what benchmark you are seeking. I could produce benchmark that would provide you almost any slowdown number by manipulation include path length (longer include path is, bigger slowdown), class access pattern (more internal classes used, more slowdown) and application structure (less code, more relative slowdown from slowing the class resolution). What is the goal here - i.e., do you doubt that exhaustive autoloading search each time you use Exception in your code inside namespace would produce a slowdown? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com