[Koha-bugs] [Bug 28172] Optimize Koha::Plugins::GetPlugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 20 09:19:38 CEST 2021


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

--- Comment #3 from Julian Maurice <julian.maurice at biblibre.com> ---
Without the patch:

% ./test_getplugins.pl 
2 plugins detected, 2 enabled
First 2 calls to GetPlugins: 0.533s
1000 calls to GetPlugins: 3.505s
1000 calls to GetPlugins with method = "unknown_method": 0.824s
1000 calls to GetPlugins with all = 1: 3.580s

With the patch:

% ./test_getplugins.pl
2 plugins detected, 2 enabled
First 2 calls to GetPlugins: 0.535s
1000 calls to GetPlugins: 1.502s
1000 calls to GetPlugins with method = "unknown_method": 0.730s
1000 calls to GetPlugins with all = 1: 3.795s

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


More information about the Koha-bugs mailing list