[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Ptr to Fast Well-Formed XML parser (Java)?
> Last year in May, Mike Kay made a parser benchmark with a > simple SAX 1.0 application. The bench was between AElfred, Lark, MSXML, > xml4j and XP and at the time XP was the fastest. Perhaps he could do the > benchmark again? It so happens I did some recent measurements (different data file) as follows: SAX parsers: xp 4387 ms oracle 7862 ms xml4j 7771 ms sun 3736 ms DOM implementations: sun 9634 ms xml4j 11677 ms oracle 9784 ms docuverse 10685 ms (using xp parser) So SUN is looking pretty good at the SAX level, but at present its licensing terms are rather restrictive. For DOM products, they're all remarkably close. I think that the oracle and ibm SAX parsers are slower because they build a parse tree even if you don't need it. Can anyone confirm this? I was intending to complete the survey by running other parsers such as aelfred, lark, datachannel, silfide; but either I've had problems getting them to run, or I just haven't found the time. Unfortunately, once again, I'm using a confidential data set, in this case one from a client. Sorry! Its size is 690Kb, and its internal structure is quite rich. The figures are obtained directly from the com.icl.saxon.Renderer main program within SAXON, selecting different parsers by editing the ParserManager.properties file. So you can easily run the same tests on your own data files. This program includes the basic SAXON processing (which builds a stack and selects an element handler for each element based on its type), but it uses a null element handler for all elements. Mike Kay xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|