Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Stéphane Ducasse
Thanks for checking that because we should address it. Stef On Sep 9, 2012, at 1:17 PM, Camillo Bruni wrote: > After Igor's remark about the loading speed of configs in 2.0 > I ran twice the same configuration in 1.4 and 2.0 and things load > incredibly slow under 2.0 > > Subjectively it seems

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
Doesn't really matter which config you use: Gofer it squeaksource: 'NativeBoost'; package: 'ConfigurationOfNativeBoost'; load. ConfigurationOfNativeBoost loadDevelopment On 2012-09-09, at 15:27, Mariano Martinez Peck wrote: > Send me the doIt to install your confs and I

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
On 2012-09-09, at 15:25, Mariano Martinez Peck wrote: > On Sun, Sep 9, 2012 at 3:20 PM, Camillo Bruni wrote: > >> >> On 2012-09-09, at 15:16, Mariano Martinez Peck >> wrote: >> >>> allFileNames >>> cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. >>> ^ allFileNames ifNil: [ >>> a

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Mariano Martinez Peck
Send me the doIt to install your confs and I will try to try it. On Sun, Sep 9, 2012 at 3:25 PM, Mariano Martinez Peck wrote: > > > On Sun, Sep 9, 2012 at 3:20 PM, Camillo Bruni wrote: > >> >> On 2012-09-09, at 15:16, Mariano Martinez Peck >> wrote: >> >> > allFileNames >> > cacheFileNames == t

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Mariano Martinez Peck
On Sun, Sep 9, 2012 at 3:20 PM, Camillo Bruni wrote: > > On 2012-09-09, at 15:16, Mariano Martinez Peck > wrote: > > > allFileNames > > cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. > > ^ allFileNames ifNil: [ > > allFileNames := self loadAllFileNames] > > > > > > If you put a halt

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
On 2012-09-09, at 15:16, Mariano Martinez Peck wrote: > allFileNames > cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. > ^ allFileNames ifNil: [ > allFileNames := self loadAllFileNames] > > > If you put a halt in the first if, you will see it stops... > because cacheFileNames is n

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Mariano Martinez Peck
allFileNames cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. ^ allFileNames ifNil: [ allFileNames := self loadAllFileNames] If you put a halt in the first if, you will see it stops... because cacheFileNames is nil. In 1.4 you have: allFileNamesOrCache ^ allFileNames ifNil: [self all

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
On 2012-09-09, at 15:12, Mariano Martinez Peck wrote: > I think instVar cacheFileNames is never initialized and hence, it follows > > cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. where is that? > On Sun, Sep 9, 2012 at 2:35 PM, Camillo Bruni wrote: > >> >> On 2012-09-09, at

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Mariano Martinez Peck
I think instVar cacheFileNames is never initialized and hence, it follows cacheFileNames == true ifFalse: [ ^ self loadAllFileNames ]. On Sun, Sep 9, 2012 at 2:35 PM, Camillo Bruni wrote: > > On 2012-09-09, at 14:24, Mariano Martinez Peck > wrote: > > > I guess you tried both with an empty pac

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
On 2012-09-09, at 14:24, Mariano Martinez Peck wrote: > I guess you tried both with an empty package-cache, right? yes, not much of a diff...

Re: [Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
On 2012-09-09, at 14:14, Mariano Martinez Peck wrote: > I think it has to do with the change in #readableFileNames Indeed it metacello does this big mistake of gathering all the local gofer-references first. But that would mean on an empty package-cache it should load the same way, but even

[Pharo-project] Configuration loading 1.4 vs 2.0

2012-09-09 Thread Camillo Bruni
After Igor's remark about the loading speed of configs in 2.0 I ran twice the same configuration in 1.4 and 2.0 and things load incredibly slow under 2.0 Subjectively it seems that 2.0 spends ages loading Metacello / Gofer stuff. I'll dive a bit into it to see if somethings stands out... The two