Re: [Dbix-class] [PATCH]DBIC::Cursor::Cached's cache key

2007-08-17 Thread atsushi kobayashi
 It's a reasonable default. Should probably add a cache_key_prefix rs
 attr as well.

 And could you add a test as well please? :)


Is it to be able to set cache_key_prefix besides ref($storage-schema)?
I thought it to be enough only in 't/simple.t' if good.

-- 
Atsushi Kobayashi

___
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]


Re: [Dbix-class] Startup speed

2007-08-17 Thread Jess Robinson


On Fri, 17 Aug 2007, Pedro Melo wrote:


Hi,

I'm working on a project that has about 75  tables (when we finish I expect 
them to be in the 120-something). Running:


time perl -MSchema -e 1

gives:

real0m19.851s
user0m18.674s
sys 0m0.195s

For production, given that restarts are not common, this is acceptable. For 
development, this is a pain.


I'm using latest DBIC, Class::C3 and C:C3::XS.



And these are static schema files, or is it a Loader-ised Schema ?

Jess


___
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]


RE: [Dbix-class] Startup speed

2007-08-17 Thread Hartmaier Alexander
Faster hardware? ;-)
My largest DBIC schema of my model has currently 69 of 74 tables (wow, didn't 
know I have that much...):

time perl -MNAC::Model::DBIC::Schema::NAC -e 1

real0m0.997s
user0m0.960s
sys 0m0.036s

That’s DBIC 0.08006 on an Athlon 2000+ (1666MHz).

-Alex


 -Original Message-
 From: Pedro Melo [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 17, 2007 2:27 PM
 To: [EMAIL PROTECTED]
 Subject: [Dbix-class] Startup speed
 
 Hi,
 
 I'm working on a project that has about 75  tables (when we finish I
 expect them to be in the 120-something). Running:
 
 time perl -MSchema -e 1
 
 gives:
 
 real0m19.851s
 user0m18.674s
 sys 0m0.195s
 
 For production, given that restarts are not common, this is
 acceptable. For development, this is a pain.
 
 I'm using latest DBIC, Class::C3 and C:C3::XS.
 
 I'm considering using bleadperl for most developments to take
 advantage of the even greater speedups, but then I have to do a round
 of testing with the production perl.
 
 Apart from those, is there any secret formula to speed up the startup
 time?
 
 Thanks in advance,
 --
 Pedro Melo
 Blog: http://www.simplicidade.org/notes/
 XMPP ID: [EMAIL PROTECTED]
 Use XMPP!
 
 
 
 ___
 List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
 IRC: irc.perl.org#dbix-class
 SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
 Searchable Archive: http://www.grokbase.com/group/dbix-
 [EMAIL PROTECTED]

***
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
***
Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then delete 
this e-mail immediately.
***
___
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]