[squeak-dev] Re: Re: Loading my monticello package - very slow at
end; how to diagnose?
Sophie (itsme213)
itsme213 at hotmail.com
Thu Dec 4 16:22:19 UTC 2008
"Bert Freudenberg" <bert at freudenbergs.de> wrote
>>> On Thu, Dec 4, 2008 at 3:12 AM, Sophie (itsme213) wrote:
>>>> When I load my monticello package into Damien's 3.10 web image, the
>>>> progress
>>>> bar moves really quickly to about the 99% mark, then pauses there for
>>>> a
>>>> good
>>>> 15 seconds.
>
> Press Alt-. to see what it's doing.
>
It is still showing the "Loading" progress bar, has not yet reached the
"Initializing" progress bar.
A series of Alt-. suggests that that final "Loading" pause is spent in this
kind of stack:
MCPackageLoader>>basicLoad
MethodAddition>>notifyObservers
SystemChangeNotifier>>methodAdded:selector:inProtocol:..
...
PackageInfo>>includesClass:
SystemOrganizer>>listAtCategoryNamed:
Array>>indexOf:ifAbsent:
Perhaps a lot of category searching within a (UI-motivated?) notifyObservers
? Hmmm. Not likely something my code causes.
More information about the Squeak-dev
mailing list
|