newbie. morphic is sluggish on my PC

Bob Arning arning at charm.net
Sun Jan 28 18:10:00 UTC 2001


On Sun, 28 Jan 2001 12:32:55 -0500 "Pennell, David" <DPennell at quallaby.com> wrote:
>Ah, very nice...
>
>Looks like a lot of time spent in an expensive primitive...

David,

In your MessageTally,

 - 741 tallies, 18247 msec.

**Tree**
99.9% {18229ms} DisplayScreen>>doOneCycleMorphic
  99.5% {18156ms} PasteUpMorph>>doOneCycle
    99.3% {18119ms} WorldState>>doOneCycleFor:
      66.7% {12171ms} WorldState>>interCyclePause:
        |66.3% {12098ms} Delay>>wait
        |  66.1% {12061ms} primitives
      28.6% {5219ms} WorldState>>doOneCycleNowFor:
        |19.3% {3522ms} HandMorph>>processEvents
        |  |18.1% {3303ms} MouseOverHandler>>processMouseOver:
...

the 

      66.7% {12171ms} WorldState>>interCyclePause:
        |66.3% {12098ms} Delay>>wait
        |  66.1% {12061ms} primitives

indicates you are giving up control to the OS about 66% of the time (or Squeak is using 34%, conversely).

Using 2.9a on a Mac, I see

 - 669 tallies, 13004 msec.

**Tree**
100.0% {13004ms} DisplayScreen>>doOneCycleMorphic
  100.0% {13004ms} PasteUpMorph>>doOneCycle
    100.0% {13004ms} WorldState>>doOneCycleFor:
      99.7% {12965ms} WorldState>>interCyclePause:
        99.7% {12965ms} Delay>>wait

**Leaves**
99.7% {12965ms} Delay>>wait

which indicates Squeak is essentially giving up complete control to the OS. The difference between mine and yours is that yours has

      28.6% {5219ms} WorldState>>doOneCycleNowFor:
        |19.3% {3522ms} HandMorph>>processEvents
        |  |18.1% {3303ms} MouseOverHandler>>processMouseOver:

so, the next questions are:

- What does the morphic world contain, and
- Where was the mouse, relative to the stuff in the world, while the MessageTally was running?

Cheers,
Bob





More information about the Squeak-dev mailing list