Skip to content

Improve the performance of XmlUtils#945

Open
ChaimNJ wants to merge 1 commit intoapereo:masterfrom
ChaimNJ:master
Open

Improve the performance of XmlUtils#945
ChaimNJ wants to merge 1 commit intoapereo:masterfrom
ChaimNJ:master

Conversation

@ChaimNJ
Copy link

@ChaimNJ ChaimNJ commented Sep 10, 2024

The setFeature methods of SAXParserFactory and DocumentBuilderFactory consume too much CPU. SAXParserFactory and DocumentBuilderFactory should be defined as global variables.

@philippberger
Copy link
Contributor

LGTM

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

Successfully merging this pull request may close these issues.

2 participants