On Sun, 26 Sep 2010, Mariano Martinez Peck wrote:
Hi. I am loading OCompletion in PharoCore 1.1 while building the Dev image.
If I just take a core image, load OCompletion and run tests, they take a lot
of time, not acceptable.
7-8 seconds in Squeak using Cog.
Now....if I build a Dev image (with OB, RB, etc) and at the end I try to run
OCompletion tests, the tests takes HOURS. The image seems frozen, but
actually is working. If I interrupt I see the problem is in
ECUntypedModel >> initializeSelectors
the part of
[ Smalltalk environment keysDo:
[ :each |
selectors add: (ECGlobalEntry
contents: each
type: #globalVar) ].
takes a lot of time
I know I'm saying this all the time, but it's true: SortedCollection is
not suitable for this usage.
Levente
and it seems related to "ECPreferences caseSensitive" and "ECUntypedModel
resetSelectors"
I don't know what else to say. To reproduce, take a PharoCore 1.1 and
evaluate:
Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfOCompletion';
load.
(ConfigurationOfOCompletion project version: '1.2') load: 'Core Tests'
Then, run all the tests inside OCompletionTests. You will see that after
running some threads....it will look like frozen. There, do an interrupt and
analize.
IF you do that for a Dev image, it takes muuuuch more. I guess this is
because "Smalltalk environment keys" will have muuuuuch more elements than a
simple core.
Anyway, help is appreciated.
Cheers
Mariano
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project