Matts (email not shown publicly) I work for MessageLabs [messagelabs.com] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.
Last night I ran a mill of a site, 24'532 pages which too 429 seconds! (An average of 0.0175 seconds/page).. ( Now looking at it I am stunned.. When I woke up I assumed it had taken 7 hours.. But that's actually 7 minutes!)
Ways to Rome [xmltwig.com] has a benchmark which shows XML::LibXSLT is one of the fastest modules available. I was actually quite surprised by the fact that it is often faster than XML::LibXML.
No surprise there, XSLT was designed to be fast (and even then, almost none of the optimisations are being used) and in the case of XML::LibXSLT pretty much everything happens at C level, whereas in XML::LibXML you are always moving back and forth between C and Perl.
It is really fast! (Score:2)
Ways to Rome [xmltwig.com] has a benchmark which shows XML::LibXSLT is one of the fastest modules available. I was actually quite surprised by the fact that it is often faster than XML::LibXML.
mirod
Re:It is really fast! (Score:2)
No surprise there, XSLT was designed to be fast (and even then, almost none of the optimisations are being used) and in the case of XML::LibXSLT pretty much everything happens at C level, whereas in XML::LibXML you are always moving back and forth between C and Perl.
-- Robin Berjon [berjon.com]