2010/3/27 laurent laffont <laurent.laff...@gmail.com>

> OK, I've tried the Smalltalk one...
>
> With rev 2151 gnuification (awk) is done as I have gnu-interp.c
> and gnu-interp.c.log in my build directory.
>
> Benchmark gives me:
>
> Squeak VM 3.11.3 -r 2151 + FT2Plugin + Gnuification
> ==========================================
> 312385600 bytecodes/sec; 7320778 sends/sec
> 310868245 bytecodes/sec; 8271046 sends/sec
> 310679611 bytecodes/sec; 8271046 sends/sec
> 310868245 bytecodes/sec; 7232576 sends/sec
> 310491206 bytecodes/sec; 8271046 sends/sec
>
> compared to
>
>  Squeak VM 3.11.3 -r 2135 + FT2Plugin
> ==========================================
> 334421946 bytecodes/sec; 8026581 sends/sec
> 334640522 bytecodes/sec; 7449884 sends/sec
> 334421946 bytecodes/sec; 7449884 sends/sec
> 334421946 bytecodes/sec; 7675486 sends/sec
> 327156549 bytecodes/sec; 7598782 sends/sec
>
> so it seems that on my machine rev 2135 without gnuification is a little
> better. I have GCC 4.4.3,  Linux 32bits.
>
>
I don't understand....it is slower with the gnuification ?

weird....




> Laurent Laffont
>
>
>
> On Sat, Mar 27, 2010 at 8:55 PM, Levente Uzonyi <le...@elte.hu> wrote:
>
>> On Sat, 27 Mar 2010, laurent laffont wrote:
>>
>>  I've tried gnuification on rev 2151. cmake/configure OK. But while
>>> building:
>>>
>>>
>>> /home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2:
>>> erreur: #error GNUIFICATION FAILED ( 0 )
>>>
>>
>> Which gnuification method did you try?
>> There are two different versions. The origial version is an awk script
>> which is run when you're building the vm with make. This is executed by
>> default if you have awk installed.
>> There's another version written in smalltalk (linked by Mariano into this
>> thread) which is not used by VMMAker at the moment, you probably don't need
>> that. If you applied the latter one, you have to make sure that the first
>> one is not executed. You can't gnuifying the sources twice.
>> Since both do the same, the best you can do now is to ignore the smalltalk
>> version. If VMMaker will adopt Gnuifier.st we can remove the awk dependency
>> from the build process, until then you shouldn't apply it if your platform
>> has awk installed.
>>
>>
>> Levente
>>
>>
>>
>>>
>>> Laurent Laffont
>>>
>>>
>>> On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont
>>> <laurent.laff...@gmail.com>wrote:
>>>
>>>  Does it mean latest SVN source is already "Gnuified" ?  With latest rev.
>>>>> I
>>>>>
>>>>>> have a little drop in benchmarks. However I'd rather put a stable
>>>>>>
>>>>> release
>>>>>
>>>>>> for Pharo 1.0 than latest trunk. What do you think ?
>>>>>>
>>>>>
>>>>> The so-called "gnuification" is a transformation of the interp.c file.
>>>>> So
>>>>> this is done after generating the sources with VMMaker. The cmake
>>>>> configuration that comes with revision 2135 does not have this step
>>>>> enabled,
>>>>> and the more recent version that I used, revision 2151, has it. The
>>>>> magic is
>>>>> in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.
>>>>>
>>>>>
>>>> OK thanks. I will take a look.
>>>>
>>>> Laurent Laffont
>>>>
>>>>
>>>>
>>>>
>>>>> Cheers,
>>>>> Adrian
>>>>>
>>>>>
>>>>>> Laurent Laffont
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Adrian
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>
>
>
> _______________________________________________
> 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

Reply via email to