Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much performance increase with streaming XPath

Just read the article "Streaming XPath Parser for WSO2 ESB". I was wondering how much the performance increases with this implementation compared to the previous implementation.

Are there any numbers available on this?

like image 699
Peter Hofman Avatar asked Feb 01 '13 08:02

Peter Hofman


2 Answers

I think you will have to make measurements for your specific use case (and you will have to decide what to compare against: different XPath implementations can differ in performance by a factor of 100). Using a technique like streaming will typically benefit some queries much more than others; and the benefits will also depend greatly on document size. It also depends whether you are looking for time savings or memory savings.

Caveat: I don't know anything about this specific implementation, but it was an interesting article.

like image 150
Michael Kay Avatar answered Sep 18 '22 06:09

Michael Kay


The objective of Stream XPath,where AXIOM will not consume the unwanted part of the steam, thereby reducing the memory and time taken to open an XML document as a Java object model.Basically we have observed it will increase the performance So If you carefully analyse the statistics e.g for CBR scenario in the Performance round 6.5 article [2], clearly it shows that it has doubled the performance compared to previous ESB versions.

[1]http://wso2.org/library/articles/2013/01/streaming-xpath-parser-wso2-esb [2]http://wso2.org/library/articles/2013/01/esb-performance-65

like image 22
Dushan Abeyruwan Avatar answered Sep 22 '22 06:09

Dushan Abeyruwan