Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2275 invoked from network); 3 Dec 2012 15:34:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2012 15:34:00 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:47387] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/E3-03565-766CCB05 for ; Mon, 03 Dec 2012 10:33:59 -0500 Received: by mail-lb0-f170.google.com with SMTP id j14so2505195lbo.29 for ; Mon, 03 Dec 2012 07:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TH+6yyvvv+7EYZATMYI3mroa+qIUgXs0FnQ2FfDw0RQ=; b=wTXiqovlk4h2BLB7yMG1dBsMlHjIOZO3rcSoCXyF12ZPSjSeaEaJFyT3N9QoH9RZfz fjXzoBIZ/aLsUefsxHSAynLBZT5nLZ7m/mN5DpFEKNT8YtfbR4M3a0nxczGyq3t0c24R tfZIjcbN/UoGN41y0qS0ccwWB08/0pOF5f95sGvXYU+WI1eFANu+wb5OMyZU+0DZl3Bg wAKrgfnxXGD3r/WrxE+9p8r/BD4VL96bzI5r+FQzGFgFHmKb/G4Toi2wZInBG91h48IO pGSkzIP3RTm/7dxk8CZQmXurbGS+Xlh5rBdoRlsjCEqtz5BySG1S9136xrTbNs2P8x4N JGHQ== MIME-Version: 1.0 Received: by 10.112.26.41 with SMTP id i9mr4458150lbg.77.1354548835608; Mon, 03 Dec 2012 07:33:55 -0800 (PST) Received: by 10.112.39.130 with HTTP; Mon, 3 Dec 2012 07:33:55 -0800 (PST) In-Reply-To: References: <50B90DA4.606@lerdorf.com> Date: Mon, 3 Dec 2012 16:33:55 +0100 Message-ID: To: Dmitry Stogov Cc: Rasmus Lerdorf , Derick , julien pauli , Yoram Bar Haim , PHP Internals Content-Type: multipart/alternative; boundary=bcaec553ff382d67b904cff47a3e Subject: Re: [PHP-DEV] execute_data->Ts removing From: nikita.ppv@gmail.com (Nikita Popov) --bcaec553ff382d67b904cff47a3e Content-Type: text/plain; charset=ISO-8859-1 On Mon, Dec 3, 2012 at 10:35 AM, Dmitry Stogov wrote: > The new proposed patch: http://pastebin.com/pj5fQTfN > > Now both execute_data->Ts and execute_data->CVs are removed and > corresponding temporary and compiled variables accessed using > "execute_data" as the base pointer. Temporary variables allocate directly > before the "execute_data" in reverse order and compiled variables right > after. So they can be accessed without any additional computations. The > patch reduces the number of executed instructions and number of memory > reads (about 8% less). > Did you also test how much these 8% less memory reads improve performance? Would be interesting to know :) Nikita --bcaec553ff382d67b904cff47a3e--