Considering moving to Mac - questions about Squeak on Mac

John M McIntosh johnmci at smalltalkconsulting.com
Wed Jan 9 03:41:57 UTC 2008


Well some other squeaker will need to come to the rescue.
In check on my 2.33 Ghz intel core 2 duo
I download the 3.9.x windows squeak zip file
with the included image/change files using a mac carbon vm 3.8.12b1U I  
see

10 timesRepeat: [Transcript show: 1 tinyBenchmarks;cr]

525667351 bytecodes/sec; 11754731 sends/sec
523785166 bytecodes/sec; 12165411 sends/sec
522982635 bytecodes/sec; 11845268 sends/sec
525937339 bytecodes/sec; 12254268 sends/sec
524859046 bytecodes/sec; 12278728 sends/sec
526748971 bytecodes/sec; 11860494 sends/sec
523249872 bytecodes/sec; 11860494 sends/sec
524859046 bytecodes/sec; 12125446 sends/sec
525397639 bytecodes/sec; 11665568 sends/sec
526,478,149 bytecodes/sec; 12,385,858 sends/sec


However if I run that under Parallels (current version) using a dusty  
copy of windows 2000 and the 3.9.x VM in the downloaded zip
I get the data below but it's wrong since I noticed on my mac the doit  
takes under a minute to run, but the doit on windows takes
*many* minutes to run, which points to some issue with timing/clock  
interaction which like affects the numbers below.

3,782,086,795 bytecodes/sec; 79,604,764 sends/sec
3526474386 bytecodes/sec; 91001417 sends/sec
2552024922 bytecodes/sec; 88579811 sends/sec
3255961844 bytecodes/sec; 101031925 sends/sec
3212549019 bytecodes/sec; 106654275 sends/sec
3637655417 bytecodes/sec; 71590052 sends/sec
3480033984 bytecodes/sec; 106834434 sends/sec
3599297012 bytecodes/sec; 94186128 sends/sec
3305891848 bytecodes/sec; 108950879 sends/sec
2215251487 bytecodes/sec; 114576060 sends/sec


Likely you need some who has bootcamp that can boot mac or xp/vista  
and see what the numbers are.

On Jan 8, 2008, at 1:40 PM, Andreas Raab wrote:

> John M McIntosh wrote:
>> On Jan 8, 2008, at 12:10 PM, Tom Phoenix wrote:
>>> On Jan 8, 2008 5:18 AM, itsme213 <itsme213 at hotmail.com> wrote:
>>>
>>>> How does the Squeak on Mac experience compare to Windows?
>> I *believe* the current carbon vm runs faster because I can abuse  
>> compiler optimizations which aren't perhaps exploited on
>> the windows compile because the windows vm has concerns about  
>> running on 50 types of intel/amd processors, where as on the
>> mac the number of intel chip sets used is *much* smaller.
>
> Can you post some benchmarks comparing the Mac VM vs. the Windows VM  
> (under Parallels or Bootcamp) on the same box? I'd be interested to  
> see the results.
>
> Cheers,
>  - Andreas

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Squeak-dev mailing list