unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: scame <laszlomail@protonmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How should this profiler report interpreted?
Date: Fri, 26 Mar 2021 21:26:13 +0100	[thread overview]
Message-ID: <87r1k164m0.fsf@fastmail.fm> (raw)
In-Reply-To: <G1H3W_Gn4JJ3h2aaNWQr2rTGYs9WGfHL8b_BfsvxV_xI1PHwSSpwlkY3GpXTCj2eUFxxrIqMYkISw07mW64izUZdn9lo0Z__J_wRw0Kh8qs=@protonmail.com>


On Fri, Mar 26 2021, scame via Users list for the GNU Emacs text editor wrote:
>> If you can reproduce this bogus profile, please `M-x report-emacs-bug`
>> (ideally with a corresponding sample file on which to run the code).
>
> I'll do that.
>
> The computer was not unresponsive, only emacs was slow and emacs profiler said
> 99% CPU.

I don't think that means it took 99% of the CPU (as you would see with e.g.,
top). I think it means that 99% of the CPU resources used to execute the
relevant Elisp fragment were spent in the `save-excursion`.

-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2021-03-26 20:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 19:48 How should this profiler report interpreted? scame via Users list for the GNU Emacs text editor
2021-03-26 20:26 ` Joost Kremers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-26 21:57 scame via Users list for the GNU Emacs text editor
2021-03-26 22:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 15:28 scame via Users list for the GNU Emacs text editor
2021-03-26 15:49 ` Eli Zaretskii
2021-03-26 17:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 15:24 scame
2021-03-26 17:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 18:38 ` Stefan Monnier
2021-03-26 18:48   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 19:41     ` Stefan Monnier
2021-03-26 21:45       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 16:22         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 16:30           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 13:59 scame
2021-03-26 14:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 14:35 ` 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=87r1k164m0.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    --cc=laszlomail@protonmail.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.
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).