-
Notifications
You must be signed in to change notification settings - Fork 60
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 enabling Build Server #1441
Comments
One thing we can explore is to avoid Gradle building the workspace right after import. Instead, let it build before launch/test |
This is still the #1 issue with this plugin. I have a project I can open in IntelliJ in a few minutes. But it's over an hour every time in vscode. It's completely unusable. |
2024 and this is still an issue |
Yep, still terribly slow. |
Keeping this alive. Still terribly slow. |
@mbruce Have you tried the pre-release version? |
yes, confirmed just now that it's still extremely slow with the
prerelease. over an hour and it's still initializing. this will
eventually complete.
|
@mbruce Could you share the server log? Run |
FWIW I am not having this issue with VS Code Insiders, just the main VS Code release version. |
@devondragon I'm shocked that they perf can be different between vscode release and insiders. Is there any setup difference between two? For example, different extensions are installed? |
in vscode-java, there are setting that are set to I was just investigating redhat-developer/vscode-java#3904 and one odd behaviour I ran into was that if "Gradle for Java" was installed, after the first "Java: Clean Language Server Workspace" command, all other reloads of the window caused the index to be rebuilt every time. The project itself was Maven and unrelated to Gradle. Either way this shouldn't happen as nothing has changed. At first I never ran into this because I always ran with @devondragon , does setting |
That seems to improve things considerably! Thanks!! |
I think I found another problem. Probably the root one. Line 73 in 86a76e9
vscode-gradle is contributing a participant under the id (Oh, and disabling vscode-gradle isn't enough to make the problem go away because we use |
no luck for me with that setting. still takes forever to index, and sits on 32% for at least an hour. |
See: redhat-developer/vscode-java#3357
Originally posted by @alexanderloong in redhat-developer/vscode-java#3357 (comment)
The text was updated successfully, but these errors were encountered: