-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
Issue #6273: Accessing POM via XPath is very slow #6274
Conversation
- For the simple get() method, simply use DOM methods instead of going through XPath Signed-off-by: Richard Eckart de Castilho <[email protected]>
@reckart can you rebase master and push again? This will trigger the rebuild without the windows build (temporarily) |
I triggered the Ubuntu builds manually. Successful. @reckart could you elaborate on your comment
|
Thing is that I do not really know under which conditions the code that I profiled to be a bottleneck is actually called (see screenshot in issue description). I wanted to check what kind of performance impact my change has - but I have not been able to trigger another situation where I would have been able to profile the same point. |
Is there a test triggering this code? |
I initially had an NPE in the changes and that caused some tests to fail. |
Sounds like at least no test fails. @pkriens what do you think? |
LGTM. What's up with the windows check being canceled? |
So far I couldn't find an issue with the PR. Am I 100% sure that my code usually works - no. That said, I have been running Eclipse with a local build of the plugins installed for some days now and so far didn't hit an issue... 🤷 |
This here was before you disabled the windows build in the other PR. |
I have tried to profile the issue again, but so far have not been able to encounter the situation where this
get()
method is called again. I even tried setting a breakpoint in the method while using Eclipse "in production" - but so far, the breakpoint did not hit again...