GNU bug report logs - #30491
26.0; (elisp) `Profiling'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Fri, 16 Feb 2018 18:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 18 Feb 2018 16:22:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 18 11:22:42 2018
Received: from localhost ([127.0.0.1]:49944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1enRje-0004Fz-4d
	for submit <at> debbugs.gnu.org; Sun, 18 Feb 2018 11:22:42 -0500
Received: from userp2120.oracle.com ([156.151.31.85]:34072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1enRjc-0004Fm-KK
 for 30491 <at> debbugs.gnu.org; Sun, 18 Feb 2018 11:22:40 -0500
Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1IGMYwu112248;
 Sun, 18 Feb 2018 16:22:34 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=YjUjbs4680VjuxjUMML4KY/ow/22HMsa1SztFvUN9Gg=;
 b=oUBAt/zvqgfPh5RHyp5QR25jro7/NRZh+tiiDHpbD4X2ruMX3pgkhpYkmrG2Za9NT2jq
 d9WrivKHguVeUulN3d+RKP1g0VODM82SffKTD/YuYpZdyX+jdYJSlqDyaIRiJqs7VfSK
 Z2Cyrl4hQivCKg5AFo/PwVV+G4+kEMNXNmU/jz597/09j3iQPwRkLWYCf/eQVimYpRwx
 /RbO/dAiR5NyEPbesOsacAuGTz/Xnej3WMK/uANWUVeggGmKaz1/p+hfHh1zyjSa20aq
 W1tcMQdK5GziW7umqXFk87qZu8l9lQ88LLzQP7AlHcZ1OBT882xwz/7+wMkKNhzFMEy1 ZQ== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by userp2120.oracle.com with ESMTP id 2g7cpx0148-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 18 Feb 2018 16:22:34 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1IGMXu3004971
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Sun, 18 Feb 2018 16:22:33 GMT
Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1IGMVlJ016353;
 Sun, 18 Feb 2018 16:22:31 GMT
MIME-Version: 1.0
Message-ID: <bf5e200e-3401-43df-a327-69d436eb7916@default>
Date: Sun, 18 Feb 2018 08:22:30 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: RE: bug#30491: 26.0; (elisp) `Profiling'
References: <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>>
 <<837ercc4mp.fsf@HIDDEN>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
 <cd12e8a4-a660-4816-b330-b0f63319153d@default>
In-Reply-To: <cd12e8a4-a660-4816-b330-b0f63319153d@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4654.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
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=996
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1802180221
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30491
Cc: 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

