-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Performance of version 2.1.8
PostPosted: Mon May 09, 2005 10:25 pm 
Newbie

Joined: Mon May 09, 2005 9:24 pm
Posts: 1
Hi,

Hibernate 2.1.8 spends a very large portion of CPU time in calls to the log.info(), log.debug(), and log.trace() methods even though these logging levels are turned off. It is because Hibernate makes a lot of calls to these methods and in many cases without checking if the corresponding log is enabled, e.g., by calling log.isDebugEnabled(), log.isTraceEnabled(), log.isInfoEnabled(), and sqlLog.isDebugEnabled().

When the logging is conditional the performance is significantly improved.

Would it be possible to make these changes in version 2.1.8 and release a new build of 2.1?

I noticed that version 3.0.3 has a similar problem.

Thanks,
Marek


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 10, 2005 10:29 am 
Regular
Regular

Joined: Mon Jul 26, 2004 2:28 pm
Posts: 86
Location: Pensacola, Florida
The source and build scripts are available...

- Jesse


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.