help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Too long completion delay time in LISP interaction mode.


From: Tassilo Horn
Subject: Re: Too long completion delay time in LISP interaction mode.
Date: Wed, 20 Oct 2021 09:37:20 +0200
User-agent: mu4e 1.7.0; emacs 29.0.50

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

>> To be frank, I don't know how to expand it.
>
> Shame on me. It can be expanded by clicking the + sign again and
> again.

Hehe. :-)

> See the following:
>
>          495  86% - command-execute
>          495  86%  - funcall-interactively
>          487  85%   - counsel-M-x
>          487  85%    - let
>          458  80%     - ivy-read
>          458  80%      - apply
>          454  79%       - #<lambda 0x1de0670da47deef2>
>          454  79%        - let*
>          454  79%         - progn
>          454  79%          - progn
>          454  79%           - let*
>          404  70%            - ivy--reset-state
>          404  70%             - let*
>          404  70%              - let
>          344  60%               - if
>          340  59%                - progn
>          340  59%                 - setq
>          336  58%                  - sort
>          308  54%                   - ivy-prescient-sort-function
>          264  46%                    - prescient-sort-compare

So here you can see that prescient seems to have quite some impact on
sorting the candidates for M-x.

>           65  11% - ...
>           44   7%  - completion-all-completions
>           44   7%   - completion--nth-completion
>           44   7%    - completion--some
>           44   7%     - #<compiled 0x194abcb52c81cd5e>
>           44   7%      - orderless-all-completions
>           44   7%       - let
>           44   7%        - orderless-filter
>           44   7%         - let
>           44   7%          - unwind-protect
>           44   7%           - progn
>           44   7%            - let*
>           44   7%             - progn
>           44   7%              - let*
>           44   7%               - let
>           44   7%                - let*
>           44   7%                   progn

And the above is the actual "(map" completion part which seems to be
dominated by the orderless style.  So I guess you've now replaced
hotfuzz with orderless, right?

Bye,
Tassilo



reply via email to

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