This is the fully threaded CPU benchmark that I posted a while ago. I let Xcode optimize it this time and it includes the high-resolution timers, automatic CPU speed and bus detection, and an increase in loops to do 200 million factorials by default. It is a Universal Binary.
With the new iMacs out and the new MacBook Pros, it's time to see how they measure up. Also people with 3gHz Mac Pros can weigh in.
Download the folder, unzip it, and then double-click the "factorialBench" executable.
It will open Terminal and run.
By default, it will generate the number of threads that equals the number of cores in the machine on which it is running, and 200 million loops. To use different numbers, run it in Terminal by writing
./factorialBench c i
where c is the number of threads you want, and i is the number of iterations you want. For example to do 2 threads calculating 500 million loops, write
./factorialBench 2 500000000
Don't exceed 4 billion though. It's not 64-bit.
With the new iMacs out and the new MacBook Pros, it's time to see how they measure up. Also people with 3gHz Mac Pros can weigh in.
Download the folder, unzip it, and then double-click the "factorialBench" executable.
It will open Terminal and run.
By default, it will generate the number of threads that equals the number of cores in the machine on which it is running, and 200 million loops. To use different numbers, run it in Terminal by writing
./factorialBench c i
where c is the number of threads you want, and i is the number of iterations you want. For example to do 2 threads calculating 500 million loops, write
./factorialBench 2 500000000
Don't exceed 4 billion though. It's not 64-bit.
factorialBench.zip 8.51171875k . file
--Johnny
--Johnny













