[Koha-bugs] [Bug 23414] Improve performance of C4/XSLT/buildKohaItemsNamespace
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 19:30:45 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23414
Liz Rea <wizzyrea at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #95011|0 |1
is obsolete| |
--- Comment #18 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 95069
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95069&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
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list