-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Resolve completion item time should be improved #3423
Comments
Hi, thanks for contacting me, I'd be more than happy to investigate it, but it lacks context. Would you mind reaching out to me on Discord for a deeper chat? My discord id is johnsoncodehk#0495, thanks! |
@johnsoncodehk sorry I do not have discord. What context would you like me to provide? This is time for all users in VS Code - based on how much time it takes Volar to resolve a completion item. Here's where we log that event in VS Code https://github.com/microsoft/vscode/blob/ac34ea3a6e3334c2bfb01f5c234863747e07f18c/src/vs/editor/contrib/suggest/browser/suggestController.ts#L516 You can follow the |
Do not mind! Let me illustrate Volar cost in resolveCompletionItem, it has 4 main parts.
I'd like some context to troubleshoot the points above.
|
I would like to correct a bit, this has a big effect on Thanks for the data! I'll schedule a time to investigate it in depth. |
Hi @isidorn! We fixed a certain performance issue on the Volar side (volarjs/volar.js#66) and it may be related. Could you share the data of |
@johnsoncodehk great that you worked on improving the performance. Overall no big changes. I no longer have the query to look per extension version - apologies. |
Don't worry, thanks for your help! The problem will be solved in 2.0 anyway, because TS completion will be based on TS Plugin instead of our own LSP server to avoid duplicate TS overhead. |
Hi VS Code PM here 👋
On the VS Code side we investigate the time it takes for various language extension to resolve completion items (the time it takes from user selecting an item in the suggest widget until it is ready). And we found that Volar is second slowest extension.
Could we investigate if there are some perf fixes to be done in this area.
So 90% of the users completion resolving is done only in 160ms.
Thank you 🙏
The text was updated successfully, but these errors were encountered: