[Koha-bugs] [Bug 36441] New: Improve performance of Item::is_bundle

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 19:12:11 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36441

            Bug ID: 36441
           Summary: Improve performance of Item::is_bundle
 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

For a biblio with a large number of holdings (which could be the case for
serials for example) Item::is_bundle is one of the main culprits in terms of
performance. I know it's usually frowned upon substituting DBIx queries with
the DBI-equivalent, but think there are few other option in this case and
should be very unlikely to cause any future regressions. Attached before and
after flamegraphs to illustrate the difference in performance.

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


More information about the Koha-bugs mailing list