[Koha-bugs] [Bug 19884] Improve performance of GetItem

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 3 17:16:29 CET 2018


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

--- Comment #23 from David Gustafsson <glasklas at gmail.com> ---
I was using this to benchmark:
https://gist.github.com/gnucifer/5b2119f656592c4d6b3f6dab0b8087f1

Which is more or less equivalent to your code example (when comparing
approaches to improve performance).

And this to run the benchmark:
https://gist.github.com/gnucifer/fa3bb31d49f1258a4d1af270d235d76f

(biblionumber probably needs replacing if running on different instance).

So to replace find with search using this approach will unfortunately not
increase performance very much.

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


More information about the Koha-bugs mailing list