Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Optional "Run Tests only after Save"
Der-Albert.com
#1 Posted : Saturday, May 21, 2011 2:11:31 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
Running the tests continously in the background is greate when you are on power line.
But if your are on battery ... it sucks the battery out of life.

So please add an "Run Tests only after Save", so that i can code longer in fresh air ;)

Please also consider an automatic switch if a user runs on battery.

Remco
#2 Posted : Saturday, May 21, 2011 6:25:20 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
You're not the first person that's asked for this, so definitely I think it will need to be included at some stage. At the moment, you could set the system to run tests manually, though it will still run background builds (thus churning up your battery).

Although I've never really tested NCrunch much on batteries, I'd expect that much of the power drain is probably because of the hard disk activity. The constant background builds will spin the HDD up constantly. A way you can reduce this (if your solution is small enough) would be to try configuring NCrunch to deposit its workspaces onto some kind of virtual RAM drive. You'd need to get hold of another piece of software that can create the virtual disk for you, but I have seen this work very well before.
Der-Albert.com
#3 Posted : Sunday, May 22, 2011 12:54:15 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
Hardisk is possible, but continuous running 4 Cores need also power ;)

Which RamDisk do you recommend?
Remco
#4 Posted : Sunday, May 22, 2011 5:07:50 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Some time ago I experimented with the DATARAM one and found it to work quite well for me. Results will probably vary depending upon your system I'm sure :)

You can reduce your CPU consumption by keeping your MaxNumberOfProcessingThreads setting held at 1, and keeping the system in manual mode while you work. It will still run the builds though.
Der-Albert.com
#5 Posted : Sunday, May 22, 2011 7:58:52 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
I also found DATARAM it works. I will keep an eye on that.

For running tests in Manual Mode i don't need NCrunch ;)

But optional consuming less power on battery is in general a good idea in these times ;)

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download