unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 30491@debbugs.gnu.org
Subject: bug#30491: 26.0; (elisp) `Profiling'
Date: Sat, 17 Feb 2018 07:45:34 -0800 (PST)	[thread overview]
Message-ID: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> (raw)
In-Reply-To: <<837ercc4mp.fsf@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.

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





       reply	other threads:[~2018-02-17 15:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
     [not found] ` <<837ercc4mp.fsf@gnu.org>
2018-02-17 15:45   ` Drew Adams [this message]
2018-02-17 16:16     ` bug#30491: 26.0; (elisp) `Profiling' Noam Postavsky
2018-02-17 16:24     ` Eli Zaretskii
2018-02-18 17:36       ` Drew Adams
2018-02-20 18:26         ` Drew Adams
2021-10-23 17:01       ` Stefan Kangas
2021-10-23 18:18         ` bug#30491: [External] : " Drew Adams
2021-10-23 18:36           ` Stefan Kangas
2021-10-23 19:06             ` Drew Adams
2021-10-23 19:14             ` Eli Zaretskii
2021-10-23 19:38               ` Drew Adams
2021-10-24  5:49                 ` Eli Zaretskii
2021-10-23 21:13               ` Stefan Kangas
2021-10-23 19:12           ` Eli Zaretskii
2018-02-18 15:52     ` Drew Adams
2018-02-18 16:22       ` Drew Adams
2018-02-16 18:11 Drew Adams
2018-02-16 18:15 ` Drew Adams
2018-02-17 10:06 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default \
    --to=drew.adams@oracle.com \
    --cc=30491@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).