[Koha-bugs] [Bug 36264] XSLT processing is much slower on OPAC than Staff Interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 03:08:32 CET 2024


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

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Using "strace", I've been analyzing the searches, and comparing the staff
interface versus the OPAC.

They both take 1-2 seconds to get started up, and then they lose roughly the
same amount of time getting Zebra facets (in my cease about 9-12 seconds). 

It takes about 1 second to process the 20 records in the staff interface, but
it takes about 16 seconds to process the 20 records for the OPAC. 

The last 2 seconds of the OPAC are dedicated to template render. The staff
interface spends 4 seconds on its final steps. Some of this is template render
and some is work that I haven't analyzed yet, but I'm not worried about at this
stage.

Used PassItemMarcToXSLT and removed buildKohaItemsNamespace, and I'm getting:

Default XSLT:
OPAC: 19.21 seconds
Staff: 11 seconds

No XSLT (disabled in code):
OPAC: 19.62
Staff: 10.7

The main difference here is the PassItemMarcToXSLT, so that's interesting...
sounds like items are having an impact on the OPAC XSLT processing even if
buildKohaItemsNamespace isn't being used...

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


More information about the Koha-bugs mailing list