From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 30491@debbugs.gnu.org
Subject: bug#30491: 26.0; (elisp) `Profiling'
Date: Sat, 17 Feb 2018 18:24:01 +0200 [thread overview]
Message-ID: <83po53bn4u.fsf@gnu.org> (raw)
In-Reply-To: <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> (message from Drew Adams on Sat, 17 Feb 2018 07:45:34 -0800 (PST))
> Date: Sat, 17 Feb 2018 07:45:34 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 30491@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.
next prev parent reply other threads:[~2018-02-17 16:24 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 ` bug#30491: 26.0; (elisp) `Profiling' Drew Adams
2018-02-17 16:16 ` Noam Postavsky
2018-02-17 16:24 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83po53bn4u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=30491@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.