Compiler performance tests on FreeBSD 10.0-CURRENT

Steve Kargl sgk at troutmask.apl.washington.edu
Tue Sep 4 21:43:55 UTC 2012


On Tue, Sep 04, 2012 at 10:39:40PM +0200, Dimitry Andric wrote:
> 
> 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.

The benchmark is somewhat meaningless if one does not 
know the options that were used during the testing.

-- 
Steve


More information about the freebsd-current mailing list