Skip to content
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

There are some performance issues with loading large maven projects #461

Closed
bsaby opened this issue Nov 27, 2018 · 2 comments
Closed

There are some performance issues with loading large maven projects #461

bsaby opened this issue Nov 27, 2018 · 2 comments
Assignees
Milestone

Comments

@bsaby
Copy link

bsaby commented Nov 27, 2018

Build: 0.11.1
The project used: https://github.com/checkstyle/checkstyle

The test explorer has been loading method for more than an hour and still has not succeeded
image

@RuiffCardoso
Copy link

I get the same issue with a large multi module project. Sometimes it just hangs and I need to restart vscode.

Not sure if only related with vscode-java-test but it definitely slows down and I've been thinking on disable it when not testing because of the performance and startup times downgrade it causes.

The thing is that eclipse isn't much better so I don't care that much

@jdneo jdneo self-assigned this Nov 28, 2018
@jdneo
Copy link
Member

jdneo commented Dec 19, 2018

Root cause

The extension will create a file watcher listening to the changes of all the java files.

During the project building, the LS might create/delete java files in the target folder, then the file watcher will keep triggering the explorer to refresh.

Solution

Shrink the scope of file system watcher. Only watching the test source paths is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants