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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 6 10:11:38 CET 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #95069|0                           |1
        is obsolete|                            |
  Attachment #95070|0                           |1
        is obsolete|                            |
  Attachment #95071|0                           |1
        is obsolete|                            |
  Attachment #95072|0                           |1
        is obsolete|                            |
  Attachment #95073|0                           |1
        is obsolete|                            |

--- Comment #23 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 95083
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95083&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>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list