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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 8 14:32:17 CET 2011


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

--- Comment #6 from Paul Poulain <paul.poulain at biblibre.com> 2011-12-08 13:32:17 UTC ---
I've tested ian script with misc/load_testing/benchmark_staff.pl, here are the
results:
(1st column with XML, 2nd column with YAML. Numbers are in ms, less is better)
23709|22453
30049|30749
27487|26463
52924|50355
35922|29679
33168|30388

The improvement is surprisingly low.

Also note xsltproc xml2yaml.xsl koha-conf.xml returned nasty results, and I had
to build the yaml manually, here is what it look like:
db_scheme: mysql
database: XXXXXXXX
hostname: localhost
port: 3306
user: XXXXXX
pass: XXXXXXXXXX
biblioserver: biblios
biblioservershadow: 1
authorityserver: authorities
authorityservershadow: 1
intranetdir: /home/paul/koha.dev/koha-community
opacdir: /home/paul/koha.dev/koha-community/opac
opachtdocs: /home/paul/koha.dev/koha-community/koha-tmpl/opac-tmpl
intrahtdocs: /home/paul/koha.dev/koha-community/koha-tmpl/intranet-tmpl
includes:
/home/paul/koha.dev/koha-community/koha-tmpl/intranet-tmpl/prog/en/includes/
logdir: /home/paul/koha.dev/installs/lecannetdesmaures/var/log
install_log:
home/paul/koha.dev/installs/lecannetdesmaures/misc/koha-install-log
useldapserver: 0

I also checked with NYTProf
* with YAML = Profile of mainpage.pl for 1.97s (of 2.58s), executing 201727
statements and 52079 subroutine calls in 253 source files and 63 string evals.
* with XML = Profile of mainpage.pl for 1.97s (of 2.60s), executing 201727
statements and 52079 subroutine calls in 253 source files and 63 string evals.

still investigating, there must be something wrong...

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list