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

Wlfxb is rather slow #10

Open
qiuwei opened this issue Feb 8, 2016 · 0 comments
Open

Wlfxb is rather slow #10

qiuwei opened this issue Feb 8, 2016 · 0 comments
Assignees

Comments

@qiuwei
Copy link
Contributor

qiuwei commented Feb 8, 2016

Wlfxb is rather slow when marshalling and unmarshalling.
It hasn't been benchmarked though.

I doubt it is related to the frequent creation of JAXBContext, which is a rather expensive operation.
A new JAXBContext is created per marshall operation.
According to https://jaxb.java.net/guide/Performance_and_thread_safety.html, we'd better have one global single(or multiple cached) JAXBContext.

@qiuwei qiuwei self-assigned this Feb 8, 2016
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