[cfe-dev] compilation time 3.5 vs 3.6

mobi phil mobi at mobiphil.com
Thu Jan 22 12:29:06 PST 2015


> > rebuilt all and now I have:
> > Release/bin/clang  2,93s user 0,15s system 99% cpu 3,101 total versus
> > system clang: 2,66s user 0,14s system 99% cpu 2,826 total
> >
> > made another test and built clang with /usr/bin/clang
> > CC=/usr/bin/clang CXX=/usr/bin/clang++ /g/llvm.git/configure
> >  --enable-optimized    --disable-assertions
> >
> > got a little closer,  2,94s user 0,13s system 99% cpu 3,090 total  but
> > still not the total 2.82
>
> Just a naive guess from me: Could it be due the Clang 3.5 provided by your
> distributor having been built with GCC, and not with clang 3.5? What
> happens
> if you also built it with the GCC provided by the distributor?


Left in the quote what is relevant. All the results except the last one
were with gcc... however I was expecting a little faster code when built
with clang


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150122/146d8dc6/attachment.html>


More information about the cfe-dev mailing list