in reply to Is it wiser to move on from XML::Simple to XML::Compile
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
See http://www.xmltwig.org/article/simple_benchmark/
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
Please advice..
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
See also http://xmlbench.sourceforge.net/results/benchmark200910/index.html
Good luck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is it wiser to move on from XML::Simple to XML::Compile ( XML::Hash::XS )
by mohan2monks (Beadle) on Jan 27, 2014 at 09:26 UTC | |
by Jenda (Abbot) on Jan 27, 2014 at 12:29 UTC |