Created attachment 3565 [details] [review] Proposed Patch
This bug is mentioned in: Bug 6020 Perf work for Biblio.pm http://lists.koha-community.org/pipermail/koha-patches/2011-March/014390.html
How can this be tested?
magnus, apply, test and check it works... And use time to check that it has some nice effect on speed for addbiblio.pl for instance. or you could use a load testing as ab to get the addbiblio.pl. consider doing it on a private instance and from an other machine using insecure mode... For instance.
Updating Version : This ENH will be for Koha 3.8
Bug versionned for master. entries will be made against rel_3_8 once the patch has been applied (see thread about that on koha-devel yesterday)
This patch is buggy, We can't get all frameworkcode for each call to GetMarcStructure. With ~60k lines in marc_subfield_structure table, we lost 2sec per page ! (results and detail)