Skip to content
Prev 5220 / 15075 Next

Old Dell running faster than new MacBook

A 2.6 MacBook Pro, 2G, just to check differences between R and R.app.
Not completely fair, R.app runs in 64 bit, R in Terminal in 32 bit.

Stiil, always interesting to check now and then.

Rob


R.app (64 bit):
=====

 > indexGenerator(0.08,0.15,30,100)
[1] Simulation 1 of 100 done.
[1] Simulation 2 of 100 done.
...
[1] Simulation 99 of 100 done.
[1] Simulation 100 of 100 done.
    user  system elapsed
   8.266   0.216   8.631

(iGen comments out the print statement.)

 > iGen(0.08,0.15,30,100)
    user  system elapsed
   8.219   0.220   8.635
 > iGen(0.08,0.15,30,100)
    user  system elapsed
   8.202   0.227   8.567

 > indexGenerator(0.08,0.15,30,1000)
[1] Simulation 1 of 1000 done.
[1] Simulation 2 of 1000 done.
...
[1] Simulation 999 of 1000 done.
[1] Simulation 1000 of 1000 done.
    user  system elapsed
  83.898   1.443  98.678
 >

(iGen again.)

 > iGen(0.08,0.15,30,1000)
    user  system elapsed
  81.026   1.306  82.828
 > iGen(0.08,0.15,30,1000)
    user  system elapsed
  80.688   1.311  82.535
 >

R in Terminal (32 bit):
===========

 > indexGenerator(0.08, 0.15, 30, 100)
[1] Simulation 1 of 100 done.
[1] Simulation 2 of 100 done.
...
[1] Simulation 99 of 100 done.
[1] Simulation 100 of 100 done.
    user  system elapsed
   9.107   0.099   9.283
 >

 > indexGenerator(0.08, 0.15, 30, 100)
[1] Simulation 1 of 100 done.
[1] Simulation 2 of 100 done.
...
[1] Simulation 999 of 1000 done.
[1] Simulation 1000 of 1000 done.
    user  system elapsed
  91.582   1.199  94.543

 > indexGenerator(0.08, 0.15, 30, 100)
[1] Simulation 1 of 1000 done.
[1] Simulation 2 of 1000 done.
...
[1] Simulation 999 of 1000 done.
[1] Simulation 1000 of 1000 done.
    user  system elapsed
  92.544   3.551 101.139
 >

I did do some other work during this last run in the Terminal.
In fact TimeMachine kicked in and I read some more email.
On Oct 25, 2008, at 11:42 AM, Simon Urbanek wrote:

        
On Oct 25, 2008, at 1:06 PM, Byron Ellis wrote: