[cfe-dev] Random clang testing results

Daniel Dunbar daniel at zuster.org
Mon Mar 23 23:39:16 PDT 2009


To follow up on this:

On Sun, Mar 15, 2009 at 4:20 AM, Sebastian Redl <
sebastian.redl at getdesigned.at> wrote:

> Daniel Dunbar wrote:
> > I tried building Blender with clang today for fun. Went without a
> > hitch, although I had to use gcc for two files from ffmpeg with nasty
> > inline asm. Blender has about 600k lines of C code internally, and
> > another 600k from external libraries (like FFTW, ffmpeg, qhull, ...).
> How do compile times compare?


With a Release-Asserts build of clang:
482.57user 34.79system 9:51.38elapsed 87%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (106major+10080717minor)pagefaults 0swaps

With gcc-4.3.3:
714.04user 36.75system 12:28.26elapsed 100%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (14major+9324539minor)pagefaults 0swaps

This is a complete configure / build / install test, so there is some amount
of shared overhead. The under CPU utilization is interesting, possibly due
to the driver not honoring -pipe yet.

 - Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090323/f974cd25/attachment.html>


More information about the cfe-dev mailing list