Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Fastest XML Parser ?by mirod (Canon) |
on Feb 17, 2008 at 06:26 UTC ( [id://668391]=note: print w/replies, xml ) | Need Help?? |
I maintain a series of benchmarks for various cases named Ways to Rome. The short answer is that the fastest parser is XML::LibXML. In your case if XML::Simple is that slow, maybe that's because you are using it's default, pure Perl, parser which is really slow. Do you have XML::LibXML or XML::Parser installed? You might also need to set the $XML_SIMPLE_PREFERRED_PARSER (or $XML::Simple::PREFERRED_PARSER) to XML::Parser or XML::LibXML. See the Environment section in the docs of the module.
In Section
Seekers of Perl Wisdom
|
|