[squeak-dev] Why is the squeak gui slow? New clues.

Chris Muller asqueaker at gmail.com
Tue Feb 16 23:05:24 UTC 2010


Jerome, I have experienced very similar symptoms in a Maui application
more than once.  My memory on this is vague, but I think the desktop
profile did show a ton of time being spent in TTFont rendering..  I
had been doing heavy development so I figured I goofed something up in
my image.

Another time it happened, I think the desktop profile showed a lot of
time in the finalization process..  Do you think that is a possibility
in your case?  Did you happen to capture a profile stack?


On Tue, Feb 16, 2010 at 12:38 PM, Jerome Peace
<peace_the_dreamer at yahoo.com> wrote:
> Most of the time squeak is fast enough. Every so often the gui slows down to a crawl. The user moves the mouse around and the gui will not respond the way it did a moment ago. Movements feel spastic. The user overshoots the mark, moves back, over shoots again. Gradually learning to pause ...a...long...time...between...very...small...movements.
>
> I was recently trying to program some improvements and did something I think sheds a light on the reason.
>
> I was fooling with the handles for a star morph. There are only 6 of them. Currently they all are individual submorphs of the star itself. However it seemed it would simplify things if there was only one handle. The center handle would make a good holder for the other five.
>
> When I finally got that working I ran into the problem that I mentioned in the first paragraph. The mouse gui became extremely retarded (in the time sense). This is consistent with what happens if you should run a mouse over true type fonts or flash morphs. The event processing slows down till it is painful to adjust to.
>
> My previous thought was that only massive pixel processing (large amount of screen updates) would cause a gui slowdown. Now however I am beginning to realize that event dispatch must be a prime suspect as well.
>
> That's all the info I have at the moment. I pass this along incase someone has some confirming or alternate information.
>
> Yours in curiosity and service, --Jerome Peace
>
>
>
>
>



More information about the Squeak-dev mailing list