Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-26 Thread Guille Polito
Hi, Steph, the image logic also has changed in Pharo. There should not be any difference (at least from the list that Eliot gave). Guille Original Message Wow, thanks for the detailed explanation! Cheers, Bernhard Am 21.04.2016 um 16:48 schrieb Eliot Miranda

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-23 Thread Bernhard Pieber
Wow, thanks for the detailed explanation! Cheers, Bernhard > Am 21.04.2016 um 16:48 schrieb Eliot Miranda : > > Hi Bernhard, > >> On Apr 20, 2016, at 9:56 PM, Bernhard Pieber wrote: >> >> Hi Eliot, >> >> Right, but in the latest Squeak5.1-trunk

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-21 Thread Eliot Miranda
On Thu, Apr 21, 2016 at 1:24 PM, stepharo wrote: > Hi eliot > > do you imply that the logic at the level of the image changed in squeak. > Because Pharo50 is also running Spur on a CogSpur Vm? > The only logic that chanes at the image level is - no more compact classes, so

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-21 Thread stepharo
Hi eliot do you imply that the logic at the level of the image changed in squeak. Because Pharo50 is also running Spur on a CogSpur Vm? Stef Le 21/4/16 16:48, Eliot Miranda a écrit : Hi Bernhard, On Apr 20, 2016, at 9:56 PM, Bernhard Pieber wrote: Hi Eliot, Right,

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-21 Thread Eliot Miranda
Hi Bernhard, > On Apr 20, 2016, at 9:56 PM, Bernhard Pieber wrote: > > Hi Eliot, > > Right, but in the latest Squeak5.1-trunk with the latest CogSpur.r3663.app it > takes only 3 milliseconds. I guess it’s just an optimized implementation, > there. (Can’t look right now.)

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-21 Thread stepharo
If you know the answer I would like to know it too. Le 21/4/16 06:56, Bernhard Pieber a écrit : Hi Eliot, Right, but in the latest Squeak5.1-trunk with the latest CogSpur.r3663.app it takes only 3 milliseconds. I guess it’s just an optimized implementation, there. (Can’t look right now.)

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Bernhard Pieber
Hi Eliot, Right, but in the latest Squeak5.1-trunk with the latest CogSpur.r3663.app it takes only 3 milliseconds. I guess it’s just an optimized implementation, there. (Can’t look right now.) Cheers, Bernhard > Am 20.04.2016 um 17:43 schrieb Eliot Miranda : > > Hi

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Eliot Miranda
Hi Denis, On Wed, Apr 20, 2016 at 9:15 AM, Denis Kudriashov wrote: > > 2016-04-20 17:47 GMT+02:00 Eliot Miranda : > >> Hi Pavel, >> >> On Apr 20, 2016, at 6:54 AM, Pavel Krivanek >> wrote: >> >> That is not real amount of

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Denis Kudriashov
2016-04-20 17:47 GMT+02:00 Eliot Miranda : > Hi Pavel, > > On Apr 20, 2016, at 6:54 AM, Pavel Krivanek > wrote: > > That is not real amount of objects in the object memory: > > count := 0. > object := 0 someObject. > [object == 0] whileFalse: [

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Eliot Miranda
Hi Bernhard, > On Apr 20, 2016, at 5:26 AM, Bernhard Pieber wrote: > > Dear Pharoers, > > I found something strange: > Time millisecondsToRun: [ Class allSubInstances size ]. „23617" Because it does an allInstances for Class and all its subclasses, and allInstances

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Eliot Miranda
Hi Pavel, > On Apr 20, 2016, at 6:54 AM, Pavel Krivanek wrote: > > That is not real amount of objects in the object memory: > > count := 0. > object := 0 someObject. > [object == 0] whileFalse: [ > count := count + 1. > object := object nextObject ]. > count.

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Ben Coman
On Wed, Apr 20, 2016 at 9:18 PM, Denis Kudriashov wrote: > And here other interesting results: > > Class allSubInstances size. > "5636" * 2 = 11272 > Object allSubclasses size > "11267" > > What they are not almost equal? Strange that its out by a factor of two. Its

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Pavel Krivanek
That is not real amount of objects in the object memory: count := 0. object := 0 someObject. [object == 0] whileFalse: [ count := count + 1. object := object nextObject ]. count. "->724653" 2016-04-20 15:18 GMT+02:00 Denis Kudriashov : > And here other interesting

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Denis Kudriashov
And here other interesting results: Class allSubInstances size. "5636" Object allSubclasses size "11267" What they are not almost equal? 2016-04-20 14:54 GMT+02:00 Pavel Krivanek : > Interesting. It takes very high amount of time on Pharo 2.0 too. > > -- Pavel > >

Re: [Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Pavel Krivanek
Interesting. It takes very high amount of time on Pharo 2.0 too. -- Pavel 2016-04-20 14:26 GMT+02:00 Bernhard Pieber : > Dear Pharoers, > > I found something strange: > Time millisecondsToRun: [ Class allSubInstances size ]. „23617" > > I did this on a new Pharo 5 image >

[Pharo-dev] Class allSubInstances size takes 23 seconds to run on Pharo 5 on OS X

2016-04-20 Thread Bernhard Pieber
Dear Pharoers, I found something strange: Time millisecondsToRun: [ Class allSubInstances size ]. „23617" I did this on a new Pharo 5 image curl get.pharo.org/alpha+vmLatest | bash Can somebody confirm this on their machine? What might be the reason? Cheers, Bernhard