[Koha-bugs] [Bug 19819] C4::Context->dbh is unreasonably slow

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 18 13:55:38 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19819

--- Comment #4 from David Gustafsson <glasklas at gmail.com> ---
Regarding how to test: time this script (for example)
https://gist.github.com/gnucifer/8a9a26de02d2e344c99398a19fc8df71 in koha-shell
wihtout the patch applied:

`koha-shell kohadev -c "time perl context_dbh_text.pl`

On my machine this takes about 17.2 seconds.

Apply patch, run again. For me with patch applied time decreases to about 10.2
seconds.

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


More information about the Koha-bugs mailing list