Bug 26588

Summary: additem.pl is slow to load when record has many items
Product: Koha Reporter: David Cook <dcook>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2020-10-01 03:04:34 UTC
Loading additem.pl is slow when loading a record with 350+ items.

With Plack Koha, it's taking about 8.5 seconds at the moment.

I haven't really investigated yet, but it's not immediately obvious why it's slow. 

My guess is probably C4::Biblio::EmbedItemsInMarcBiblio, but I haven't delved into the depths.
Comment 1 David Cook 2020-10-01 03:04:58 UTC
While I've noticed this, I don't have a sponsor for this work, so I'm probably not going to work on it.

Just noting it here as a problem.