[Koha-bugs] [Bug 28278] Improve $KOHA_CONF parsing speed by using XML::LibXML

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 4 15:05:08 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28278

--- Comment #10 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---

Without patch
  Time (mean ± σ):      7.349 s ±  0.268 s    [User: 6.451 s, System: 0.348 s]
  Range (min … max):    6.968 s …  7.775 s    10 runs

With patch
  Time (mean ± σ):      2.377 s ±  0.104 s    [User: 1.993 s, System: 0.148 s]
  Range (min … max):    2.266 s …  2.551 s    10 runs

Run on a production virtual server.

I'm happy with the result and the test is thorough... no regressions found.

I'd love to see the subsequent bugs to split out the zebra config and possibly
move away from XML.. but for now, even putting the performance improvement
aside, this is a great step in the right direction for dropping our reliance on
XML::Simple.

Passing QA

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


More information about the Koha-bugs mailing list