FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Latest builds melt my CPU when trying to display navigator

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Chris Nelson
Posted via mailing list.





PostPosted: Mon Feb 09, 2009 5:06 pm    Post subject: Latest builds melt my CPU when trying to display navigator Reply with quote

I downloaded the latest nightly build of NB ruby support so I could run focused tests in shoulda. Unfortunately, whatever happens during the building of the ruby navigator outline view is so much slower that it makes NB unusable. My classes are pretty large but 6.5 is able to handle them much better. Any ideas why this would be?

--Chris
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Tue Feb 10, 2009 8:58 am    Post subject: Latest builds melt my CPU when trying to display navigator Reply with quote

Hi Chris,

Chris Nelson wrote:
Quote:
I downloaded the latest nightly build of NB ruby support so I could
run focused tests in shoulda. Unfortunately, whatever happens during
the building of the ruby navigator outline view is so much slower that
it makes NB unusable. My classes are pretty large but 6.5 is able to
handle them much better. Any ideas why this would be?

I think it's a side effect of the type inference improvements done in
7.0 dev. That stuff is still pretty fresh and hasn't yet been optimized
(nor thoroughly tested). I'll dig into this area in the coming weeks and
will look at this particular issue too. For the FCS we'll want
performance to be at least on par with 6.5.

Cheers,
Erno
Back to top
Chris Nelson
Posted via mailing list.





PostPosted: Tue Feb 10, 2009 2:58 pm    Post subject: Latest builds melt my CPU when trying to display navigator Reply with quote

Makes sense. FWIW, it appears to do a whole a lot of work to build the navigation when you switch back to a class you've already visited, so it seems like there's at least some opportunity to do some caching.

--Chris

On Tue, Feb 10, 2009 at 3:57 AM, Erno Mononen <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi Chris,

Chris Nelson wrote:
Quote:
I downloaded the latest nightly build of NB ruby support so I could run focused tests in shoulda. Unfortunately, whatever happens during the building of the ruby navigator outline view is so much slower that it makes NB unusable. My classes are pretty large but 6.5 is able to handle them much better. Any ideas why this would be?


I think it's a side effect of the type inference improvements done in 7.0 dev. That stuff is still pretty fresh and hasn't yet been optimized (nor thoroughly tested). I'll dig into this area in the coming weeks and will look at this particular issue too. For the FCS we'll want performance to be at least on par with 6.5.

Cheers,
Erno



([email]address-removed[/email])
([email]address-removed[/email])

Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Tue Feb 10, 2009 8:50 pm    Post subject: Latest builds melt my CPU when trying to display navigator Reply with quote

Chris Nelson wrote:
Quote:
Makes sense. FWIW, it appears to do a whole a lot of work to build
the navigation when you switch back to a class you've already visited,
so it seems like there's at least some opportunity to do some caching.
Agreed, seems that caching should help here. I haven't yet looked at the
code behind the navigator view in details, but from what I've gathered I
think there are places where further optimizing can be done.

Erno

Quote:

--Chris

On Tue, Feb 10, 2009 at 3:57 AM, Erno Mononen <address-removed
<mailto:address-removed>> wrote:

Hi Chris,


Chris Nelson wrote:

I downloaded the latest nightly build of NB ruby support so I
could run focused tests in shoulda. Unfortunately, whatever
happens during the building of the ruby navigator outline view
is so much slower that it makes NB unusable. My classes are
pretty large but 6.5 is able to handle them much better. Any
ideas why this would be?


I think it's a side effect of the type inference improvements done
in 7.0 dev. That stuff is still pretty fresh and hasn't yet been
optimized (nor thoroughly tested). I'll dig into this area in the
coming weeks and will look at this particular issue too. For the
FCS we'll want performance to be at least on par with 6.5.

Cheers,
Erno




<mailto:address-removed>

<mailto:address-removed>


Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB