emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow completion-at-point was Re: Navigating completions from minibuf


From: T.V Raman
Subject: Re: Slow completion-at-point was Re: Navigating completions from minibuffer
Date: Thu, 9 Nov 2023 07:41:04 -0800

when the problem was present, it was slow everywhere, though shell is
where I noticed it first. See other reply -- the problem disappeared
last night as I was twiddling various completion related custom knobs;
sadly I dont know when exactly it disappeared.


Dmitry Gutov writes:
 > On 09/11/2023 00:11, T.V Raman 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>
 > 
 > Is completion-at-point slow for you in shell buffers in particular, or 
 > everywhere else too? E.g. completion in 'C-h f'.
 > 
 > There was a change last week (dfffb91a70532ac002), but it was supposed 
 > to make completion faster. And in your tests, it did (at least for 
 > icomplete, which knows how to take advantage of the optimization).

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]