http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13758
--- Comment #3 from Tomás Cohen Arazi <tomasco...@gmail.com> --- (In reply to Jonathan Druart from comment #2) > I did not find any time saving using a new package to store the version. > > # Without the patch > $ more t.pl > use Modern::Perl; > use C4::Context; > say C4::Context->KOHAVERSION; > > $ time perl t.pl => 0.150s > > # With the patch > $ more t.pl > use Modern::Perl; > use C4::Context; > use Koha; > say Koha::version; > > $ time perl t.pl => 0.150s > > To be fair I kept the use of C4::Context, if I remove it I get, of course, > ~0.024s Could you try the opac home page using ntyprof? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/