Mao, Dean (IHG) wrote:

35 classes in 2.5 seconds? I don't believe you!

Are you always so polite with people trying to help you? ;-)

I have optimized the
logging too. How are you getting around the cglib initialization? The
majority of my hibernate initialization time is consumed by the cglib
creating all its proxy classes.


Add the following line in the hibernate.properties file:

hibernate.cglib.use_reflection_optimizer false

Just for the record, on my new AthlonXP 2800+ the hibernate initialization is performed in 0.8 seconds.
But I'd like it to take less, no everyone has a Ghz machine these days, and it can take as much as 5
seconds on a 500/700 Mhz PC (still quite common in many offices around here).


Best regards
Andrea Aime




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to