unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jonas Damm <mailing@jonas-damm.de>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Jonas Damm <mailing@jonas-damm.de>,
	Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
Subject: Re: switch-to-buffer slow on PGTK
Date: Sat, 03 Feb 2024 14:27:42 +0100	[thread overview]
Message-ID: <87mssh4qy2.fsf@jonas-damm.de> (raw)
In-Reply-To: <d03b5b35-7774-4dac-9bce-b0353abb9896@betaapp.fastmail.com>

I think i fixed it, by adding

(setq ivy-rich-project-root-cache-mode t)

to my config. So far everything seem snappy.
Thanks!
"Tassilo Horn" <tsdh@gnu.org> writes:

> Am Do, 1. Feb 2024, um 18:15, schrieb Jonas Damm:
>> This is the output of the profiler:
>>
>>      22,744,487  98% + command-execute
>>         453,256   1% + redisplay_internal (C function)
>>           7,279   0%   Automatic GC
>>             912   0% + timer-event-handler
>>              21   0% + help-command-error-confusable-suggestions
>>               0   0%   ...
>>
>> How can i narrow it down further?
>
> You can expand the tree below command-execute by clicking on the + sign. But note that the time (22secs) also contains the time Emacs waited for your input.
>
> Bye,
> Tassilo




      parent reply	other threads:[~2024-02-03 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 11:24 switch-to-buffer slow on PGTK Jonas Damm
2024-02-01 14:21 ` Tassilo Horn
2024-02-01 16:48   ` Jonas Damm
2024-02-01 17:00     ` Tassilo Horn
2024-02-01 17:15       ` Jonas Damm
2024-02-01 17:19         ` Tassilo Horn
2024-02-01 19:51           ` Jonas Damm
2024-02-03 13:27           ` Jonas Damm [this message]

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=87mssh4qy2.fsf@jonas-damm.de \
    --to=mailing@jonas-damm.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsdh@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.
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).