Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Is it wiser to move on from XML::Simple to XML::Compile

by mohan2monks (Beadle)
on Jan 27, 2014 at 09:48 UTC ( #1072200=note: print w/replies, xml ) Need Help??


in reply to Re: Is it wiser to move on from XML::Simple to XML::Compile
in thread Is it wiser to move on from XML::Simple to XML::Compile

Thanks for reply.
I agree XML::Compile does not belong in this comparison.
This comparison should not be considered as comparisons of performance of different parsers.
I was just trying to compare these for my case and really think XML::Compile a great code. It supports all schema validations etc and fits well for my case too. I was looking for a possible plug in to XML::Simple with better performance.
I had checked XML::LibXML::Simple too but not of much difference as both take much time in converting to perl hash than actual parsing.
Here is result for two

s/iter xmllibxmlsimple xmlsimple xmllibxmlsimple 22.8 -- -3% xmlsimple 22.2 3% --

Replies are listed 'Best First'.
Re^3: Is it wiser to move on from XML::Simple to XML::Compile
by markov (Scribe) on Jan 27, 2014 at 10:57 UTC
    XML::Fast is also creating HASHes. The difference might be that it construct those in XS, where ::Simple need to cross the expensive XS <-> Perl border for each node.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1072200]
help
Chatterbox?
[stevieb]: Corion: the problem with that is the 2.36 represents the underlying C library I've wrapped, which is why I want to use incrementals after the real version number. I've emailed modules@ to see if they can expedite the process for me...
[stevieb]: ...as normally, it takes three days to delete, in case you want to change your mind

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-01-19 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.