[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)?

  • From: Michael.Kay@i...
  • To: xml-dev@i...
  • Date: Tue, 19 Jan 1999 18:38:43 -0000

fast sax parser
> 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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.