https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30269
--- Comment #2 from Nick Clemens <[email protected]> --- Created attachment 131559 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131559&action=edit Perf check This compared the time for using accessor versus subroutines for checking transit, waiting, etc. accessor were faster in both cases, but more drastically so in case of a found hold Unfound hold: Rate objectMethodAtD objectMethodIsW objectMethodIsF objectAccessorW objectAccessorF objectMethodAtD 546/s -- -1% -5% -6% -8% objectMethodIsW 553/s 1% -- -4% -5% -7% objectMethodIsF 576/s 6% 4% -- -1% -3% objectAccessorW 579/s 6% 5% 1% -- -3% objectAccessorF 596/s 9% 8% 3% 3% -- Found hold: Rate objectMethodIsF objectMethodAtD objectMethodIsW objectAccessorW objectAccessorF objectMethodIsF 183/s -- -63% -65% -67% -68% objectMethodAtD 500/s 173% -- -3% -9% -12% objectMethodIsW 516/s 182% 3% -- -7% -10% objectAccessorW 552/s 201% 10% 7% -- -3% objectAccessorF 572/s 212% 14% 11% 4% -- -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
