On Oct 26, 2008, at 5:21 AM, Nils Rüfenacht wrote:

Thanks for all your replies.

I now know what made the difference (but still can't believe it!!!). Before I was running with the mains adapter only whereas the battery was removed. If the battery is inserted and the adapter is connected the runtime decreases "dramatically" even on my MacBook.

Battery INSERTED:
indexGenerator(0.08,0.15,30,100): 10.242
indexGenerator(0.08,0.15,30,1000): 100.875

Battery REMOVED:
indexGenerator(0.08,0.15,30,100): 19.779
indexGenerator(0.08,0.15,30,1000): 197.375

Would anyone have expected that? Sorry, but me I wouldn't.


Yes, if your energy settings are to save battery as I said in the original reply. You can choose which mode you want to use (from battery saving to best performance - and you can even create a custom mode), so it's up to you whether you want battery life or fast benchmarks ;). Note that the settings are customizable for both batter and adapter power.

Cheers,
Simon




Am 26.10.2008 um 07:54 schrieb Ken Beath:

On 26/10/2008, at 4:23 AM, Nils Rüfenacht wrote:

Thanks for your replies.

There's nothing special about my code (I guess), but here it is.


I have a 1 year old iMac 2 Ghz. The indexGenerator(0.08,0.15,30,1000) call takes about 121s in . For comparison I ran the Windows version under Parallels and it also takes about 120s.

I think you have a sick MacBook, look for a benchmarking program (maybe geekBench) and compare against others, or contact your Apple dealer and see what they suggest.

Ken




_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to