[BUG] why is frame rate in 3.2.5 slower?

Marcel Weiher marcel at metaobject.com
Tue Mar 12 00:29:07 UTC 2002


On Monday, March 11, 2002, at 01:08 PM, Andreas Raab wrote:

> I noticed that even after fixing the raw timer accuracy, the second one
> still lagged. The solution I found was to use an OS timer callback which
> had to reset the interruptCheckCounter in order to force a check for
> pending delay timeouts. This slightly decreases general performance
> (since you're checking 1000 times/sec) but it was less then 1% and gives
> very exact results. It turns out that after these changes I was able to
> _drastically_ reduce the sound player's buffer size without noticable
> distortion.

Very interesting!  Could this also be responsible for delays in 
asynchronous event handling (via the semaphore etc.)?


Thanks,

Marcel
--
Marcel Weiher				Metaobject Software Technologies
marcel at metaobject.com		www.metaobject.com
Metaprogramming for the Graphic Arts.   HOM, IDEAs, MetaAd etc.




More information about the Squeak-dev mailing list