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

Matthieu Monrocq matthieu.monrocq at gmail.com
Wed Sep 5 10:00:57 PDT 2012

On Tue, Sep 4, 2012 at 10:49 PM, Dimitry Andric <dimitry at andric.com> wrote:

> Hi all,
> 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.
> -Dimitry
> [1]: Also available at:
> <http://www.andric.com/**freebsd/perftest/perftest-**2012-09-01a.txt<http://www.andric.com/freebsd/perftest/perftest-2012-09-01a.txt>
> >
Thanks for the detailed report!

I am somewhat concerned that Clang 3.2 seems to always be 3% slower than
the 3.1 version, though I guess that there performance will be tweaked
prior to release as usual.

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120905/97ae9ec1/attachment.html>

More information about the cfe-dev mailing list