performance 3.8 vs. 3.9a

Marcus Denker denker at iam.unibe.ch
Mon Mar 20 22:56:55 UTC 2006


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