[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switch-to-buffer slow on PGTK
From: |
Jonas Damm |
Subject: |
Re: switch-to-buffer slow on PGTK |
Date: |
Thu, 01 Feb 2024 20:51:30 +0100 |
User-agent: |
mu4e 1.10.8; emacs 30.0.50 |
Thanks, I think i narrowed it down to the function
ivy-rich-switch-buffer-root-lookup
12,751,393 97% - command-execute
12,751,393 97% - funcall-interactively
9,030,352 68% - ivy-switch-buffer
9,030,352 68% - ivy-read
9,030,352 68% - apply
9,030,352 68% - #<subr ivy-read>
8,992,824 68% - read-from-minibuffer
8,824,107 67% - ivy--queue-exhibit
8,824,107 67% - ivy--exhibit
8,817,497 67% - ivy--update-minibuffer
8,816,473 67% - ivy--format
8,815,449 67% - ivy-rich--ivy-switch-buffer-transformer
8,815,449 67% - ivy-rich-format
8,814,401 67% - #<compiled -0x98309b0fa9e758e>
8,814,401 67% - ivy-rich-format-column
4,577,350 34% - ivy-rich-switch-buffer-project
4,577,350 34% - ivy-rich-switch-buffer-root
4,576,302 34% + ivy-rich-switch-buffer-root-lookup
1,048 0% ivy-rich--switch-buffer-directory
4,201,388 32% - ivy-rich-switch-buffer-path
4,201,388 32% - ivy-rich--switch-buffer-root-and-filename
4,201,388 32% - ivy-rich-switch-buffer-root
4,201,388 32% - ivy-rich-switch-buffer-root-lookup
"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