-
Notifications
You must be signed in to change notification settings - Fork 1
Cache project discovery (performance) #13
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
Conversation
As per #8 we seem to spend quite a bit of time in the Eclipse resource tree. Thus, we need to cache IProject references early.
|
@snjeza I modified the PR slightly to eagerly check for project |
|
I have tried to import small. Bazel Eclipse throws |
|
I think it's not easily possible to avoid doing the project discovery twice during import/creation. I don't want to open the API to allow injecting project from outside (eg., import wizard). Ideally it would rely on resource events entirely. |
@guw it works fine for me. |
As per #8 we seem to spend quite a bit of time in the Eclipse resource tree. Thus, we need to cache IProject references early.
Closes #8.
Replaces #9.