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

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

How to improve the speed of files list reading under directory in comple


From: Christopher M. Miles
Subject: How to improve the speed of files list reading under directory in completion
Date: Sun, 07 Nov 2021 00:12:53 +0800
User-agent: mu4e 1.7.0; emacs 28.0.60

I'm using =vertico= and =marginalia= to get minibuffer completion.

When I press =[C-x C-f]= to try to open a file under current directory (this 
directory is on home QNAP
NAS and contains 4356 files). But it took 3 seconds to show up candidates, when 
I input one
character, filtering is also very slow.

#+begin_src shell
ls -l | wc -l
#+end_src

#+RESULTS[(2021-11-07 00:07:42) 8103eabbf0c6408f1637cafcb1621f3abd36f61d]:
:     4356

Then I toke Emacs built-in profiler benchmarking, I attached the result in to 
email attachment files.

-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Attachment: profiler-cpu-report.txt
Description: profiler cpu report

Attachment: profiler-memory-report.txt
Description: profiler memory report

Attachment: signature.asc
Description: PGP signature


reply via email to

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