New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue when the which
menu is shown
#13872
Comments
Actually it seems to be a known issue on |
This is not simply an upstream bug, but a result of how which-key is used by spacemacs. I think this should be open to raise awareness among spacemacs developers, that which-key offers another way of setting up the descriptions which does not suffer from performance issues. see here |
Can you delete your If your emacs version is 26.3 then the default elpa folder is |
Hey @thanhvg. I've deleted my Why would deleting |
@thanhvg as @bitclick posted above, upstream has a solution, but it does require code rewrite in spacemacs to implement their new function. |
Yes, i can confirm the same for me. Seems like emacs27.1 is just way faster than 26.3 (where which-key was not usable with default settings) While i think the new api of which-key is objectively better, for me it is less of a priority now. |
hmmm. emacs27.1 has an orgmode bug that I wanted to avoid. Maybe it's fixed by now. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
Performance issue related to
which-key--replace-in-repl-list-many
. At somepoint any emacs command will take about 10 seconds to complete. Increasing the
value of
dotspacemacs-which-key-delay
significantly seems to hide the issue soit seems what really takes time is to show the
which
buffer. Any help tofigure what is hapenning is welcome.
Reproduction guide 🪲
Observed behaviour: 👀 💔
Expected behaviour: ❤️ 😄
System Info 💻
Profiling trace 🐾
I started the profiling as soon as the issue arised. I did a few
evil-window-left
andevil-window-right
which took about 10 seconds each.The text was updated successfully, but these errors were encountered: