[Koha-bugs] [Bug 17783] Optimize Koha::IssuingRules->get_effective_issuing_rule
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 15 18:43:53 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17783
--- Comment #2 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 58229
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58229&action=edit
Bug 17783: Test to print performance of get_effective_issuing_rule
This test prints the amount of issuing rule matches per second for
1. worst case, when non-existent branchcode, categorycode and itemtype is
being searched (currently 8 queries)
2. mid case (rule found on 4th query)
3. 2nd best case (rule found on 2nd query)
4. best case, when an issuing rule is defined for exactly those branchcode,
categorycode and itemtype (currently 1 query)
To test:
1. Run t/db_dependent/Koha/IssuingRules.t
2. Write down the per-second amount to compare with next patch
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list