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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 18 16:25:52 CET 2017


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

--- Comment #4 from David Gustafsson <glasklas at gmail.com> ---
It's seems it's a little bit to hard to test on a koha-instance with only a few
biblios. I tried reloading the same biblio x number of times, but there only
was minor difference in performance. Obviously some kind of caching-mechanism
kicks in when reloading the same one, the difference is much more obvious when
loading x different biblios, so requires a database with a lot of biblios to
test. Anyway, this script can be run to demonstrate the impact of this change
on the GetMarcBiblio-function, which is where much of the work takes place when
loading a biblio with items:
https://gist.github.com/gnucifer/1bc2fa8b3f9899358074d3f6a3554948

`koha-shell <koha_instance_name> -c "time perl unsafe_test.pl"`

Will get back with timings with and without patch as I need to import a larger
database into my local development instance (which takes a while).

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


More information about the Koha-bugs mailing list