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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/