[Koha-bugs] [Bug 11051] Performance of opac-search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 15 06:56:51 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11051

--- Comment #3 from Robin Sheat <robin at catalyst.net.nz> ---
Caching on GetMarcStructure seems to actually be slower than running it.

Compare:

http://debian.koha-community.org/~robin/opac-search/usr-share-koha-lib-C4-XSLT-pm-1282-line.html#78
(uncached)

to:

http://debian.koha-community.org/~robin/opac-search-cached/nytprof/usr-share-koha-lib-C4-XSLT-pm-1320-line.html#78
(cached)

That function has ~1 second difference across all its calls. Removing the
memoization of GetMarcStructure should fix this.

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


More information about the Koha-bugs mailing list