morphic slowdown
Andreas Raab
Andreas.Raab at gmx.de
Sun May 26 18:16:15 UTC 2002
Karl,
> Here is a simple benchmark:
>
> [1 to: 10 do:[:i| SystemWindow new openInWorld].
> (SystemWindow windowsIn: World satisfying: [:w | w model
> canDiscardEdits])
> do: [:w | w delete]]timeToRun
Interesting benchmark. Looking at it, most of the speed difference
appears to come from a different construction of the later SystemWindows
than the earlier ones. E.g., if you profile the stuff you'll find that a
lot of time is spent in places that actually relate to using alignments
for controlling the title of 3.2/3.3 windows whereas the "older"
versions did the layout manually.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|