Re: Perl XML::Parser failing tests
"Jenda Krynicky" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
From: Tyler Riddle <[email protected]> > Hi everyone, > > I did some research and benchmarks on processing large XML documents - > specifically I benchmarked all the SAX parsers I could find, > XML::Twig, XML::Records, XML::Rules, and two C based parsers across 5 > different languages of the Wikipedia. You can find a graph of the > results here: http://triddle.us/XML_parser_benchmark.png > > X is the XML parser name (expat.t and libxml.t are the C based SAX interfaces) > Y is the speed in mebibytes > Z is the language of the Wikipedia > > The cv file is about 50 megs and the en file is about 22 gigs; the > other files are somewhere in between. > > Tyler Without knowing what did you actually benchmark, the numbers are prettymuch useless. If you measured how long does it take before the parser waddles through the file with the default settings, then it might mean something for the libraries that just produce some in-memory representation of the file, but comparing that to the time it takes for the event based parsers to generate all the events and ignore them is pointless. What was the task? Jenda ===== [email protected] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs