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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 1 20:37:45 CEST 2019


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 91913
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91913&action=edit
Bug 23414: Use Koha Item objects in buildKohaItemsNamespace

Removing the use of C4::GetItemsInfo cuts down on the number of DB requests and
speeds things up

To test I added 100 items to each of the first 20 records returned by a search
for 'a'
I saw a reduction from ~30 seconds to ~26 seconds

This also makes the code a little cleaner and moves us toward the Koha
namespace

To test:
1 - Perform a search in the OPAC and STaff Client with the Browser Console
opened (F12)
2 - View the netwrok tab and see how long the pages take to load
3 - Apply the patches, restart all the things
4 - Repeat and note if the results are returned faster

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


More information about the Koha-bugs mailing list