performance 3.8 vs. 3.9a

stéphane ducasse ducasse at iam.unibe.ch
Tue Mar 21 07:41:24 UTC 2006


cool

I think that we should learn from this category speedup.

1- It seems to me that lot of the design choices which made absolute  
sense in the early life of Smalltalk
(the way system category,class category for example are managed)  
because running something
on that machines was a real challenge, now should be revised.

2- lot of small changes can make a difference. Incremental process is  
good even if there
is no problem throwing away them when a better solution arrives.

So I encourage everybody to help :)
For example the network seems a bit requiring help
Stef


On 20 mars 06, at 23:56, Marcus Denker wrote:

> Hi,
>
> To me, 3.9a feels a little bit snappier than 3.8... (thanks to a  
> lot of work by a lot
> of people, Eddie Cottongim I think did many of the big-gain  
> changesets).
>
> So here is the benchmark again that opens 5*10 browsers on  
> #abandonSources.
>
> This, of course, is an "apples vs. oranges" benchmark... e.g. there  
> are many more
> systemcategories and classes in 3.9 than in 3.8... and early  
> version don't render
> TrueType fonts for the window title. But in the end, we just want  
> to open
> a Browser, and that should not take a too long.
>
> 3.5     5021.4
> 3.6     5282.2
> 3.7:    8838.4
> 3.8:   12010.8
> 3.9a:   7648.0
>
> (Powerbook 1.5Ghz, all 32bit color, same vm)
>
> So at least, the trend of the "ever slower Squeak" has been stopped.
> 1.57 times faster  then 3.8, faster then 3.7... but slower then 3.6.
> Nevertheless, not too bad, as a start.
>
>       Marcus
>
> Code: (Dan's 10-Browser benchmark):
> ----------------------------------------------------
>
> time _ 0.
> saveMorphs _ self currentWorld submorphs.
> 5 timesRepeat:[
> self currentWorld removeAllMorphs. "heh, heh"
> time _ 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/5 asFloat "print it"




More information about the Squeak-dev mailing list