Performance testing framework

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Fri Aug 26 03:56:47 UTC 2016


On 24/08/16 21:34, Douglas Bagnall wrote:
> On 24/08/16 19:28, Uri Simchoni wrote:
>>>
>>> https://www.samba.org/~dbagnall/perf-tests/
>>
>> Douglas,
>>
>> What optimization level has been used to generate those figures? From my
>> experience, the generated code varies greatly from non-optimized to
>> optimized code.
> 
> I have assumed -O2, but the question makes me realise I haven't
> actually checked. The build for all versions boils down to
> `CC=gcc-4.9 ./configure.developer && make -j` (gcc-4.9 because
> newer compilers with -Werror find fatal warnings in old code),
> so it depends on the various releases' defaults.
> 
> I'll double check tomorrow.

Now I've added CFLAGS='-O2', but I don't have results yet as it turns
out gcc-4.[789] won't compile samba-4.0 without extra patches.

I should have some new -O2 results after the weekend. Thanks for
pointing this out.

Douglas




More information about the samba-technical mailing list