Skip to content

[#1824] createTransformerFactory useCache new param#1872

Merged
lukasj merged 1 commit intoeclipse-ee4j:masterfrom
laurentschoelens:gh-1824
Feb 8, 2026
Merged

[#1824] createTransformerFactory useCache new param#1872
lukasj merged 1 commit intoeclipse-ee4j:masterfrom
laurentschoelens:gh-1824

Conversation

@laurentschoelens
Copy link
Contributor

Fixes #1824

Optimize createTransformerHandler / createTransformer

With actual 4.0.6 :

  • With Saxon : 5 in 64.100840667 seconds
  • Without : 5 in 0.632727292 seconds

With patched 4.0.7-SNAPSHOT :

  • With Saxon : 5 in 0.731846333 seconds
  • Without : 5 in 0.497841 seconds

@mkarg
Copy link
Member

mkarg commented Dec 5, 2025

I wonder why nobody reviewed this several weeks old PR?

Copy link
Member

@lukasj lukasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's go with this one; just amend the commit so @mkarg is mentioned as author/co-author since the main idea is from him

@laurentschoelens
Copy link
Contributor Author

let's go with this one; just amend the commit so @mkarg is mentioned as author/co-author since the main idea is from him

I'll amend my commit message to mention mkarg as co-author as suggested

@laurentschoelens laurentschoelens added enhancement New feature or request performance Issue or task regarding performance issue or enhancement labels Feb 8, 2026
@laurentschoelens laurentschoelens added this to the 4.0.7 milestone Feb 8, 2026
…mize createTransformerHandler / createTransformer

Based on initial work of mkarg on PR 1855
@laurentschoelens
Copy link
Contributor Author

@lukasj : rebase done with new commit message
be67dab

@lukasj lukasj merged commit 8d15429 into eclipse-ee4j:master Feb 8, 2026
5 checks passed
@laurentschoelens laurentschoelens deleted the gh-1824 branch February 8, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request performance Issue or task regarding performance issue or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Massive Performance Problem: JAXB Creates hundreds of TransformerFactories

3 participants