Re: Squeak 4.1 on Cog (Re: Teleplace Cog VMs are now available)
Posted by laza on Jun 21, 2010; 8:49am
URL: https://forum.world.st/Teleplace-Cog-VMs-are-now-available-tp2261896p2262318.html
Just for the heck of it:
Squeak = Squeak-4.0.3.2202-linux_i386 on Ubuntu 10.4
CogVM = wine and win32 CogVM on Ubuntu 10.4 same image, same system
[Smalltalk browseAllCallsOn: #do:] timeToRun.
Squeak: 1984
CogVM: 877
[Morph methodsDo:[:meth| meth decompileString]] timeToRun.
Squeak: 1206
CogVM: 580
Examples of I/O heavy stuff:
[Morph compileAll] timeToRun.
Squeak: 3289
CogVM: 3076
[saveMorphs := World submorphs.
World removeAllMorphs."heh, heh"
time := [1 to: 10 do: [:i |
Browser fullOnClass: SystemDictionary selector: #macroBenchmarks].
World submorphs do: [:m | m delete. self currentWorld doOneCycle].
] timeToRun ] ensure:[World addAllMorphs: saveMorphs].
Squeak: 6586
CogVM: 5743
Alex
PS: Running all tests with the win32 CogVM using wine will produce a fatal vm crash at some point