Compiler performance tests on FreeBSD 10.0-CURRENT

O. Hartmann ohartman at
Tue Sep 4 20:56:35 UTC 2012

On 09/04/12 22:39, Dimitry Andric 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:
> <>

Very intersting.
It would also be of great interest to have some benchmarks on FBSD 10 at
hand which compare the performance of the resulting binary of those


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-current mailing list