I think that this is a good idea to see how such parts of Ssqueak/ pharo can be improved in the future.
On Apr 30, 2009, at 4:15 PM, Igor Stasenko wrote: > A quick comparion for Delays: > > delay := Delay forMilliseconds: 1. > bag := Bag new. > 1000 timesRepeat:[bag add: [delay wait] timeToRun]. > bag sortedCounts > > on my 4-core box it yields: > > - with AdvancedProcessorScheduler install > a SortedCollection(951->2 49->1) > > - with Processor fallbackToOldScheduler > a SortedCollection(953->2 47->1) > > - with old VM > a SortedCollection(952->2 47->1 1->3) > > not much overhead huh? :) > > But Delay's code now can be refactored, which will simplify it > seriously, because it could run in interrupt process and take no care > for concurrency issues. > > > > 2009/4/30 Igor Stasenko <[email protected]>: >> i added a new changeset in mantis which deals with callbackEnter: >> code. >> Unfortunately, a callback handling , to work correctly needs an >> image-side changes as well. >> >> P.S. Having fun to watch how scheduler handling signals, by >> inspecting >> Process and selecting its 'signals' ivar :) >> >> -- >> Best regards, >> Igor Stasenko AKA sig. >> > > > > -- > Best regards, > Igor Stasenko AKA sig. > > _______________________________________________ > 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
