The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Java Object Querying Using JXPath
Subject:  How's the performance
Date:  2007-06-26 08:31:28
From:  lenisha
Response to: How's the performance


Well,
the performance hit is pretty considerable.

For the expression like this iterating couple of lists : "executionItems[@role='S']/priceQuantityAssociations/quantity/value"

Time is 100 times more for jxpath:

For the plain java object 1000 iterations: 1.6 ms
For the JXPath compiled expression 1000 iterations: 200 ms

Is there any additional performace optimization available?

Thanks

 Feed java.net RSS Feeds