|more useful options|
Re: Is it wiser to move on from XML::Simple to XML::Compile ( XML::Hash::XS )by Anonymous Monk
|on Jan 27, 2014 at 08:59 UTC||Need Help??|
I want to know if i am doing things correctly and is XML::Compile really slow?
You appear to be doing things correctly ... if all the modules do what you want with the code you included
And yes, XML::Compile is probably that slow :) OTOH it does more than the other modules (and does it in perl code), so the slowness isn't unexpected
As the results have to be displayed to browser performance is a big issue.
Blah blah blah ... "loading data" spin cursors were invented for a reason :D
My advice (that I'm advising you with) is to try XML::Rules its XML::Simple on steriods :)
Also, profile your code (nytprof) to identify other bottlenecks :)
Also try XML::Hash::XS -- its libxml2+xs -- should be as fast as you can possibly get