Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86488 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93780 invoked from network); 4 Jun 2015 17:01:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2015 17:01:19 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.172 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:36737] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/A0-19068-E5480755 for ; Thu, 04 Jun 2015 13:01:19 -0400 Received: by wibdq8 with SMTP id dq8so131435308wib.1 for ; Thu, 04 Jun 2015 10:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=yrpglbCkUjKFVzB/gAV29Oi+CCDiEOose0mJARPAjSo=; b=X9ntfoH65NPcJd8MvySreiD3zFIBf27gPDCzsB0gv9xZY5DZJAn91jerIZ8vzpHjtH 0yUo6gWihbh95vTHRyHmWTZWkzustXnVBgUnik2CnDTkTYUD8WCUv2kn+Pm7kezxUTju lGMqsgnKZjAb80Ml/fzDAGOOPvBfFFDUhcGsa2iBMFCt2iNGlm+B+bwckCTp18vzB7Lr mwPUiPW+Rv//fYN+IatqI+w0KlbTi/vyz/xbhBiiSxufqTk1IqAZjmHZruQzxeLgUHqu NmmJFrZnOLdVIc2dWUrqT9LfRk+EtrEsCkLbR8W71qya5nrxn/UjGPdD1H+0rLt23zcv NOdA== X-Received: by 10.194.5.74 with SMTP id q10mr72465622wjq.27.1433437275797; Thu, 04 Jun 2015 10:01:15 -0700 (PDT) Received: from [192.168.0.159] ([62.189.198.114]) by mx.google.com with ESMTPSA id ul1sm6582354wjc.30.2015.06.04.10.01.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 10:01:15 -0700 (PDT) Message-ID: <55708412.7090606@gmail.com> Date: Thu, 04 Jun 2015 18:00:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: internals@lists.php.net References: <556F80CF.40303@moonspot.net> <557013DF.9090708@mabe.berlin> In-Reply-To: <557013DF.9090708@mabe.berlin> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Method call overhead From: rowan.collins@gmail.com (Rowan Collins) Marc Bennewitz wrote on 04/06/2015 10:01: >> http://3v4l.org/eJK07 >> >> See the total amount of execution time recorded. >> If we really need pure execution time, then it should record "for loop" >> execution time >> with empty body. > -> incl. displaying the time for the loop: http://3v4l.org/1vZJI Percentages relative to the base for loop, not previous item: http://3v4l.org/l75kf HHVM's percentages are lower primarily because its for loop measure is much slower in absolute terms.