[squeak-dev] Cog VM Performance

Herbert König herbertkoenig at gmx.net
Fri Sep 27 10:26:32 UTC 2013


Hi Folks,

I'm doing some simulation in Squeak 3.8 and as some tests ran over two 
minutes I decided to try a more recent image with cog vm.

To my surprise 4.4 took around 5 times as long as 3.8. I believe I do 
nothing out of the ordinary here. Time is spent in:
24% SmallInteger>>negative; 22% SmallInteger>>bitShift: (I don't use 
bitShift: explicitly) and 20% Array>> collect:

Which image and VM should I use to verify this before sending the 
complete message tallies?

Cheers

Herbert

I used the following recent image / vm:
Image
-----
C:\daten\Squeak\4_4Dev\Squeak4.4-DCSE.image
Squeak4.4
latest update: #12333
Current Change Set: Knacken mit APX
Image format 6505 (32 bit)

Virtual Machine
---------------
C:\daten\Squeak\4_4Dev\Squeak.exe
Croquet Closure Cog VM [CoInterpreter VMMaker.oscog-eem.302]
Win32 built on Jul 15 2013 15:35:13 Compiler: 3.4.4 (cygming special, 
gdc 0.12, using dmd 0.125)
platform sources revision VM: r2749 
http://www.squeakvm.org/svn/squeak/branches/Cog Plugins: r2545 
http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
CoInterpreter VMMaker.oscog-eem.302 uuid: 
2ac39432-ac54-4584-964e-b129c90792f4 Jul 15 2013
StackToRegisterMappingCogit VMMaker.oscog-eem.302 uuid: 
2ac39432-ac54-4584-964e-b129c90792f4 Jul 15 2013


More information about the Squeak-dev mailing list