[Koha-bugs] [Bug 19820] Add unsafe param to GetMarcSubfieldStructure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 17:06:08 CET 2017


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

--- Comment #6 from David Gustafsson <glasklas at gmail.com> ---
Since I was unable to find a representative benchmark that can be run with only
a few bib-posts, I created a more artificial one instead, just to illustrate
the slowness of the deserialization. In a real life example the impact is not
huge, but think it was about 5% of time spent during indexing for example (and
most accumulated time of all functions), so not insignificant.

https://gist.github.com/gnucifer/5b8c2cf0a63362d95322c6f91dd7411e

Without patch:
real    0m14.540s
user    0m13.144s
sys     0m0.168s


With patch:
real    0m0.689s
user    0m0.576s
sys     0m0.084s

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


More information about the Koha-bugs mailing list