https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15970
Bug ID: 15970
Summary: Plack should not clear syspref cache
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 15341, 13815
Just played with nytprof and found something exciting:
If I remove the following line:
C4::Context->clear_syspref_cache();
from the psgi file, the processing time is divided per 2 (!)
With the clear cache:
for 15.8s (of 18.6s), executing 2588556 statements and 903720 subroutine calls
in 421 source files and 63 string evals.
Without the clear cache:
for 7.82s (of 8.69s), executing 904432 statements and 262539 subroutine calls
in 421 source files and 63 string evals.
I have tried to update a pref (NoLoginInstructions): it's saved and displayed
correctly.
Am I missing something?
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13815
[Bug 13815] plack loose CGI qw(-utf8) flag creating incorrect utf-8 encoding
everywhere
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15341
[Bug 15341] Performance - Retrieve all sysprefs at once
--
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/