Skip to content

Wlfxb is rather slow  #10

@qiuwei

Description

@qiuwei

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions