[Koha-bugs] [Bug 35826] Optimize building of holds queue based on transport cost matrix

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 15 16:43:50 CET 2024


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

--- Comment #15 from Kyle M Hall <kyle at bywatersolutions.com> ---
Tests with production data from a large library with 61661 holds on 218573
records with 1798064 items: 

kohadev-koha at kohadevbox:koha((fee4368cd81...))$ git checkout origin/master;
hyperfine --warmup 3 --runs 10 "./misc/cronjobs/holds/build_holds_queue.pl
--force"; git checkout bug35826-qa; hyperfine --warmup 3 --runs 10
"./misc/cronjobs/holds/build_holds_queue.pl --force"
HEAD is now at fee4368cd81 Bug 35930: Add guards for plugins_enabled
Benchmark 1: ./misc/cronjobs/holds/build_holds_queue.pl --force
  Time (mean ± σ):     43.093 s ±  3.282 s    [User: 33.352 s, System: 1.129 s]
  Range (min … max):   38.749 s … 49.173 s    10 runs

Previous HEAD position was fee4368cd81 Bug 35930: Add guards for
plugins_enabled
Switched to branch 'bug35826-qa'
Your branch is ahead of 'origin/master' by 2 commits.
  (use "git push" to publish your local commits)
Benchmark 1: ./misc/cronjobs/holds/build_holds_queue.pl --force
  Time (mean ± σ):     42.098 s ±  2.568 s    [User: 32.566 s, System: 1.026 s]
  Range (min … max):   37.995 s … 45.096 s    10 runs

TLDR: With real world data, not only should it route items more efficiently, it
appears to be slightly faster then our current code

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


More information about the Koha-bugs mailing list