[Koha-bugs] [Bug 14597] Reverting a batch where a record overlaid is now deleted record will fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 18 13:22:25 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14597

--- Comment #16 from Kyle M Hall <kyle.m.hall at gmail.com> ---
(In reply to Robin Sheat from comment #14)
> (In reply to Jonathan Druart from comment #11)
> > I just would like to be sure that we really want to add 2 lines and
> > instantiate a Log object per subroutine/method.
> > I personally don't like this idea.
> 
> oh yeah, that's really not ideal. I wouldn't be surprised if that were to
> become a significant source of slow if it ever ended up in a function that
> got called a lot.

I decided to run some tests, and over 1000 runs of a script with an
instantiation of the logger vs no instantiation of the logger ( with both
having 'use Koha::Logger' to measure just the instantiation ), the average time
cost for the logger instantiation was 0.003304 seconds.

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


More information about the Koha-bugs mailing list