-
Notifications
You must be signed in to change notification settings - Fork 1
Synchronization of bazel projects (performance) #9
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
...alesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/BazelModelInfo.java
Outdated
Show resolved
Hide resolved
...alesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/BazelModelInfo.java
Outdated
Show resolved
Hide resolved
....salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/BazelPackage.java
Outdated
Show resolved
Hide resolved
....salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/BazelPackage.java
Outdated
Show resolved
Hide resolved
...om.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/BazelModel.java
Outdated
Show resolved
Hide resolved
|
@guw I have updated the PR. |
| var project = findProject(getBazelPackage()); | ||
| if (project == null) { | ||
| project = findProject(getBazelPackage()); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snjeza Can you help me understand ... when cachedBazelProject is null, this should be reliably null as well. Are you seeing many findProject calls for the same target or for different targets?
#13 fixes issue 1. described at #8 (comment) but doesn't fix 2 and 3 Issue 3 can be reproduced in the following way:
You will see that A similar issue happens if you set I have created a patch against your performance branch. It fixes both issues. |
Fixes #8
cc @guw