lsp mode is very slow in big project
See original GitHub issueDescribe the bug
I have a workspace includes 4 flutter project. Every restart time it takes long time to show the type info, and when I hold cmd
and click the Widget class, it takes long time to jump, even if not work. This is also happen in my colleague computer. It works great in a small flutter project which includes few dart code.
Versions (please complete the following information):
- VS Code version: 1.54.0-insider
- Dart extension version: 3.20.1
- Dart/Flutter SDK version: 1.22.4
One project code line count:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Performance - LSP Mode - LSP support for Emacs
Some servers (e. g. Palantir's Python Language Server) might be slow when performing auto-completion.
Read more >Is lsp-mode too slow to use for anyone else? : r/emacs - Reddit
Problem solved: gc-cons-threshold needs to be increased from the default value. The lag was caused by frequent garbage collection.
Read more >How to speed up lsp-mode - Chen's blog
I advice the lsp-on-change in order to notify the language server less frequently. js2-mode has its own javascript parser extract imenu items.
Read more >emacs-lsp/lsp-mode - Gitter
Hmm yeah after resolving some of those perf fixes, it's still pretty slow sadly not ... The last time I tested a project...
Read more >talks - lsp-bridge: a smooth-as-butter asynchronous LSP client
Feel free to try lsp-bridge on a huge repository with a slow ... We can use lsp-bridge's technology build faster dap-mode similar project....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👋
I’m on an up-to-date master channel and still have a similar issue
That issue is indeed very similar to what I’ve been facing for a couple of weeks, with the “problems” tab randomly refreshing for no apparent reason.
For reference, this has been especially flagrant when interacting with the flutterfire repository.
I’ve also seen cases where saving a file “blocks”: the white dot that means “unsaved changes” stays for a long time. And often, a snackbar appears with a message that says the formatting is taking too long.
Usually using the “reload window” command fixes it, but after some time, the issue reappears.