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

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

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