On Mon, Apr 5, 2010 at 11:56 AM, Hilaire Fernandes <hilaire.fernandes@gmail.com> wrote:
With gawk

gawk, -O2
195121951 bytecodes/sec; 6490934 sends/sec
195569136 bytecodes/sec; 6526995 sends/sec
195569136 bytecodes/sec; 6533044 sends/sec
196168582 bytecodes/sec; 6496917 sends/sec
194086429 bytecodes/sec; 6508915 sends/sec


What this latest change to the source code of the VM ?

Hi Hilaire,

this is the revision 2151 of squeak-vm (as described in Adrian's post: http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles)

The 2 patch I've applied:
- http://lolgzs.free.fr/pharo/ft2plugin.patch�� which makes build of FT2Plugin works
- http://lolgzs.free.fr/pharo/CFLAGS.patch which resolve multiple CFLAGS options to work

Then I take a Pharo Core 1.0 image, load VMMaker in:

Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfVMMaker';
load.

(Smalltalk at:#ConfigurationOfVMMaker) project lastVersion load.

Correct header in�� FTPlugin class>>declareCVarsIn: cg
...
cg addHeaderFile: '<freetype/tttables.h>'.
��...

All plugins but UUID external (if UUID external, my VM crashes, so I put it internal and it works).

Then apply the procedure http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html (I will write an update)

Laurent Laffont


Hilaire

laurent laffont a ��crit :
Thanks a lot Hilaire. And if you still have some courage :) here's one with awk gnuification. (You need to have gawk package installed:
On Sun, Apr 4, 2010 at 7:57 PM, Hilaire Fernandes <hilaire.fernandes@gmail.com <mailto:hilaire.fernandes@gmail.com>> wrote:

�� ��Here are my numbers

�� ��Hilaire

�� ��-O1
�� ��82527401 bytecodes/sec; 4334942 sends/sec
�� ��82580645 bytecodes/sec; 4326332 sends/sec
�� ��82633957 bytecodes/sec; 4334942 sends/sec
�� ��82156611 bytecodes/sec; 4330633 sends/sec
�� ��81841432 bytecodes/sec; 4352264 sends/sec

�� ��-O2

�� ��87372013 bytecodes/sec; 4436220 sends/sec
�� ��86544962 bytecodes/sec; 4501376 sends/sec
�� ��86253369 bytecodes/sec; 4507132 sends/sec
�� ��86253369 bytecodes/sec; 4487049 sends/sec
�� ��87372013 bytecodes/sec; 4498503 sends/sec

�� ��-O3
�� ��80655324 bytecodes/sec; 4300707 sends/sec
�� ��80250783 bytecodes/sec; 4304957 sends/sec
�� ��80050031 bytecodes/sec; 4279584 sends/sec
�� ��80351537 bytecodes/sec; 4292233 sends/sec
�� ��80452545 bytecodes/sec; 4304957 sends/sec

�� ��-O2; gnuified
�� ��118738404 bytecodes/sec; 5217731 sends/sec
�� ��118959107 bytecodes/sec; 5210018 sends/sec
�� ��118959107 bytecodes/sec; 5202328 sends/sec
�� ��118299445 bytecodes/sec; 5213872 sends/sec
�� ��118848653 bytecodes/sec; 5198491 sends/sec

�� ��Exupery
�� ��201099764 bytecodes/sec; 5840227 sends/sec
�� ��201099764 bytecodes/sec; 5903814 sends/sec
�� ��200469851 bytecodes/sec; 5908763 sends/sec
�� ��200784313 bytecodes/sec; 5879195 sends/sec
�� ��201416207 bytecodes/sec; 5898874 sends/sec


�� ��laurent laffont a ��crit :

�� �� �� ��Thanks Hilaire.

�� �� �� ��Could you try with this source ? It has gnuification (using
�� �� �� ��Gnuified.st). On my machine it's a little slower but may be it
�� �� �� ��makes a big difference on yours.
�� �� �� ��On my machine, I have almost the same result with Exupery and
�� �� �� ��Squeak VM :(
�� �� �� ��wget
�� �� �� ��http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-gnuified-src.tar.gz


�� �� �� ��Laurent Laffont


�� �� �� ��On Sat, Apr 3, 2010 at 10:19 PM, Hilaire Fernandes
�� �� �� ��<hilaire.fernandes@gmail.com
�� �� �� ��<mailto:hilaire.fernandes@gmail.com>
�� �� �� ��<mailto:hilaire.fernandes@gmail.com
�� �� �� ��<mailto:hilaire.fernandes@gmail.com>>>
�� �� �� ��wrote:

�� �� �� �� �� Laurent,

�� �� �� �� �� I runned the same benchmark with Exupery, here is

�� �� �� �� �� Exupery
�� �� �� �� �� 202371541 bytecodes/sec; 5948654 sends/sec
�� �� �� �� �� 201574803 bytecodes/sec; 5948654 sends/sec
�� �� �� �� �� 201416207 bytecodes/sec; 5933632 sends/sec
�� �� �� �� �� 202531645 bytecodes/sec; 5903814 sends/sec
�� �� �� �� �� 201892744 bytecodes/sec; 5938631 sends/sec


�� �� �� �� �� -O2 (compiled source code from the archive you provided)
�� �� �� �� �� 87372013 bytecodes/sec; 4436220 sends/sec
�� �� �� �� �� 86544962 bytecodes/sec; 4501376 sends/sec
�� �� �� �� �� 86253369 bytecodes/sec; 4507132 sends/sec
�� �� �� �� �� 86253369 bytecodes/sec; 4487049 sends/sec
�� �� �� �� �� 87372013 bytecodes/sec; 4498503 sends/sec

�� �� �� �� �� You better check with Bryce.


�� �� �� �� �� Hilaire


�� �� �� �� �� _______________________________________________
�� �� �� �� �� Pharo-project mailing list
�� �� �� �� �� �� �� �� ��Pharo-project@lists.gforge.inria.fr
�� �� �� ��<mailto:Pharo-project@lists.gforge.inria.fr>
�� �� �� �� �� �� �� �� ��<mailto:Pharo-project@lists.gforge.inria.fr
�� �� �� ��<mailto:Pharo-project@lists.gforge.inria.fr>>

�� �� �� �� �� �� �� �� ��http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



�� �� �� ��------------------------------------------------------------------------


�� �� �� ��_______________________________________________
�� �� �� ��Pharo-project mailing list
�� �� �� ��Pharo-project@lists.gforge.inria.fr
�� �� �� ��<mailto:Pharo-project@lists.gforge.inria.fr>
�� �� �� ��http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



�� ��_______________________________________________
�� ��Pharo-project mailing list
�� ��Pharo-project@lists.gforge.inria.fr
�� ��<mailto:Pharo-project@lists.gforge.inria.fr>
�� ��http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



------------------------------------------------------------------------

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project