emacs-devel
[Top][All Lists]
Advanced

[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: Thu, 9 Nov 2023 07:39:07 -0800

 So I played around with some of the completion related custom
 settings and at some point the problem disappeared. Will try what you
 suggest if it comes back.



Juri Linkov writes:
 > > 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'.

-- 



reply via email to

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