[Koha-bugs] [Bug 15350] DBIx::Class Startup speed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 10 13:00:11 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15350
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
1 - Already done
2 - We don't load any components at the moment
3 - In Koha::Schema, I have tried to replace
__PACKAGE__->load_namespaces;
with
my $r = [ qw( Accountline Accountoffset ... Zebraqueue ) ];
__PACKAGE__->load_classes({ 'Koha::Schema::Result' => $r});
I have not noticed any gain using the following script
use Koha::Database;
Koha::Database->new()->schema()->resultset('Discharge');
Always between 0.85 and 0.90 second
4 - Something to try?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list