[BUG] why is frame rate in 3.2.5 slower?

John M McIntosh johnmci at smalltalkconsulting.com
Wed Mar 13 22:13:07 UTC 2002


Some numbers on the mac. If we thunk the interuptCheckCounter back to 
zero every 1 or 2 ms?

>Every 1ms
>a SortedCollection(882->1 115->2 3->3)

41967213 bytecodes/sec; 1384425 sends/sec
42022324 bytecodes/sec; 1383274 sends/sec
42160737 bytecodes/sec; 1384425 sends/sec
42160737 bytecodes/sec; 1397211 sends/sec
42049934 bytecodes/sec; 1398385 sends/sec
41830065 bytecodes/sec; 1398385 sends/sec
41504539 bytecodes/sec; 1398385 sends/sec
41423948 bytecodes/sec; 1397211 sends/sec
42188529 bytecodes/sec; 1398385 sends/sec
42188529 bytecodes/sec; 1398385 sends/sec

>
>If I do it every 2 ms
>
>a SortedCollection(771->2 123->1 99->3 6->4 1->6)
>
or a SortedCollection(738->2 139->1 116->3 5->4 1->6 1->7)

37457270 bytecodes/sec; 1442009 sends/sec
44016506 bytecodes/sec; 1440761 sends/sec
43537414 bytecodes/sec; 1440761 sends/sec
43478260 bytecodes/sec; 1435788 sends/sec
43895747 bytecodes/sec; 1425946 sends/sec
43986254 bytecodes/sec; 1440761 sends/sec
43925875 bytecodes/sec; 1365118 sends/sec
44077134 bytecodes/sec; 1442009 sends/sec
44077134 bytecodes/sec; 1439514 sends/sec
43656207 bytecodes/sec; 1413830 sends/sec

So doing 1ms accuracy takes a 3% hit in sends/sec. Is it worth the cost?

versus of course what I get now with no thunking but lousy delay accuracy
SortedCollection(635->16 182->15 171->17 4->14 2->18 1->2 1->4 1->6 
1->31 1->10 1->11) (16ms clustering bugs me to no end..)
which zap 3% or so but then clusters delays down to 2ms.

45293701 bytecodes/sec; 1453344 sends/sec
45878136 bytecodes/sec; 1473940 sends/sec
45584045 bytecodes/sec; 1471334 sends/sec
45714285 bytecodes/sec; 1473940 sends/sec
45390070 bytecodes/sec; 1476556 sends/sec
45551601 bytecodes/sec; 1455887 sends/sec
45714285 bytecodes/sec; 1475247 sends/sec
45325779 bytecodes/sec; 1463569 sends/sec
45551601 bytecodes/sec; 1453344 sends/sec
46142754 bytecodes/sec; 1475247 sends/sec

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



More information about the Squeak-dev mailing list