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

--- Comment #1 from Nick Clemens <[email protected]> ---
Created attachment 135071
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135071&action=edit
Bug 30789: Improve performance of AddBiblio

AddBiblio calls TransformMarcRecordToKoha. We are only interested in getting
biblio and biblioitems info, so we can pass 'no_items' to save some field
lookups

Additionally we can pass the subfield structure we have already fetched into
the subroutine
TransformMarcToKohaOneField

Testing with NYTProf I saw a reduction of ~6 seconds when importing ~400 bibs
and ~1000 items
i.e. I exported and imported the sample data (after removing duplicate 010 from
record 72)

To test:
1 - Stage and import some records
2 - Confirm it works the same before and after patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/

Reply via email to