Morphic slowness (was Re: Does *anyone* use MVC?)

Tim Rowledge tim at sumeru.stanford.edu
Wed Aug 7 23:30:01 UTC 2002


Dan Ingalls <Dan at SqueakLand.org> is claimed by the authorities to have written:

> -------------
> saveMorphs _ self currentWorld submorphs.
> self currentWorld removeAllMorphs.  "heh, heh"
> time _ Time millisecondsToRun:
> 	[1 to: 10 do: [:i | Browser fullOnClass: SystemDictionary selector: #abandonSources].
> 	self currentWorld submorphs do:
> 		[:m | m delete. self currentWorld doOneCycle]].
> self currentWorld addAllMorphs: saveMorphs.
> time
> -------------
> 
> In 3.3 this runs in 16-17 seconds on my machine.
For me, 177......
> In 2.8 the time is 5.2-6.2 seconds on the same machine.

> Then I turned off the optionalButtons feature for the browsers.  Ahah:
> 	11-12 seconds
100 :-(

Still, it does mean my Acorn is a great target for profiling because
you'll ten times as many hits :-)

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: CPP: Crush Plotter Pen




More information about the Squeak-dev mailing list