-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Seeing if we can speed up spotbugs #4988
Conversation
…king the JVM for each module
/azp run java - core |
Azure Pipelines successfully started running 1 pipeline(s). |
This shaves about 25 seconds off of the Analyze job, so I think it is worth merging. |
pom.client.xml
Outdated
@@ -164,12 +164,13 @@ | |||
</dependency> | |||
</dependencies> | |||
<configuration> | |||
<effort>Max</effort> | |||
<effort>min</effort> |
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.
Maybe we should run nightly builds with max
or more
and publish the results here
Min does very little and may not catch some issues.
https://spotbugs.readthedocs.io/en/stable/effort.html
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.
My expectation is even at min we should get everything we want.
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.
But I should add, there was almost no difference between min and max on my machine. The only win was from not forking the JVM for each module, so I am also happy to return this to max.
/azp run java - core |
Azure Pipelines successfully started running 1 pipeline(s). |
… the JVM for each spotbugs run.
* Seeing if we can speed up spotbugs by not forking the JVM for each module
* Seeing if we can speed up spotbugs by not forking the JVM for each module
* Seeing if we can speed up spotbugs by not forking the JVM for each module
by lowering the effort and not forking the JVM for each module.
Fixes #4974