[Koha-bugs] [Bug 15106] New: Batch Patron Modification Performance Improvement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 2 01:49:49 CET 2015


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

            Bug ID: 15106
           Summary: Batch Patron Modification Performance Improvement
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: cnorthcott.work at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
            Blocks: 7923

Batch Patron Modification has a fairly long run/load time. I have attempted to
improve the runtime of the Batch Patron Modification tool and my enhancement
reduces the time to modify a batch of patrons by an average of 44.02%

I discovered the extended runtime was mostly due to detailed data retrieval in
preparation for display. The overhead for a batch of 1000 patrons was enough
that I have changed functionality so that if there are more than 20 patrons in
the batch to simply display a success message instead of the details of every
changed patron. There are other small code logic improvements also included to
prevent unnecessary function calls.

In the end my test case of 1000 patrons originally took 59.02 seconds to
modify, after optimisation it took 33.04 seconds saving 25.98 seconds.


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7923
[Bug 7923] Performance omnibus
-- 
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