all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "68693@debbugs.gnu.org" <68693@debbugs.gnu.org>
Subject: bug#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile
Date: Wed, 24 Jan 2024 22:05:10 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488BAC2E0C62DF671CDA009F37B2@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <86ttn2cwv3.fsf@gnu.org>

> > > Thanks, fixed on the emacs-29 branch.
> > >
> > > Use "M-x profiler-find-profile".
> >
> > Thx.  A suggestion would be to also add
> > that to the menu-bar menu (if you didn't
> > also do that just now).
> 
> I don't think it should be on the menu, for the same reason it doesn't
> have a key binding: this is a relatively rare command, used only be
> people who for some reason receive profiles from others.  Saving a
> profile, by contrast, is a much more frequent operation.

I guess I don't understand why.  Why would
you save a profile if you don't want to
later access it?

OK, you might want to compare two profiles,
with `=', but I'd think that would be less
common than looking again at a profile that
you saved.

If you delete a profiler report buffer then
you have to profile all over again, to
revisit it.  Comparing has a key (`='), but
just revisiting doesn't.  Why?

I haven't been using profiler, so I don't
really understand its use, I guess.  What
am I missing?  Why is saving a frequent
operation but using (revisiting) a saved
profile is rare?





  reply	other threads:[~2024-01-24 22:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 17:48 bug#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile Drew Adams
2024-01-24 19:36 ` Eli Zaretskii
2024-01-24 19:55   ` Drew Adams
2024-01-24 20:14     ` Eli Zaretskii
2024-01-24 22:05       ` Drew Adams [this message]
2024-01-25  7:33         ` 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=SJ0PR10MB5488BAC2E0C62DF671CDA009F37B2@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=68693@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 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.