helm-gtags
helm-gtags copied to clipboard
Sluggish performance when searching tags in large project
Hi all, I found helm-gtags has very sluggish user experience when working on large project. Every since the user typing a word, it takes about 5~10s to get the result updated on the screen. Here is my experiment:
- clone linux kernel:
git clone --deptch https://github.com/torvalds/linux.git
-
cd
into the project, and index everything usingfind -type f -name '*.[ch]' | gtags -f -
- Open Emacs, M-x
helm-gtags-find-tag
and start searching:
I have recorded the whole process:
https://user-images.githubusercontent.com/32809182/227796395-40506f8f-6bc1-46ca-b72c-a71b88a6d952.mp4