Ratio Compiling/Classifying methods

Alexandre Bergel bergel at iam.unibe.ch
Mon Apr 26 10:29:13 UTC 2004


SystemChangeNotifier uniqueInstance doSilently: [ yourcode ]

But I suspect this is not related to monticello the overhead to classify methods...
Alexandre


On Sun, Apr 25, 2004 at 04:59:38PM -0700, Avi Bryant wrote:
> 
> On Apr 25, 2004, at 11:06 AM, Ned Konz wrote:
> 
> >On Sunday 25 April 2004 4:41 am, Alexandre Bergel wrote:
> >>t1 := Time millisecondsToRun: [1 to: 600 do: [:i| Object compile: 
> >>'bar', i
> >>printString, ' 1 + 2 + 3 + 4 + 5. ^ 100 factorial']]. Transcript show:
> >>'Time to compile 600 methods: ', t1 printString; cr.
> >
> >Time to compile 600 methods: 48622
> >Time to classify 600 methods: 270
> >
> >It looks like you could save 80% of the time by not having Monticello 
> >loaded.
> 
> Is there a way to suppress SystemChangeNotifications during the 
> evaluation of a block?
> 
> Avi
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list