[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow completion-at-point
|
From: |
T.V Raman |
|
Subject: |
Re: Slow completion-at-point |
|
Date: |
Fri, 10 Nov 2023 18:48:37 -0800 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Dmitry Gutov <dmitry@gutov.dev> writes:
Not sure if you saw my message where I tracked down the culprit:
The slowness in completion-at-point is triggered if
Completion Auto Help: Choice: Value Menu Always visible.
is set as above, it gets janky; if you go back to the default it
performs normally.
> On 09/11/2023 09:22, Juri Linkov wrote:
>>> Here is some timing information for this issue:
>>>
>>> I added the following around advice fragment to completion-at-point debug:
>>>
>>> (let ((start (current-time)))
>>> ad-do-it
>>> (message "<%.4f %d gcs %.4f>"
>>> (float-time (time-subtract (current-time) start))
>>> gcs-done gc-elapsed))
>>>
>>> Then I went to a shell buffer, and from my home directory (it contains
>>> a subdir text) typed
>>>
>>> cd te <tab>
>>>
>>> Messages buffer shows the following:
>>>
>>> ~/
>>> Making completion list...
>>> Sole completion
>>> <2.0219 14 gcs 1.2927>
>> Please try to get benchmark numbers after customizing the recently added
>> 'completion-lazy-hilit'.
>
> completion-lazy-hilit is not a user option. It's a defvar, intended
> for completion frontends to opt into deferred highlighting performed
> by completions styles.
>
> IOW, whenever each completion UI is updated (that uses completion
> styles -- that is, calls completion-all-completions), all its users
> will see the benefits.
>
--
- Re: Navigating completions from minibuffer, (continued)
- Re: Navigating completions from minibuffer, T.V Raman, 2023/11/07
- Re: Navigating completions from minibuffer, T.V Raman, 2023/11/07
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/08
- Re: Navigating completions from minibuffer, T.V Raman, 2023/11/08
- Re: Navigating completions from minibuffer, T.V Raman, 2023/11/08
- Slow completion-at-point was Re: Navigating completions from minibuffer, T.V Raman, 2023/11/08
- Re: Slow completion-at-point, Juri Linkov, 2023/11/09
- Re: Slow completion-at-point, Dmitry Gutov, 2023/11/09
- Re: Slow completion-at-point, Juri Linkov, 2023/11/09
- Re: Slow completion-at-point, João Távora, 2023/11/09
- Re: Slow completion-at-point,
T.V Raman <=
- Re: Slow completion-at-point, Dmitry Gutov, 2023/11/11
- Re: Slow completion-at-point, T.V Raman, 2023/11/11
- Re: Slow completion-at-point, Juri Linkov, 2023/11/11
- Re: Slow completion-at-point, T.V Raman, 2023/11/11
- Re: Slow completion-at-point, Dmitry Gutov, 2023/11/11
- Re: Slow completion-at-point, T.V Raman, 2023/11/09
- Re: Slow completion-at-point was Re: Navigating completions from minibuffer, Dmitry Gutov, 2023/11/09
- Re: Slow completion-at-point was Re: Navigating completions from minibuffer, T.V Raman, 2023/11/09
- Slow completion-at-point was Re: Navigating completions from minibuffer, T.V Raman, 2023/11/09
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/10