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 
  

Tests Run S-L-O-W-L-Y in Windows

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
larry



Joined: 14 Oct 2008
Posts: 7

PostPosted: Tue Oct 14, 2008 1:02 am    Post subject: Tests Run S-L-O-W-L-Y in Windows Reply with quote

I'm using NetBeans 6.1 under Windows XP and can't wait for 6.5. Love your IDE! Thank you!

The problem is that tests take forever to run. My home computer (a Dell) has a 3GHz Pentium 4 with 1GB of RAM. A simple test takes over 30 seconds; string a few together and you're talking over a minute!

At work I have an IBM ThinkPad with 3GB of memory and experience the same problem. Simple tests take about 90 seconds to run. Our entire suite of unit tests takes a few minutes to run on our Linux server - on my machine the same suite takes 45 minutes!

Will NetBeans 6.5 address and hopefully solve this problem?

Thanks,
Larry
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Tue Oct 14, 2008 8:00 am    Post subject: Tests Run S-L-O-W-L-Y in Windows Reply with quote

Hi Larry,

Sounds pretty bad indeed. Is it the same both from the command line and
from the IDE? Are you using JRuby or MRI Ruby?

You can give 6.5 a try if you like
(http://bits.netbeans.org/dev/nightly/latest/). There is a new test
runner in 6.5, but I don't really think it will make a difference in
test execution speed.

Erno


larry wrote:
Quote:
I'm using NetBeans 6.1 under Windows XP and can't wait for 6.5. Love your IDE! Thank you!



The problem is that tests take forever to run. My home computer (a Dell) has a 3GHz Pentium 4 with 1GB of RAM. A simple test takes over 30 seconds; string a few together and you're talking over a minute!



At work I have an IBM ThinkPad with 3GB of memory and experience the same problem. Simple tests take about 90 seconds to run. Our entire suite of unit tests takes a few minutes to run on our Linux server - on my machine the same suite takes 45 minutes!



Will NetBeans 6.5 address and hopefully solve this problem?



Thanks,

Larry











Back to top
larry



Joined: 14 Oct 2008
Posts: 7

PostPosted: Wed Oct 15, 2008 1:16 pm    Post subject: Reply with quote

Hi Erno,

Yeah, it is pretty bad. And the weird (and unfortunate) thing is that I witness the same behavior on both my work and home computers.

To answer your questions:

1) I'm using regular Ruby, not JRuby.

2) It makes no difference whether I run the tests from the IDE or the command line. (Which leads me to believe it isn't NetBeans - but I was hoping someone could shed some light on this issue in this forum.)

Thanks,
Larry
Back to top
View user's profile Send private message
Anthony Richardson
Posted via mailing list.





PostPosted: Wed Oct 15, 2008 9:16 pm    Post subject: Tests Run S-L-O-W-L-Y in Windows Reply with quote

I don't use ruby on windows (I don't use windows much) but I know there have been lot's of reports of ruby running very slowly on windows in the mailing lists etc..

I don't know what the problem is but not all windows users are affected. You might want to ask on the rails mailing list http://groups.google.com/group/rubyonrails-talk to find out what can be done.

Cheers,

Anthony Richardson

On Wed, Oct 15, 2008 at 11:46 PM, larry <address-removed ([email]address-removed[/email])> wrote:
Quote:

Hi Erno,



Yeah, it is pretty bad. And the weird (and unfortunate) thing is that I witness the same behavior on both my work and home computers.



To answer your questions:



1) I'm using regular Ruby, not JRuby.



2) It makes no difference whether I run the tests from the IDE or the command line. (Which leads me to believe it isn't NetBeans - but I was hoping someone could shed some light on this issue in this forum.)




Thanks,

Larry







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



Back to top
larry



Joined: 14 Oct 2008
Posts: 7

PostPosted: Thu Oct 16, 2008 12:12 am    Post subject: Reply with quote

Thanks, Anthony. I'll give that a shot.

-- Larry
Back to top
View user's profile Send private message
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