in reply to Re: Which XML parser would be the wisest to use
in thread Which XML parser would be the wisest to use
Thanks, runrig
I actually set
$XML::SAX::ParserPackagein my SAX test and gave each of the modules a go. ExpatXS was the fastest, so I just used it.
I thought XML::LibXML was a tree parser and I have had little luck with them as I run out of memory and my windoze session grinds to a halt :-(
I quite like the feel of SAX and might just put up with the penalty but I wanted to get some opinions before just ploughing ahead and coding all the parsers I need.
BTW, PurePerl took a lot longer. Here's the original run where I timed a few of the SAX modules :)
XML::LibXML::SAX real 1m9.658s user 1m3.186s sys 0m0.312s XML::SAX::Expat real 2m29.873s user 2m2.421s sys 0m0.389s XML::SAX::ExpatXS real 0m55.370s user 0m49.014s sys 0m0.311s XML::LibXML::SAX::Parser real 2m31.700s user 2m14.342s sys 0m0.483s XML::SAX::PurePerl real 5m2.766s user 4m23.733s sys 0m0.515s
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Which XML parser would be the wisest to use
by runrig (Abbot) on Feb 21, 2008 at 04:28 UTC | |
by Jenda (Abbot) on Feb 29, 2008 at 00:30 UTC |