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
Extremely slow performance via SSH remote in SFC files #1691
Comments
It's now taking upwards of 5+ minutes to save a file. @octref Is there some set of settings I can use or something I can do to improve this situation? As it is, Vetur is essentially unusable. A fix would be nice, but a tweak I could do on my end would be just fine. |
This sounds like your cloud machine is slow. Can you try spinning up a higher spec machine to see if that's the case? Also, does this happen to a normal TS project without .vue files? |
@octref The remote machine has 8 cores (Xeon E312xx, 2.6 MHz), 8 GB RAM + 8 GB of swap. It may not be the beefiest possible machine, but I feel like it should be able to handle intellisense. .ts and .js files do not have performance issues, aside from some very slight lag at the start. I don't expect remote connections to be 100% as fast as local. But generally it's pretty snappy. Here's some logging from VLS on the remote:
And here's some local:
These numbers are pretty big for what I suspect they are doing. |
Info
Problem
Extremely slow Intellisense and error detection in SFC files when using via remote SSH. It can take upwards of a minute for the suggestion menu to stop loading and show something. I also see the red squiggly lines go character by character based on typing I may have done 10-30 seconds ago, or longer. Profile is attached.
CPU-20200130T113325.zip
Vetur settings in VSCode:
Typescript settings, in case those may matter:
And webpack config, in case it matters:
And tsconfig settings:
The text was updated successfully, but these errors were encountered: