Next in thread → Next in month →

Re: [xml-dev] [basic question] Fastest XML Parser.

From
Elliotte Harold <>
To
Uday Subbarayan <>
Date
2004-10-29T17:11:28Z
ID
<>
Thread
Re: [xml-dev] [basic question] Fastest XML Parser.
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  
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
Next in thread → Next in month →