Date: Tue, 4 Sep 2012 14:50:56 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Dimitry Andric <dimitry@andric.com> Cc: freebsd-current@freebsd.org Subject: Re: Compiler performance tests on FreeBSD 10.0-CURRENT Message-ID: <CAGH67wRziM1qujfPGGxsm9X9ZaHqDXVphLcJOgp_LMBODcaPRA@mail.gmail.com> In-Reply-To: <5046670C.6050500@andric.com> References: <5046670C.6050500@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 4, 2012 at 1:39 PM, Dimitry Andric <dimitry@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.
It would be interesting to see how clang++ performs vs g++ when
dealing with nested classes and with complicated code when trying to
optimize things because the optimizer in g++ apparently has some
scaling issues.
Thanks!
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRziM1qujfPGGxsm9X9ZaHqDXVphLcJOgp_LMBODcaPRA>
