[Koha-bugs] [Bug 15103] New: Import Borrowers Performance Improvement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 2 00:39:42 CET 2015


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

            Bug ID: 15103
           Summary: Import Borrowers 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

Import Borrowers has a long run/load time to import batch of borrowers. I have
attempted to improve the runtime of the import borrowers tool and my
enhancement reduces the time to import by an average of 22%.

I discovered the extended runtime was mostly due to the intentionally expensive
password hashing algorithm used by Koha which is largely unavoidable, but I was
able to save some time by switching calls to DBIx::Class::ResultSet to reduce
the import of 5000 patrons from 242.2 seconds to 187.8 seconds, saving almost a
whole extra minute (54.4 seconds) of database calls.


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