[Koha-bugs] [Bug 7170] Remove use of XML::Simple

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 8 14:41:37 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7170

--- Comment #16 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
(In reply to comment #11)
> Hello
> Does someone still work on this bug?
> XML::Simple is still used by a lot of files.
> 
> Any change that could improve performances would be a good thing! (And yes,
> I know Plack and Memcached ;-) )
> 
> Using Yaml instead of XML in some cases (particulary for Koha-conf) would
> also be a GREAT thing ( some libraries don't want to use Memcached).

I did a lot of testing, and my conclusions were as follows:

1. YAML is much faster than XML.
2. XML::Simple with $ENV{'XML_SIMPLE_PREFERRED_PARSER'} == 'XML::SAX::ExpatXS'
is probably the best option for parsing the XML. XML::LibXML::Simple is a
more-or-less drop-in replacement, but it's not appreciably faster.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list