[squeak-dev] Cog VM Performance

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Sep 27 11:06:33 UTC 2013


Hi Herbert,
you can send the tally or a code snippet if you can isolate the Pb.
Something that is less efficient in 4.x trunk image (but correct) is
printing Float.
This is because we now print the minimal decimal representation that can be
re-interpreted unchanged, while we formerly printed an approximate decimal
representation that would not - several different Float did have the same
printString.
Otherwise, there can be some other change...
Also you'd better use the advanced tally from Andreas Raab if you are using
COG, because it's more accurate
(I do not remember the details, where to find it, etc...).


2013/9/27 Herbert König <herbertkoenig at gmx.net>

> 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 <http://www.squeakvm.org/svn/squeak/branches/Cog>Plugins: r2545
> http://squeakvm.org/svn/**squeak/trunk/platforms/Cross/**plugins<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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130927/3cbbe02d/attachment.htm


More information about the Squeak-dev mailing list