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
In reply to Re: Is it wiser to move on from XML::Simple to XML::Compile ( XML::Hash::XS )
by Anonymous Monk
in thread Is it wiser to move on from XML::Simple to XML::Compile
by mohan2monks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |