-
Notifications
You must be signed in to change notification settings - Fork 267
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
Cache result of getBestFitRule (fixes #575) #647
Cache result of getBestFitRule (fixes #575) #647
Conversation
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.
If we have another IT test which execute: property-updates-report
I would consider to remove old, after add moving assertions to this test.
One test will be enough.
There is: https://github.com/mojohaus/versions-maven-plugin/tree/master/src/it/it-property-updates-report-001 Pleas check build status 😄 |
Hmm, I'm used to write one test per issue, but I can certainly extend the existing test to also show this problem... |
IT tests take long time - I try to minimize duplicate test. |
I tried to combine both ITs, unfortunately the validation script for the existing test is quite sensitive to dependency changes, so for the sake of stability I'd rather not combine both tests... |
I see a warning in IT build ...
maybe it is a bug in mrm plugin ... but I would not introduce such warning can you a litel investigate it? |
This was identified as a performance hotspot and the result is static for each run, adding a cache dramatically speeds up some executions. The included IT shows the problem: Without this optimization, it runs over a minute, with the fix it finishes instantly.
I just dropped that particular dependency from the test... It's still plenty slow before my change to fail the test before my fix... |
@TobiX - Thanks |
This was identified as a performance hotspot and the result is static
for each run, adding a cache dramatically speeds up some executions.
The included IT shows the problem: Without this optimization, it runs
over a minute, with the fix it finishes instantly.
(Reopened from #365 because I did stupid things with our fork)