Boost logo

Proto :

Subject: Re: [proto] proto performance
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2011-02-20 05:55:53

On 02/20/2011 11:57 AM, Eric Niebler wrote:
> On 2/20/2011 5:52 PM, Joel Falcou wrote:
>> 1/ how do you measure performances ? Anything which is not the median of
>> 1-5K runs is meaningless.
> You can see how he measures it in the code he posted.
>> 2/ Don't use context, transform are usually better optimized by compilers
> That really shouldn't matter.
>> 3/ are you using gcc on a 64 bits system ? On this configuration a gcc
>> bug prevent proto to be inlined.
> Naive question: are you actually compiling with optimizations on? -O3
> -DNDEBUG? And are you sure the compiler isn't lifting the whole thing
> out of the loop, since the computation is the same with each iteration?

It gcc 4.4 on a 64bit machine. Of course, I compile with -O3.

> _______________________________________________
> proto mailing list
> proto_at_[hidden]

Dr. Karsten Ahnert
Ambrosys GmbH - Gesellschaft für Management komplexer Systeme
Geschwister-Scholl-Str. 63a
D-14471 Potsdam
Tel: +4917682001688
Fax: +493319791300
Ambrosys GmbH - Gesellschaft für Management komplexer Systems
Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Geschwister-Scholl-Str. 63a, 14471 Potsdam
Registergericht: Amtsgericht Potsdam, HRB 21228 P
Geschäftsführer: Dr. Karsten Ahnert, Dr. Markus Abel

Proto list run by eric at