[cfe-dev] GCC 4.6, LLVM/Clang 2.9, DragonEgg Five-System Benchmarks

Chris Lattner clattner at apple.com
Wed Mar 30 16:14:19 PDT 2011


On Mar 30, 2011, at 12:16 PM, Michael Larabel wrote:
>>>>> Himeno is built -O0, which makes zero sense as a performance benchmark. And you are right GraphicsMagick uses OpenMP, which means the comparison between Clang and the rest of the compilers are totally meaningless. 7-Zip builds just fine for me with Clang, I have no idea why they couldn't get it to build.
> 
> Yes, I've already discussed some of this with Eric in a private thread 
> the other day.
> 
> While the latest upstream Himeno release will be pulled, which evidently 
> is now multi-threaded and uses -O3, I would argue though that in the 
> context of benchmarking defaults, even '-O0' does matter if looking at 
> the compiler performance. Such as for software projects that may not 
> specify any optimization flag, I really doubt __most users__ when 
> pulling down new code are checking what a given program is using as 
> their compiler flags.

Hi Michael,

I personally don't agree that -O0 matters in this context, but it doesn't really matter what I think :).

On request though: the web site just presents numbers, and leaves it up to the reader to draw their own conclusion, as though all of the numbers were measuring the same thing and reflected on the compilers in an arbitrary way.  I think it would be a great service to your users to say things like "and we see here that clang doesn't support OpenMP, which is why it has terrible multicore performance on that benchmark" for example.

Does it sound reasonable to mention things like OpenMP and -O0 performance?

-Chris



More information about the cfe-dev mailing list