[cfe-dev] C++ Expression Template Benchmarks for GCC/Clang/Intel/PGI/MSVC
Walter Landry
wlandry at caltech.edu
Thu Jun 14 21:03:36 PDT 2012
Cory Nelson <phrosty at gmail.com> wrote:
> On Thu, Jun 14, 2012 at 5:54 PM, Walter Landry <wlandry at caltech.edu> wrote:
>
>> Hello Everyone,
>>
>> I thought you might be interested in some C++ expression template
>> benchmarks I have done.
>>
>> http://www.wlandry.net/Projects/FTensor#Benchmarks
>
>
> Thanks, this looks pretty neat! Would you happen to have compile times as
> well?
It is not such a good benchmark for that. There is a lot of code for
each benchmark that is not used. So the compilation time does not
really depend strongly on the complexity of the expressions.
But since you asked, it takes clang 3.0 between 4.3 and 4.6 seconds to
compile any one of the FTensor (not C-tran) benchmark files, gcc 4.7
takes between 3.9 and 4.7 seconds, and Intel between 6.4 and 7.4
seconds.
Cheers,
Walter Landry
More information about the cfe-dev
mailing list