[Koha-bugs] [Bug 19792] Reduce number of SQL calls in GetBudgetHierarchy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 29 12:13:27 CET 2018


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

--- Comment #19 from Nicolas Legrand <nicolas.legrand at bulac.fr> ---
I just tried NYTProf on orderreceive.pl which loaded twice  GetBudgetHierarchy
with a budget id.

orderreceive without 19792 ran in 6.05s, 38.9ms is spent in GetBudgetHierarchy.
orderreceive with 19792 ran in 4.81s, 359ms is spent in GetBudgetHierarchy.

Therefore, the function is still faster with this patch, even when launched
with a budget id.

We will use this patch in production as it saves some seconds in a module that
became a sluggishness nightmare since 16.11. We would like to warmly thank
InLibro and Collecto for this improvement!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list