[Koha-bugs] [Bug 30789] Improve performance of AddBiblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 11:43:42 CEST 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|BLOCKED                     |Passed QA

--- Comment #8 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
I agree with this patch, no problem about that.
But the performance gain should be close to zero.

Running Biblio.t (calling AddBIblio) twice with and without patch:

WITH PATCH
real    0m3.228s
user    0m2.505s
sys     0m0.371s
real    0m2.786s
user    0m2.176s
sys     0m0.370s

WITHOUT PATCH
real    0m3.162s
user    0m2.456s
sys     0m0.374s
real    0m2.728s
user    0m2.104s
sys     0m0.403s

The funny thing here is that it was faster without the patch. Which does not
tell me anything. Just incidental.
If we cached the marc structure, the other calls is pure memory stuff on a few
fields. This really costs nothing.

The title of this report promises way too much. No gain expected.

RM: I would suggest to revise the title unless we have clear feedback to prove
the statement. Keeping the release notes a bit more realistic?

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


More information about the Koha-bugs mailing list