[cfe-dev] compilation time 3.5 vs 3.6

Richtarsky, Martin martin.richtarsky at sap.com
Thu Jan 22 05:21:55 PST 2015


Did you build 3.6 with assertions?

  --enable-assertions     Compile with assertion checks enabled (default is YES)

Best regards,
Martin

From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of mobi phil
Sent: Donnerstag, 22. Januar 2015 13:40
To: cfe-dev Developers
Subject: [cfe-dev] compilation time 3.5 vs 3.6

Hi,

I compared compilation time with clang version 3.5 that ships with latest ubuntu and the one I built (with --enable-optimized   --enable-shared). The results are:

3.5 from ubuntu: 2,60s user 0,14s system 99% cpu 2,766 total
3.6 (a33591f612fa56e7c83fe348e7ca6c32778aacb0): 3,92s user 0,14s system 99% cpu 4,078 total

Did run the same compilation few times with the same compiler to avoid some cold caches.

This means almost 50%. Any reason for this? Any other build hints for more aggressive optimizations?

rgrds,
mobi phil


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


More information about the cfe-dev mailing list