[Koha-bugs] [Bug 32060] New: Improve performance of Koha::Item->columns_to_str
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 1 17:31:37 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32060
Bug ID: 32060
Summary: Improve performance of Koha::Item->columns_to_str
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: glasklas at gmail.com
QA Contact: testopia at bugs.koha-community.org
When creating a new item for a biblio with many items, for example serials
which can have several hundreds, the table of existing items that is shown is
currently very performance heavy to generate. The main culprit is
Koha::Item->columns_to_str that can be sped up substantially by caching data
that is looked up repeatedly for each call. With this patch columns_to_str will
run about ~70x faster, reducing the load time of
/cataloguing/additem.pl?biblionumber=... to about one fifth for a biblio with
about 150 items (and even more with increasing number of items).
--
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