Win32 VM, UI Performance & Morphic

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Tue Sep 14 09:29:36 UTC 1999


On Mon, 13 Sep 1999 Dean_Swan at Mitel.COM wrote:

> 
>      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





More information about the Squeak-dev mailing list