[Dbix-class] Startup speed

Hartmaier Alexander Alexander.Hartmaier at t-systems.at
Fri Aug 17 13:41:03 GMT 2007


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

real    0m0.997s
user    0m0.960s
sys     0m0.036s

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

-Alex


> -----Original Message-----
> From: Pedro Melo [mailto:melo at simplicidade.org]
> Sent: Friday, August 17, 2007 2:27 PM
> To: dbix-class at lists.rawmode.org
> 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:
> 
> real    0m19.851s
> user    0m18.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: melo at simplicidade.org
> 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-
> class at lists.rawmode.org

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
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.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*


More information about the DBIx-Class mailing list