emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

Sluggish performance when searching tags in large project #197

Open BooAA opened 1 year ago

BooAA commented 1 year ago

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:

  1. clone linux kernel: git clone --deptch https://github.com/torvalds/linux.git
  2. cd into the project, and index everything using find -type f -name '*.[ch]' | gtags -f -
  3. 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