Higher performance?

John M McIntosh johnmci at smalltalkconsulting.com
Sat Dec 23 07:52:10 UTC 2006


If I recall the Morphic polling event loop tries to poll only once  
every 50 ms or is that 60ms. So it's poll for event, tick all the  
morphic creatures, look at the clock and sleep to ensure we do this  
task only once every 20 ms or 16ms? That would give a frame rate of  
50 or 50 fps.

An old bug (perhaps it's back or the fix never gotten in, etc) was  
that it would not consider the time need to tick all morphic  
creatures so the frame rate would be like 40.

Choosing higher performance removes the sleep then you might get 300  
fps.

Older macintosh also suffered from slumberland when on battery and we  
had a preference to prevent
napping.

http://wiki.squeak.org/squeak/160

Support for that feature was removed a few years back when Apple  
obsolete the api's and under os-x napping
is much more uniform anyway.


On Dec 22, 2006, at 7:14 PM, Todd Blanchard wrote:

> Found a preference 'Higher Performance'.
>
> Sounds great, I love performance - what does it do?
>

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





More information about the Squeak-dev mailing list