Why Clang

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Jun 21 18:41:42 UTC 2012

> So, has anyone compared the performance of clang vs gcc compiled in daily use--
> for example as a server? Anyone can cherry pick a couple of binaries, but how
> important is this for the performance of FreeBSD world?

not big, as with almost any compiler. Most workload are dominated by cache 
misses and jump misprediction.

That's why my gzip comparision resulted in minimally worse clang-compiled 
one (1% or less), while f2c converted fortran code for scientific 
calculations showed large differences.

i expect large difference in eg. cjpeg, lame etc and rather small in for 
eg. perl

More information about the freebsd-questions mailing list