Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Benchmarks of XML Parsers

by samtregar (Abbot)
on Apr 28, 2009 at 18:25 UTC ( #760695=note: print w/replies, xml ) Need Help??


in reply to Benchmarks of XML Parsers

Thanks, good stuff. If you get a chance you might throw in XML::SAX::ExpatXS, which I seem to remember was pretty fast and also has some nice SAX features the others don't.

I recently working on a project where I replaced HTML::Parser with XML::LibXML using its html parsing mode. The speed improvement was something like 10x (not sure exactly since I made a lot of other changes too).

-sam

Replies are listed 'Best First'.
Re^2: Benchmarks of XML Parsers
by ikegami (Pope) on Apr 28, 2009 at 19:56 UTC

    Added XML::SAX::ExpatXS.

      Cool. Looks like it's still the fastest SAX parser, but that doesn't help so much when you're trying to build a tree in memory. Much faster to do it directly.

      -sam

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://760695]
help
Chatterbox?
[Discipulus]: ah ok. my problem is that i just want the auto resize of the menubar from bootstraap. but when i use it it's difficult to change other aspect of the .css even if i include mine after the boostrap one
[Discipulus]: perhaps i must play around customize stripping the most (but this imply study it.. ;=)
[Discipulus]: by other hand the module will be Win32::Event2Log 'cause i hate eventviewer i i need plain logfiles to automate tasks

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2018-01-22 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (233 votes). Check out past polls.

    Notices?