[Cuis] Updates: Smart underscores & BouncingAtomsMorph performance

Juan Vuletich juan at jvuletich.org
Mon Aug 17 15:55:36 CDT 2015


On 8/16/2015 3:44 PM, Phil (list) wrote:
> On Sun, 2015-08-16 at 12:08 -0300, Juan Vuletich wrote:
>> Hi Folks,
>>
>> Yesterday and today I pushed new stuff to github. See the attach. Cuis
>> can now display both underscores and left arrows in the same method!
>>
>> I also could not help it and worked on BouncingAtomsMorph performance.
>> It should be close to Squeak now.
> It's definitely improved BouncingAtomsMorph (I'm seeing at least 13-17
> FPS now.. I say 'at least' because from time to time it jumps up to the
> low 20's).  But more importantly (to me, at least) at first glance it
> looks like these changes provide an across the board performance boost
> to my other Morphic code. (most of my stuff doesn't have FPS counters
> but in looking at Morphic CPU utilization in ProcessBrowser, it's almost
> always 5-10% lower now)
>

Yes, that sounds reasonable. Most of the code I optimized is quite 
general. This example was useful, because it was concrete enough to run 
the profiler and get consistent results. It is quite easy to optimize 
code if you know _where_ is the problem!

Cheers,
Juan Vuletich




More information about the Cuis mailing list