Win32 VM, UI Performance & Morphic

Dean_Swan at Mitel.COM Dean_Swan at Mitel.COM
Tue Sep 14 15:59:26 UTC 1999



From:  Dean Swan at MITEL on 09/14/99 11:59 AM

>>
>>      MessageTally time:
>>      [
>>        1 to: 1000 do:
>>        [ :x | Sensor mousePoint ]
>>      ].
>>
>> returned results on 4 consecutive runs of:
>>
>>      Casio E-105, 2.5 img, 2.4c VM       43485, 23890, 24575, 33320
>>
>>      PII/450, NT Ws4.0 SP 4              5028, 5028, 5027, 5028
>>        2.5 img, 2.5 VM
>>
>> Interestingly, I ran this code on my wife's G3/333 iMac with
>>  2.4c img & VM, but did '1 to: 1000000 do:' instead of '1 to: 1000 do:'
>> and it returned 7263 !!!
>
>Try running this again with "Reduce CPU usage" off. The Windows VM waits
>up to 5 ms in the ioMousePoint primitive if there is no mouse event
>queued. For comparison, a PII/400 with Linux runs the '1 to: 1000000' loop
>in 2500 ms.
>
>  /bert

Bert,

     Thanks.  On the my PII/450 this did, indeed, make a huge difference.
The '1 to: 1000000' loop takes about 3800 ms, which is much better. However,
for the WinCE VM, (as far as I know,) there is no way to change the
VM preferences.

     This leads me to the question: "Does having 'Reduce CPU usage' turned
on significantly impact operation in Morphic projects?"


                                   -Dean Swan
                                   dean_swan at mitel.com





More information about the Squeak-dev mailing list