Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79895 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81051 invoked from network); 23 Dec 2014 21:28:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2014 21:28:51 -0000 Authentication-Results: pb1.pair.com header.from=jacob.bednarz@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jacob.bednarz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.49 as permitted sender) X-PHP-List-Original-Sender: jacob.bednarz@gmail.com X-Host-Fingerprint: 209.85.220.49 mail-pa0-f49.google.com Received: from [209.85.220.49] ([209.85.220.49:42574] helo=mail-pa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/52-01814-19ED9945 for ; Tue, 23 Dec 2014 16:28:51 -0500 Received: by mail-pa0-f49.google.com with SMTP id eu11so8638427pac.36 for ; Tue, 23 Dec 2014 13:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type; bh=7VzjsxCojzzq/nAHA5ypqJJjmgyCc5K37w1c+jW8onY=; b=awHmBY/IJ+6WKZMti5ADVlXwKmU+mLAoYmXInR/ND9qoCN7TItn+9TEJIOjd/8Z4Uc pvnVqHSq9Kw2rDr0WvnkmVND0odUncdmZPWItdAMZbcGwocH5Kj44k2xyabxVqv5yLzr v/3kDbqOS43DPBmkJnj8mN8EdByK5GwJXAeQjm4UZ8+0UTYCgJtz9cElgLrdVTK+ZVuv ssheQnXC/OGyfVpfUdv4rqKvwpy7+m69W+pfHWbiLecn1AyeGiGtW2IFjIzdcBpVkAIg bCZIGBuSoL+Ni7DnqzadavbCHOLXft9jYHmCEbYsaoe55VoHnPqJ+yMW8ryXvpzDEk5X RVUw== X-Received: by 10.68.135.7 with SMTP id po7mr47242744pbb.140.1419370127091; Tue, 23 Dec 2014 13:28:47 -0800 (PST) Received: from Jacobs-MacBook-Pro.local (ec2-54-206-194-77.ap-southeast-2.compute.amazonaws.com. [54.206.194.77]) by mx.google.com with ESMTPSA id ly9sm6547558pdb.45.2014.12.23.13.28.44 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 23 Dec 2014 13:28:46 -0800 (PST) Date: Wed, 24 Dec 2014 07:28:41 +1000 To: internals@lists.php.net Message-ID: X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5499de89_66334873_3ddc" Subject: Line profiler for PHP From: jacob.bednarz@gmail.com (Jacob Bednarz) --5499de89_66334873_3ddc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey, I have been working on some profiling of an application recently and whil= st xhprof and xdebug are good to get an overall picture to further break = into, I haven=E2=80=99t been able to find a tool for line by line profili= ng in PHP for a particular file. I have done a bit of research and found = rblineprof (https://github.com/tmm1/rblineprof) which is a line profiler = for Ruby and I would like to achieve this in PHP.=C2=A0 The questions I have are: - Is this even possible=3F - Are there any projects out there or being worked on that achieve this=3F= - If nothing exists, I am happy to look into this however I will need som= e guidance on best practices, caveats with profiling PHP and ways of pars= ing the file correctly. Thanks=21 --5499de89_66334873_3ddc--