Re: [Dbix-class] DBIx::Class with PerlApp

2011-02-16 Thread Michael Maibaum
On Wed, Feb 16, 2011 at 7:17 PM, Octavian Rasnita wrote: > From: "Peter Rabbitson" >> Octavian Rasnita wrote: >>> And it works, although with a low performance because DBIx::Class has a big >>> startup lag. >>> >> >> This is not really correct. The slow startup comes from FS operations >> while

Re: [Dbix-class] DBIx::Class with PerlApp

2011-02-16 Thread Octavian Rasnita
From: "Peter Rabbitson" > Octavian Rasnita wrote: >> And it works, although with a low performance because DBIx::Class has a big >> startup lag. >> > > This is not really correct. The slow startup comes from FS operations > while load_namespaces scans for result classes. There are ways to > mit

Re: [Dbix-class] DBIx::Class with PerlApp

2011-02-16 Thread Peter Rabbitson
Octavian Rasnita wrote: And it works, although with a low performance because DBIx::Class has a big startup lag. This is not really correct. The slow startup comes from FS operations while load_namespaces scans for result classes. There are ways to mitigate this if so required, DBIC itself is

Re: [Dbix-class] DBIx::Class with PerlApp

2011-02-16 Thread Octavian Rasnita
I have succeeded to build a Windows executable using: perlapp --add=Moose --add=MooseX::NonMoose --add=MooseX::NonMoose::Meta::Role::Class --add=MooseX::NonMoose::Meta::Role::Constructor --add=namespace::autoclean --add=DBIx::Class::Schema test.pl And the program test.pl is a simple program th