http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14597
--- Comment #16 from Kyle M Hall <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
