From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#22114: 24.5; [PATCH] Allow profiler.el to display reports after stopping Date: Tue, 08 Dec 2015 09:42:37 -0800 Message-ID: References: <83bna0di5k.fsf@gnu.org> <20151208163208.GA1080@odonien.bevuta.com> <837fkodf3e.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1449596603 17523 80.91.229.3 (8 Dec 2015 17:43:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2015 17:43:23 +0000 (UTC) Cc: 22114@debbugs.gnu.org, Vasilij Schneidermann To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 08 18:43:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a6MIA-0005xq-Ry for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2015 18:43:11 +0100 Original-Received: from localhost ([::1]:32817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6MIA-0000Cp-4a for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2015 12:43:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6MI5-0000CW-SN for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2015 12:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6MI2-0005ZQ-Dn for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2015 12:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6MI2-0005ZM-Az for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2015 12:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a6MI2-0000Vt-3f for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2015 12:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2015 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22114 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22114-submit@debbugs.gnu.org id=B22114.14495965681949 (code B ref 22114); Tue, 08 Dec 2015 17:43:02 +0000 Original-Received: (at 22114) by debbugs.gnu.org; 8 Dec 2015 17:42:48 +0000 Original-Received: from localhost ([127.0.0.1]:43461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6MHo-0000VN-2N for submit@debbugs.gnu.org; Tue, 08 Dec 2015 12:42:48 -0500 Original-Received: from mail-pa0-f54.google.com ([209.85.220.54]:35852) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6MHl-0000VE-Gh for 22114@debbugs.gnu.org; Tue, 08 Dec 2015 12:42:46 -0500 Original-Received: by pacdm15 with SMTP id dm15so15255402pac.3 for <22114@debbugs.gnu.org>; Tue, 08 Dec 2015 09:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=pMG3L7l9oU+DqVhbDQfSoJzboykm+CcAPXkp+Tkp17I=; b=1HwoJ6VlD0Doy+P3mMR4WPbeEkxAZhTPdUmN46Plg0kCYI1KQmaFHFlovateL1b5Wk DvdQKed3lFoGIiPP5tSzWJzvAAJ0Ql/wtqn9Q7Cfw9D/rIK9rrsVpXBNnTBtdOvk1odF PL7HI2JBVamHpCCA0Zz2xK17TranD/m14/v5E/NU9jEQ9EnqnEDWX1PFD1NzzN93lELI dhymtiP+ZijPq5ZuddBHF65Eugfezk/rPoTYpkLY++edMSIlt5laJX3fVtrvr/grKO8Q dxjXDF9gf+ydttg3Js7zGF4XoOYpI63Vb/Aa6PrBWBH+qx98LF8XJ0DdSpV9Dkk/LyDM BCxQ== X-Received: by 10.66.122.72 with SMTP id lq8mr1611971pab.1.1449596564864; Tue, 08 Dec 2015 09:42:44 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id q23sm6065123pfi.34.2015.12.08.09.42.43 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 08 Dec 2015 09:42:43 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 7315B10FCF349; Tue, 8 Dec 2015 09:42:42 -0800 (PST) In-Reply-To: <837fkodf3e.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Dec 2015 19:28:53 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109774 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>>>> Eli Zaretskii writes: > But why would you need a subsequent access to the same data? The profiler > report is in the buffer, and you can review it whenever you want. The buf= fer > has the time of the report creation as part of its name, so the next repo= rt > will not destroy the buffer. You can also save the report to a file (ther= e's > a separate command to do that). By contrast,producing a report again from > the same data will simply produce an identical report. > I guess I don't see a use case where the user would need to produce the s= ame > report twice. I never needed that myself, FWIW. I think the OP wants to: 1. Start a profile 2. View the "results in progress" 3. Allow it to continue execution 4. View the "results at the end" It's step #2 that's missing. If we can only view the results in progress by taking away the option for #4, this is less optimal. This is something that other profilers do let you do; I use Instruments on = the Mac to view "statistics as they happen" all the time, to spot trends, for example. =2D-=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCgAGBQJWZxaNAAoJEMFE2PTxn+YwfXcL/2otKX3rUKKj26vrZBpenlCj gPyyGml3pfFx9vtMgBJQ4c5vBCE6XNBCJvUK2QRFUjCn0lkonFzCYLAYuHjjzVcC ywyWJjjLS3Nrr+5B2ID8T21Dx2rC//6sYxf/9pc+U2x4Cc6sL/hwPXZ+f6uOCzp/ HG8gGONvC9E4Vid6vqnPSMiCJO+rryxiuM1IC7KurVjSwYmZe+uoJkbu2pvyIoFe VMdaonq2fmxXHxE9Gs0EUFUQWBeOVcdv0qMHIxM/p+31zZj2i8HM+vN7Q9HKfmkJ nYytVbnAYq98Wx1pKKhhIOK6Y+AR3VLATsK/RnB8SWoPMFXsWHIS4RUUCQsf5Phh aplytFwNqVIOBhzeovNzEGem6t367VmVtz66RaEffhPFHSOOEnILP20cTWYRFNHR cAI/f5Qh2yVem/DG2eP2js/qp9p36IQHtRIZpUE4XVlyVOs3lSfHOZdINhCBKcXj lFWxBv+ilTy2Nh54GCnnAfzFoFTEhwomF9vnQsd6Qw== =1bmg -----END PGP SIGNATURE----- --=-=-=--