[squeak-dev] Re: Re: Loading my monticello package - very slow at end; how to diagnose?

Keith Hodges keith_hodges at yahoo.co.uk
Thu Dec 4 17:04:01 UTC 2008


Sophie (itsme213) wrote:
> "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. 
>   
I wouldnt worry about it... more recent versions of Monticello offer
significant speed ups.

Monticello15 and Monticello16 are available from Universes

Keith




More information about the Squeak-dev mailing list