Skip to content
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

Performance penalty of unmarshalling without a SystemId #315

Open
justinas-dabravolskas opened this issue Nov 23, 2024 · 0 comments
Open

Comments

@justinas-dabravolskas
Copy link

Unmarshalling that uses InputSource without SystemId gets up to 30% performance penalty because of extensively generated exceptions in jakarta.xml.bind.helpers.ValidationEventLocatorImpl.toURL. This case can easily be optimized by doing a null check inside toURL instead of trying to construct URL and catching MalformedURLException
Screenshot 2024-11-23 at 10 37 31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant