[LLVMdev] Clang/llvm performance tests on FreeBSD 10.0-CURRENT

Duncan Sands baldrick at free.fr
Wed Sep 5 01:06:12 PDT 2012

Hi Dimitry,

> I recently performed a series of compiler performance tests on FreeBSD
> 10.0-CURRENT, particularly comparing gcc 4.2.1 and gcc 4.7.1 against
> clang 3.1 and clang 3.2.
> The attached text file[1] contains more information about the tests,
> some semi-cooked performance data, and my conclusions.  Any errors and
> omissions are also my fault, so if you notice them, please let me know.
> The executive summary: clang compiles mostly faster than gcc (sometimes
> much faster), and uses significantly less memory.
> Finally, please note these tests were purely about compilation speed,
> not about the performance of the resulting executables.  This still
> needs to be tested.

presumably you were compiling with optimization, but as you didn't mention
what the compiler flags were it is hard to know.

Ciao, Duncan.

More information about the llvm-dev mailing list