[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
Sun Dec 18 20:50:35 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17783
--- Comment #7 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 58269
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58269&action=edit
[SIGNED-OFF] 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
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list