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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 28 14:00:03 CET 2017


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

--- Comment #7 from David Gustafsson <glasklas at gmail.com> ---
I added two profiling results obtained by running this script
https://gist.github.com/gnucifer/a86feeac08dac9bc1bb699f52b95f8b2 with and
without the patch to illustrate the difference. As can be seen by the
flamegraph Koha::Objects::find takes up half of the total time, and with the
patch applied this overhead is gone.

This shows the performance difference of just calling GetItem:
https://gist.github.com/gnucifer/113b033d211add58fe7e6ebfc257726a

Without patch the calls to GetItem takes about 100s to execute on my machine.
With patch applied 3.26s, so about 31 times faster.

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


More information about the Koha-bugs mailing list