[Home] [By Thread] [By Date] [Recent Entries]


Uday Subbarayan wrote:

> Folks,
>       Is libxml2 is the fastest XML parser in Linux (just for parsing) ?
> 

I'm not sure that's a meaningful question. Parsing speed depends heavily 
on the nature of the documents. In particular some parsers perform much 
better on small documents than other parsers while performing worse on 
larger documents and vice versa. There are other document 
characteristics that may make one parser faster or slower than another, 
but in practice document size seems to be the biggest issue.

Plus, pure parsing performance is rarely at issue. Normally the speed 
with which a parser can supply the parsed data to the client application 
also matters. Indeed in some models that build trees this eats a lot 
more time than the actual parsing.

-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member