-
Notifications
You must be signed in to change notification settings - Fork 36
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
Optimising XMLDocument
for Better Performance
#277
Labels
Comments
@yegor256 Could you take a look please? |
@volodya-lombrozo please, help here |
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 4, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 4, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 4, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 4, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
volodya-lombrozo
added a commit
to volodya-lombrozo/jcabi-xml
that referenced
this issue
Dec 5, 2024
yegor256
added a commit
that referenced
this issue
Dec 5, 2024
feat(#277): Add `#deepCopy` And `#inner()` Methods Instead of `Node`
@rultor release, tag is |
@volodya-lombrozo this one may be closed? |
@yegor256 Yes, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"I was working on optimizing the jeo-maven-plugin, which extensively uses
XMLDocument
to work withXML
documents because it provides many useful methods. However, I noticed that usingXMLDocument
makes the plugin 10 times slower than using purejavax.xml
. Here, you can find evidence. ReplacingXMLDocument
with plainjavax.xml
improves the plugin's performance by approximately 5-10 times.I have profiling results that also show that most of the time the plugin spend on work with
XMLDocument
.flamegraph-assemble.html.txt
Particularly:
XMLDocument.<init>
(constructor) ~ 48.95 %XMLDocument.xpath
~ 9.25 %XMLDocument.node
~ 7.99 %Could you optimise
XMLDocument
, please?The text was updated successfully, but these errors were encountered: