emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow completion-at-point


From: Juri Linkov
Subject: Re: Slow completion-at-point
Date: Thu, 09 Nov 2023 09:22:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> 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]