Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Java SAX parser significantly outperformed the .NET pull parser

  Asked By: Harley    Date: Apr 05    Category: Java    Views: 1037

There are two classes of XML parsers: streaming parsers (e.g. SAX and pull parsers) and

tree building parsers (e.g. DOM). Our tests can be partitioned into these two categories.

In the case of streaming parsers, we found that the Java SAX parser outperformed the .

NET pull parser for the majority of use cases. When comparing tree-building parsers, the

contrasts were even more stark. The Java DOM implementation was significantly faster

than the .NET DOM parser. We took care to ensure that the application code used on

both platforms are as similar as possible in order to make an apples-to-apples

performance comparison. Rather than publish our results here we provide the reader

with the information and tools necessary to conduct the test independently and confirm

the superior XML processing performance of Java technology.




No Answers Found. Be the First, To Post Answer.