The problem is that this hasn't TOO much sense. I mean, is obvious that there will be a lot of messages not sent. And that's correct. That's the API the core shows to the rest of the world. Why should the core call all those methods too ?
To make this more accurate, maybe we should test the unsent methods of the classes of the core image but in a Dev image for example. Cheers Mariano 2010/2/5 Henrik Johansen <[email protected]> > With test* methods removed, here's the list, as well as # per package. > (2482 total) > > Cheers, > Henry > > Den 05.02.2010 15:18, skrev Henrik Johansen: > > You can now do > > > > findTime := [unsent := SystemNavigation default > > unsentMessagesInPackageNamed: '*'] timeToRun > > > > in the time it used to take for Morphic alone. (about 30 mins) > > That's the entire system btw, 7486 unsents in my core image ;) > > > > Cheers, > > Henry > > > > > > Den 05.02.2010 14:11, skrev Stéphane Ducasse: > > > >> [update 1.1] #11196 > >> 11196 > >> ----- > >> > >> - faster isUnsentMessage: tx Henrik > >> > >> > >> > >> > >> > >> On Feb 5, 2010, at 1:54 PM, Henrik Johansen wrote: > >> > >> > >> > >>> Den 05.02.2010 11:15, skrev Laval Jannik: > >>> > >>> > >>>> Hi all, > >>>> > >>>> I have used SystemNavigation>>unsentMessagesInPackageNamed: > >>>> on the package Morphic. > >>>> > >>>> > >>>> > >>> Wow, I feel your pain, the runtime of that method is quite brutal for > >>> large packages... > >>> > >>> Find attached a somewhat faster (but still slow) implementation. > >>> > >>> Test: > >>> findTime := [unsent := SystemNavigation default > >>> unsentMessagesInPackageNamed: 'Morphic'] timeToRun > >>> > >>> Numbers on my machine: > >>> Current: > >>> findTime - 29 minutes, 35 seconds. > >>> unsent size - 531 > >>> > >>> Attached: > >>> findTime - 3 minutes, 9 seconds. > >>> unsent size - 531 > >>> > >>> Cheers, > >>> Henry > >>> <UnsentTesting.1.cs>_______________________________________________ > >>> Pharo-project mailing list > >>> [email protected] > >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >>> > >>> > >> _______________________________________________ > >> Pharo-project mailing list > >> [email protected] > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >> > >> > >> > >> > > _______________________________________________ > > Pharo-project mailing list > > [email protected] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
