[squeak-dev] Squeak 4.1 on Cog (Re: Teleplace Cog VMs are now available)

Alexander Lazarević laza at blobworks.com
Mon Jun 21 08:49:30 UTC 2010

Just for the heck of it:

Squeak = Squeak- 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


PS: Running all tests with the win32 CogVM using wine will produce a fatal
vm crash at some point
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100621/7ce1e943/attachment.htm

More information about the Squeak-dev mailing list