From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30491: 26.0; (elisp) `Profiling' Date: Sat, 17 Feb 2018 07:45:34 -0800 (PST) Message-ID: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> References: <> <<837ercc4mp.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518882269 10881 195.159.176.226 (17 Feb 2018 15:44:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2018 15:44:29 +0000 (UTC) Cc: 30491@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 16:44:24 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en4em-0001bQ-7q for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 16:44:08 +0100 Original-Received: from localhost ([::1]:34391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en4go-0005u4-1p for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 10:46:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en4gf-0005tU-C7 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 10:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en4gc-0000nc-9f for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 10:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en4gc-0000nY-5G for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 10:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en4gb-00071r-PR for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 10:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2018 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30491-submit@debbugs.gnu.org id=B30491.151888235226999 (code B ref 30491); Sat, 17 Feb 2018 15:46:01 +0000 Original-Received: (at 30491) by debbugs.gnu.org; 17 Feb 2018 15:45:52 +0000 Original-Received: from localhost ([127.0.0.1]:48461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en4gS-00071P-0f for submit@debbugs.gnu.org; Sat, 17 Feb 2018 10:45:52 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:46114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en4gM-00070s-0Y for 30491@debbugs.gnu.org; Sat, 17 Feb 2018 10:45:48 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1HFgFhQ184057; Sat, 17 Feb 2018 15:45:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=fpSwU7M+ZMlVFA/fulwRXdLUUElsvnlUo3Byabpxny4=; b=eL41MZs1QhJqic1IcySBdpzy+PVjRF9Qd74UP/t4TK/5DDODigXiqbonyrQT0VR/UGTu LKgwlgOP/WUxw0lwlK5YTHo+VAde4YuO34Iv4JdRYiC09bxkAG8ltpBj5kvvhH75LsNF fDGpPVCTDCFSMaB43XVU7HAeJGiMHhZicrNHyb0+7oh08jVJX9o1LQ2UUdxnA+WN+NsO i9GbbDfyJiGyh3VUzFVIbbnC4rh4TiO0ueDisDCEkO02WmO0RBzehfjHmq/P2UJ/8eaT Z69J2w9d9IVUVT8lOnYMbUw5LpWAyRjVqFKYISKaglJCLeX9tNf1zRI48Nwc6YoMmvtB nQ== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2g6p4t83ug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Feb 2018 15:45:39 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1HFjc4L023511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 17 Feb 2018 15:45:39 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1HFjaNj029657; Sat, 17 Feb 2018 15:45:36 GMT In-Reply-To: <<837ercc4mp.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4654.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8808 signatures=668674 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802170210 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:143385 Archived-At: > > 4. A simple example of using the profiler commands would be welcome. >=20 > Not sure what example you had in mind. The text mentions 3 profiler > commands to invoke, and describes the resulting profile. What would > the example include, besides just "M-x profile-start" etc., which > sounds redundant? I guess I was mainly thinking of use of the resulting output. Perhaps it was not so much a doc problem as a problem of usability of the UI of the report. I know I was looking for a way to "open" not just the entry on the current line, but also a way to open either (1) all entries or (2) all entries in the region. I ended up using a keyboard macro to do #1. And I found that the action that is now associated with a `mouse-1' click, which is to "open" the entry of the line clicked, is more annoying than helpful. Clicking to set point is too useful to be lost or relegated to "slow" clicking. I ended up using only the keyboard to move the cursor, which isn't always ideal for direct access. Yes, those are not comments about the doc. Perhaps they could be considered anyway, without needing a separate bug report? > > Also, some brief comparison of profile, elp, and benchmark could be > helpful: what are their particular purposes, strengths, etc. >=20 > I think this was already clear from the text: e.g., benchmark only > measures the total execution time of a form, it doesn't produce any > insights on the distribution of that time between the form's > components. I added more text to make some differences more clear. This post makes a start, but it doesn't mention elp. Perhaps the text you've added (I've not seen it yet) already makes a similar brief comparison. https://emacs.stackexchange.com/a/540/105 Thanks for the doc improvements.