[Koha-bugs] [Bug 8089] Use Koha::Cache everywhere

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 28 15:39:06 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8089

--- Comment #37 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 14891
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14891&action=edit
perl testing script

Back after some others tests.
I made a simulation with  simultaneous process.
This script gives an idea of the performance I got with 4 different
configurations.

The tests were executed on a Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz with 8g
of RAM.

4 cases:
1/ Branch master using CGI
2/ Branch master + Bug 8089 and Bug 9434 patches using CGI
3/ Branch master using Plack
4/ Branch master + Bug 8089 and Bug 9434 patches using Plack

For 10 simultaneous processes (admin/preferences.pl / catalogue/search.pl?q=d):
1/ 2.7s / 3.1s
2/ 3.0s / 3.4s
3/ 0.8s / 1.4s
4/ 1.1s / 1.7s

For 100 simultaneous processes (admin/preferences.pl /
catalogue/search.pl?q=d):
1/ 47.2s / 60.4s
2/ 30.0s / 58.2s
3/  8.0s / 13.2s
4/ 10.8s / 16.8s

These results are consistent with Jared's explanation.

Moreover, with the caching system and some simultaneous processes, this patch
could be useful.
But this script does not generate a real life test case...

I will sign off these patches.

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


More information about the Koha-bugs mailing list