[Koha-bugs] [Bug 28702] Improve performance of C4/XSLT/buildKohaItemsNamespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 1 14:18:03 CEST 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122785|0                           |1
        is obsolete|                            |

--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 138459
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138459&action=edit
Bug 28702: Make buildKohaItemsNamespace take an array

If we fetch some of the authorised values and before hand we can reduce the
amount of work needed in this routine.
We stil require queries for pending holds and transfers, but these are lighter
than fetching the items

To test:
1 - Perform a search on the OPAC
2 - Add the results to a list
3 - Load the list several times and use developer tools (F12) to view the time
to load in the network tab
4 - Repeat a search several times and use developer tools (F12) to view the
time to load in the network tab
5 - Record the times noted above
6 - Apply patch
7 - Repeat the search and list view and compare to before the patch
8 - prove -v t/db_dependent/XSLT.t

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


More information about the Koha-bugs mailing list