[Koha-bugs] [Bug 14476] New: Improving opac-search performances

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 30 16:07:35 CEST 2015


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

            Bug ID: 14476
           Summary: Improving opac-search performances
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: julian.fiol at biblibre.com
          Reporter: julian.fiol at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
            Blocks: 7923

Improving opac-search performances by caching the results of
C4::XSLT::transformMARCXML4XSLT.

This also impact the performances of C4::XSLT::XSLTParse4Display.

My tests (with Devel::NYTProf) showed a gain of about 
65% on C4::XSLT::transformMARCXML4XSLT and 
35% on C4::XSLT::XSLTParse4Display.

The gain of performances is increasing with the numbers of results.

Examples:
--------
1/
searching : "sinatra", results : 2
gain :
C4::XSLT::transformMARCXML4XSLT = 40%
C4::XSLT::XSLTParse4Display     = 19%

2/
searching : "Victor Hugo", results : 16
gain :
C4::XSLT::transformMARCXML4XSLT = 71%
C4::XSLT::XSLTParse4Display     = 36%

3/
searching : "a", results : 2060
gain :
C4::XSLT::transformMARCXML4XSLT = 82%
C4::XSLT::XSLTParse4Display     = 51%

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


More information about the Koha-bugs mailing list