17 Mar
2015
17 Mar
'15
4:36 p.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13758 --- Comment #3 from Tomás Cohen Arazi <tomascohen@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.