> Not only that, but the normal behavior of non-nil
> `mouse-1-click-follows-link' is that if you hold `mouse-1'
> depressed for a moment the command simply sets point.
> But in the profiler report buffer doing that instead
> shows `C-h f' output for the function.
>=20
> So it seems that the Profiler report key bindings do
> not respect `mouse-1-click-follows-link' for either
> a nil or a non-nil value.
>=20
> This is bad design, IMO - a design bug.  It is pretty
> much impossible, it seems, to use `mouse-1' to set
> point.

My bad about that part.  Holding `mouse-1' depressed
does not show help on the function.  But I was right
that it also does not set point (as it should, if
`mouse-1-click-follows-link' were respected).

Holding `mouse-1' for a moment does nothing different.
The slow click just toggles the entry, same as a fast
click.

---

I was confused here by reading the help for `C-h k'
for the `mouse-1' click.  At the end of that help I
read this:

  For documentation of the corresponding mouse down
  event <down-mouse-1>, click and hold the mouse button
  longer than 0.5 second(s).

I was misreading that as applying to the command whose
doc I was reading: `profiler-report-toggle-entry'.

Instead, that sentence is about the key action I used
at the prompt of `C-h k'.

I think this help text is unclear.  99% of the text
is about a COMMAND - the command bound to the mouse
up event.  And then, with no separation at all, we
read a sentence that is suddenly about the second
event you caused in response to the `C-h k' prompt'.

This is awful (IMHO).  At the very least, that
sentence should be set off with a clear separator
(e.g. horizontal line or C-l char), and it should
be in parentheses.

Some better help design is needed for this, in any
case.  I'm sure I won't be the last user to fall
prey to this design gotcha.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 18 Feb 2018 16:07:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 18 11:07:51 2018
Received: from localhost ([127.0.0.1]:49928 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1enRVH-0003tj-9t
	for submit <at> debbugs.gnu.org; Sun, 18 Feb 2018 11:07:51 -0500
Received: from aserp2130.oracle.com ([141.146.126.79]:46782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1enRVG-0003tU-6o
 for 30491 <at> debbugs.gnu.org; Sun, 18 Feb 2018 11:07:50 -0500
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 w1IG7KmX032873;
 Sun, 18 Feb 2018 16:07:43 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=35oqYTwTSIzydPU5JFMCgdoFAqUB4Ob954xRcZs1JQw=;
 b=Pw6cMzy12kuUPXp15DvhM4eqbHsCokoarr2SbL3k5FsC8uNItBqQu699Sl6JinZ4bkWl
 hTT/GDYt/A2r65TsyrxvsiT6uCDLCIodxGECPjB2+KF4XYxqDS101oxe4/EmNdAIrHqD
 GJVX0D/WdXc1ZNR+9wv8YobItvKO1I+prmP28D/wH+1M1QsPSIQKLAhow3yxyzD6kclj
 axwMwKrz+burxAKbnnLx9HZU+R+9hIvSH0WNCam+CCQc/YXJ+UrAbj2V50iJ1s+yjeXr
 e9Hc/R90Skm8IN6YgaRaH2Pl5GsBiFrV9CCEbMJqIv3pRmPovzufMjiq11C0iLKziPvn rw== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by aserp2130.oracle.com with ESMTP id 2g7cpx0032-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 18 Feb 2018 16:07:43 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1IFqdvZ031902
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Sun, 18 Feb 2018 15:52:39 GMT
Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1IFqchZ003654;
 Sun, 18 Feb 2018 15:52:38 GMT
MIME-Version: 1.0
Message-ID: <cd12e8a4-a660-4816-b330-b0f63319153d@default>
Date: Sun, 18 Feb 2018 07:52:36 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: RE: bug#30491: 26.0; (elisp) `Profiling'
References: <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>>
 <<837ercc4mp.fsf@HIDDEN>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
In-Reply-To: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4654.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
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-1802180217
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30491
Cc: 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

> 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.

I have `mouse-1-click-follows-link' =3D nil, which normally
means that `mouse-1' click just sets point.  At the very
least it normally does NOT mean that `mouse-1' click does
the same thing that `mouse-2' click does.

In this context, I would like `mouse-2' to do what `mouse-1'
is currently doing: open the clicked entry.  And I would
like (and expect) that `mouse-1' simply sets point, as
usual.

This change to making `mouse-1' always open the entry
seems to go against Emacs convention and subvert the
user's setting of `mouse-1-click-follows-link'.

Not only that, but the normal behavior of non-nil
`mouse-1-click-follows-link' is that if you hold `mouse-1'
depressed for a moment the command simply sets point.
But in the profiler report buffer doing that instead
shows `C-h f' output for the function.

So it seems that the Profiler report key bindings do
not respect `mouse-1-click-follows-link' for either
a nil or a non-nil value.

This is bad design, IMO - a design bug.  It is pretty
much impossible, it seems, to use `mouse-1' to set
point.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 17 Feb 2018 16:24:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 17 11:24:08 2018
Received: from localhost ([127.0.0.1]:48509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1en5HU-00081z-6r
	for submit <at> debbugs.gnu.org; Sat, 17 Feb 2018 11:24:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52013)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1en5HT-00081n-6j
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 11:24:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1en5HK-0001dS-VU
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 11:24:02 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54951)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1en5HK-0001dO-RG; Sat, 17 Feb 2018 11:23:58 -0500
Received: from [176.228.60.248] (port=4117 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1en5HK-00020s-1l; Sat, 17 Feb 2018 11:23:58 -0500
Date: Sat, 17 Feb 2018 18:24:01 +0200
Message-Id: <83po53bn4u.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> (message from Drew
 Adams on Sat, 17 Feb 2018 07:45:34 -0800 (PST))
Subject: Re: bug#30491: 26.0; (elisp) `Profiling'
References: <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>>
 <<837ercc4mp.fsf@HIDDEN>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 30491
Cc: 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sat, 17 Feb 2018 07:45:34 -0800 (PST)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 30491 <at> debbugs.gnu.org
> 
> > > 4. A simple example of using the profiler commands would be welcome.
> > 
> > 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.

It's much easier to do "C-u RET" on the top line of the call-tree.
And the fact that prefix argument has this effect is documented.

> > > Also, some brief comparison of profile, elp, and benchmark could be
> > helpful: what are their particular purposes, strengths, etc.
> > 
> > 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

I think this is covered now.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 17 Feb 2018 16:16:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 17 11:16:24 2018
Received: from localhost ([127.0.0.1]:48495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1en5A0-0007p5-6S
	for submit <at> debbugs.gnu.org; Sat, 17 Feb 2018 11:16:24 -0500
Received: from mail-io0-f169.google.com ([209.85.223.169]:46102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1en59w-0007oo-TU
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 11:16:23 -0500
Received: by mail-io0-f169.google.com with SMTP id p78so7170685iod.13
 for <30491 <at> debbugs.gnu.org>; Sat, 17 Feb 2018 08:16:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=gTJvWl/ZfJklkIOS5BBCjdXVWmvMU8yNRcHKx2z2SYE=;
 b=h0LURn1cTjKrY0uV+IeFnC+/W6spgm3rt5N+zCTpzQ04UF5s3+SbpZFqfUWz6NvwzO
 TWjzbd/LJhppULpcEhF1xX3f9sTfkXAvL+HwZpxJXEM0pp+UomxiOHLv6AlyX1A+EM23
 sUk9kYAdMA5ly9/61wLxAbZlZetasysLzWwPxT0EihQe286k8uJGQ5OBuY1o3HRRJr57
 BQm0mfkRcAWb7RbvBiE7eBXYk57CK+pJFIftYiRAZNebNSKsXB93Vki3elkVNDmHSnYQ
 z7ag17HbXzVmT3CWki0YixW9AEyesTkE5uOdMGg7ypBCZqK0yxrLED7fqfXS43+oY5pU
 Nymg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=gTJvWl/ZfJklkIOS5BBCjdXVWmvMU8yNRcHKx2z2SYE=;
 b=GTMvmBjuBhvRvN9yBnTi53oiOnQpq/5sYzVaesoRttNevqX8gqYVGW5x0B9NbVK+qQ
 GRn257bwjPhGcI9C3PyHKVQA884sFchFVsn/zDdSzw60ujMw9LJ4K1PNW6bviR+SlIp7
 sIbpmEiwBzfN9qFweqIRXAkIAEG0RRpFBVvzkndMPnvsBUDUhuQVCqFf4ym0EX3J/+h+
 hsr8shvpkI27Nlem8IjhiJ08mEMTEkQWz49rGtCaUqTsPM7sBTcmeWA7b1GvE27SE91U
 gMz7YIwXib1QSHgqTtI1rq7CSLb1IMrs5m9L1dvMhbwRRhkICDt41nMTj0AUg8B81xMF
 Y3UA==
X-Gm-Message-State: APf1xPDYHJMnU0bvFjt+4DdhSWgR0NmIFZvO+BXQSDQVynuiY43sdCdj
 1gfQ1Ln0LSCiao25uQZq1F8vjw==
X-Google-Smtp-Source: AH8x224fhy+f/+Xa/X7KxnO44AZaSXsqaiUvo+9dtd38sRYdRT5opxHfadPBOvuZt4fW1bP+Rvgb8w==
X-Received: by 10.107.79.11 with SMTP id d11mr2231083iob.253.1518884175244;
 Sat, 17 Feb 2018 08:16:15 -0800 (PST)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 i189sm17309199itf.33.2018.02.17.08.16.13
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 17 Feb 2018 08:16:14 -0800 (PST)
From: Noam Postavsky <npostavs@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#30491: 26.0; (elisp) `Profiling'
References: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>>
 <837ercc4mp.fsf@HIDDEN>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
Date: Sat, 17 Feb 2018 11:16:13 -0500
In-Reply-To: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> (Drew Adams's
 message of "Sat, 17 Feb 2018 07:45:34 -0800 (PST)")
Message-ID: <87y3jr6182.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30491
Cc: Eli Zaretskii <eliz@HIDDEN>, 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Drew Adams <drew.adams@HIDDEN> writes:

> 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.

You can use the prefix argument to profiler-report-toggle-entry (C-u
RET).  This is documented as of Emacs 25 (see [1: 272391f1d6] and
Bug#13455).

[1: 272391f1d6]: 2016-07-28 20:02:42 -0400
  profiler: document prefix arg for tree expansion
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=272391f1d63eae0c1002d62fa5e5b1d63a0da767




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 17 Feb 2018 15:45:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 17 10:45:52 2018
Received: from localhost ([127.0.0.1]:48461 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1en4gS-00071P-0f
	for submit <at> debbugs.gnu.org; Sat, 17 Feb 2018 10:45:52 -0500
Received: from aserp2130.oracle.com ([141.146.126.79]:46114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1en4gM-00070s-0Y
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 10:45:48 -0500
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== 
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
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
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
MIME-Version: 1.0
Message-ID: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default>
Date: Sat, 17 Feb 2018 07:45:34 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Subject: RE: bug#30491: 26.0; (elisp) `Profiling'
References: <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>>
 <<837ercc4mp.fsf@HIDDEN>>
In-Reply-To: <<837ercc4mp.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4654.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30491
Cc: 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

> > 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 17 Feb 2018 10:06:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 17 05:06:17 2018
Received: from localhost ([127.0.0.1]:47484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emzNo-0005gS-On
	for submit <at> debbugs.gnu.org; Sat, 17 Feb 2018 05:06:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1emzNm-0005gB-MC
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 05:06:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1emzNe-0001Nn-6v
 for 30491 <at> debbugs.gnu.org; Sat, 17 Feb 2018 05:06:09 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51048)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1emzNe-0001Nh-3S; Sat, 17 Feb 2018 05:06:06 -0500
Received: from [176.228.60.248] (port=3381 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1emzNd-0003fo-8p; Sat, 17 Feb 2018 05:06:05 -0500
Date: Sat, 17 Feb 2018 12:06:06 +0200
Message-Id: <837ercc4mp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default> (message from Drew
 Adams on Fri, 16 Feb 2018 10:11:59 -0800 (PST))
Subject: Re: bug#30491: 26.0; (elisp) `Profiling'
References: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 30491
Cc: 30491 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Fri, 16 Feb 2018 10:11:59 -0800 (PST)
> From: Drew Adams <drew.adams@HIDDEN>
> 
> 1. "how much resource" is not good English.  How much of a given
>    resource or how many resources, not how much resource.  "Resource" is
>    a countable noun.
> 
> 2. "See the functions 'benchmark-run' and 'benchmark-run-compiled'".
>    Those are macros, not functions.  And it should probably mention
>    command `benchmark'.

I fixed those.

> 3. The node should say something about library `elp', or it should not
>    mention it.  The approach should be similar to what is said about
>    library `benchmark.el', at a minimum.

Done.

> 4. A simple example of using the profiler commands would be welcome.

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?

> Also, some brief comparison of profile, elp, and benchmark could be helpful: what are their particular purposes, strengths, etc.

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.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at 30491 <at> debbugs.gnu.org:


Received: (at 30491) by debbugs.gnu.org; 16 Feb 2018 18:19:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 16 13:19:24 2018
Received: from localhost ([127.0.0.1]:47188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emkbU-0001zK-Nb
	for submit <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:19:24 -0500
Received: from aserp2130.oracle.com ([141.146.126.79]:48162)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1emkbT-0001z7-EZ
 for 30491 <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:19:23 -0500
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 w1GICBhQ192672
 for <30491 <at> debbugs.gnu.org>; Fri, 16 Feb 2018 18:19:16 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=C+IMjrqxGHMTQJe+LvnXAX1U5G9hnYB1OSCWJpnkY1U=;
 b=kTUvVjwqYdZWGvkKLmKA4rAG+F98N1wqeBquyu2XIdRKpB8gpAZpegYvQMKiT/hkWKgb
 i0TOK44Otv8W73fsoT8Qh09LWiSxa2mJV6yypXy9DUBQmsrDrnLUPnQoLu3u5IkuS/1w
 xW5MzKQ4Oxq1yQwy/B7uAf9si6p9gtiwYDALPkQBqyDv60/+HdCKenlrC2rJetNrobDC
 4PCelKBeL1s+HmKGS0wPfYDbrP5rPka9BfME6VAAw92X7SizJf5mb6ESgtlhp5L7ozis
 qP7BbJ5/E3GjU9k/ybqiFVwOIBDdksoZwBrc/sQnC7A3heX2vD6kAwS659iYyhkB6bWz 5A== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by aserp2130.oracle.com with ESMTP id 2g62vfgjyg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <30491 <at> debbugs.gnu.org>; Fri, 16 Feb 2018 18:19:09 +0000
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1GIFsrL027043
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <30491 <at> debbugs.gnu.org>; Fri, 16 Feb 2018 18:15:54 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w1GIFquq007225
 for <30491 <at> debbugs.gnu.org>; Fri, 16 Feb 2018 18:15:54 GMT
MIME-Version: 1.0
Message-ID: <1b1b7e96-4c6b-47a9-b830-c6fe088ccfef@default>
Date: Fri, 16 Feb 2018 10:15:51 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: 30491 <at> debbugs.gnu.org
Subject: RE: bug#30491: 26.0; (elisp) `Profiling'
References: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
In-Reply-To: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4654.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8807
 signatures=668673
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=322
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1802160216
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30491
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Also, some brief comparison of profile, elp, and benchmark could be helpful=
: what are their particular purposes, strengths, etc.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Feb 2018 18:12:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 16 13:12:22 2018
Received: from localhost ([127.0.0.1]:47181 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emkUe-0001nu-0I
	for submit <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:12:20 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36719)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1emkUb-0001ng-PM
 for submit <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:12:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1emkUV-0003Mu-TH
 for submit <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:12:12 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39147)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1emkUV-0003Mm-Pw
 for submit <at> debbugs.gnu.org; Fri, 16 Feb 2018 13:12:11 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55922)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1emkUU-0004aF-NN
 for bug-gnu-emacs@HIDDEN; Fri, 16 Feb 2018 13:12:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1emkUR-0003Kd-IV
 for bug-gnu-emacs@HIDDEN; Fri, 16 Feb 2018 13:12:10 -0500
Received: from aserp2120.oracle.com ([141.146.126.78]:55524)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1emkUR-0003KB-B6
 for bug-gnu-emacs@HIDDEN; Fri, 16 Feb 2018 13:12:07 -0500
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1GI6iGn158075
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Feb 2018 18:12:02 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2017-10-26;
 bh=khdYhE7Q+YreJqZAWEfBd31t5Mk9npDUTghWmpLDbzk=;
 b=FbJ94KJbt+QCtr9GebXkR8408CV8sPku2aRsHPsWS+PEzU3Nj903YUbqG8FRFxdPO/mg
 LErbq+uDOBZ6LmJHg9nWpooAgxrZ1e9rMj+6AxlYA8Sa/SOJ01DRfB6vnH0/DCj3AMrx
 i8Vxy0x14y63VMbLJbbTIlnmFjkZkYqG/O4m4gN7DAtOX2Ps/G/M3eIYAFxIVAGlNIOi
 F9YlsTxXKgT85sckPvVrtOcxU2HvgCACxnXOTQXNaMwkdMw/PnhDuGkttoJlOa4Im+qr
 ZG42Cm1iivVgdNQRBs+Nauum0L2l166Q/sBU+p2Pwjl9qCXxhnLXUNkAXM6/UpspOiuh oQ== 
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp2120.oracle.com with ESMTP id 2g62nhgq3g-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Feb 2018 18:12:01 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1GIC0ZR000646
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Feb 2018 18:12:01 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1GIC0xf007452
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Feb 2018 18:12:00 GMT
MIME-Version: 1.0
Message-ID: <d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
Date: Fri, 16 Feb 2018 10:11:59 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.0; (elisp) `Profiling'
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4654.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8807
 signatures=668673
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=787
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1802160215
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

1. "how much resource" is not good English.  How much of a given
   resource or how many resources, not how much resource.  "Resource" is
   a countable noun.

2. "See the functions 'benchmark-run' and 'benchmark-run-compiled'".
   Those are macros, not functions.  And it should probably mention
   command `benchmark'.

3. The node should say something about library `elp', or it should not
   mention it.  The approach should be similar to what is said about
   library `benchmark.el', at a minimum.

4. A simple example of using the profiler commands would be welcome.


In GNU Emacs 26.0.91 (build 1, x86_64-w64-mingw32)
 of 2018-01-22
Repository revision: 752fba992b793a74d202c9cfc3e1a92fd458e748
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install 'CFLAGS=3D-O2 -static -g3''




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30491; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 18 Feb 2018 16:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.