Most probably loading the hbm files and creating metadata objects is the bottleneck? And the solution is to lazy load them?
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Gavin King > Sent: Tuesday, April 27, 2004 12:43 PM > To: hibernate-devel > Subject: [Hibernate] Startup time > > OK, I start to hear complaints about the startup time of Hibernate > almost everywhere I go now. It's an important issue, because it's a > problem that gets worse as people's applications get bigger, and it's > something that slows down developers. If there's /anything/ we are > about, it is about increasing the speed of development of large > applications. So this issue really cuts to the core of what we are > trying to achieve here. > > Max is trying to implement serialization of the SessionFactory, as one > possible solution, but perhaps there is some other way we could optimize > stuff. Does someone want to profile Hibernate startup, and discover > where the slow methods are? At least find out which work is dominating > at startup time? > > > -- > Gavin King > +61 410534454 > > Hibernate > [EMAIL PROTECTED] > http://hibernate.org > > JBoss Inc > [EMAIL PROTECTED] > http://jboss.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel