-->
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 Issue: CountOccurrences
PostPosted: Wed Mar 18, 2009 4:59 am 
Beginner
Beginner

Joined: Mon Aug 15, 2005 11:09 pm
Posts: 23
Hibernate version:
1.2.1

Hi guys. My application is spending nearly 3/4 of its time (77 of 108 seconds) in NHibernate.Collection.PersistentBag.CountOccurrences() generating Equals calls.

Here's a copy of the trace:

Image

So yeah, 151 SaveOrUpdate() calls are ballooning into 19 million Equals() calls. This would cover about 15 sessions/transactions.

Any idea what could be happening here?


Top
 Profile  
 
 Post subject: Re: Performance Issue: CountOccurrences
PostPosted: Thu Jun 17, 2010 11:58 am 
Newbie

Joined: Thu Jun 17, 2010 11:47 am
Posts: 1
Hi, I'm having the same issue, but in

NHibernate.Collection.PersistentBag.CountOccurrences() -> IsSame

@Tristian - did you get it resolved?


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.