-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Slow suggestions #502
Comments
Please try to provide repro case, see #507 (comment). |
there is no need of repro case, i just tested with default volar-starter and it's behaving the same way, suggestion is slow to display/load (and no it's not the timeout config) |
Have you try disable other extensions? And please also make sure Please provide your VSCode info by |
VSCode Info : Version: 1.60.1 (system setup)
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:07:10.714Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
little example of what i'm trying to say, and btw, the part before displaying |
Can you compare the auto-complete speed of plain ts and SFC's <script> block with the same code to rule out that this is not a ts issue? |
here is the chrome profile |
maybe it'll be easier like this, here is my current repo https://github.com/Zenthae/seer/tree/v2 |
It seem |
i think this problem just only appear in windows |
I think it can be compared with vetur. Now the prompt speed of volar seriously affects the user experience. And I think volar is now much slower than before |
Please try to downgrade volar and let me know which version occur the problem beginning. |
@Zenthae what version did you switch to? I'm also having performance issues with Volar, albeit my i7-7500U is pretty old now so that might also slow it down. |
for my latest gif i used the latest version available which is |
I tried to use the old version v0.22.23 of volar, and use the import module statement in the setup script, which is significantly faster than the latest version of volar The following is the information output of the 2 versions。 v0.22.23 of volar:
v0.27.24 of volar:
|
@CrystalWindSnake could you run debug mode to check is the problem occur begin in this commit 15e744f ? Please also provide:
|
I found that the new version of volar will repeatedly send completion messages. |
VSCode info by
TS version(This is the prompt version of volar in the lower right corner of the interface):
I found that the new version of volar will repeatedly send completion messages. |
@CrystalWindSnake I think you received 2 responses because you get a incomplete completion result when you typed 0.27.5 has related changes, please let me know if it's effect to you. |
Thank you, hope volar will get better and better |
also in macos this problem occurs slow but vetur is faster |
@nlvedwin can you provide repro case? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@johnsoncodehk 我在windows上,也遇到了同样的问题,应该如何解决 |
@chivesssss, @zhoujingfu see #455. @jahnli please provide repro case otherwise I can't check. |
Maybe 0.29.0 |
@johnsoncodehk I don't know how to reproduce. At present, Windows will be slow if it only installs a volar code prompt. After uninstallation, it will be restored to normal |
Please track #808. |
Using Volar, auto completion become unusable because it can takes seconds to display the suggestion, when, most of the time you already have finished typing. I've seen #455 but i don't know if it's linked, i tested with every extension disabled other than volar
0.27.21
The text was updated successfully, but these errors were encountered: