You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/11/23 22:57:11 UTC
[jira] [Commented] (JXPATH-183) XMLGregorianCalendar existence
adding a lot of performance penalty
[ https://issues.apache.org/jira/browse/JXPATH-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023175#comment-15023175 ]
Michael Osipov commented on JXPATH-183:
---------------------------------------
Did you some micro-benchmarks with an appropriate file? Can you share where the bottleneck is? Did you check it with VisualVM or alike?
> XMLGregorianCalendar existence adding a lot of performance penalty
> ------------------------------------------------------------------
>
> Key: JXPATH-183
> URL: https://issues.apache.org/jira/browse/JXPATH-183
> Project: Commons JXPath
> Issue Type: Improvement
> Affects Versions: 1.3
> Environment: Windows 7, Amazon Unix, Weblogic
> Reporter: Ganna Shmatova
> Labels: performance
>
> We're using JXPath to parse some input from a client. When they give us a valid date it gets transformed from a SOAP message into Java objects. When this happens JXPath queries suddenly take 1-8 seconds more (depending on system -- the optimized system it's 1 second, dev & test machines it's 8).
> Kicker is, we don't even look for this field. Just its existence does it.
> (we've quickfixed to omit the xml tags before the string is parsed into Java for now)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)