[LLVMbugs] [Bug 20061] New: ASTMatchersTest.cpp takes too long to compile
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 16 20:30:11 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20061
Bug ID: 20061
Summary: ASTMatchersTest.cpp takes too long to compile
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: klimek at google.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12670
--> http://llvm.org/bugs/attachment.cgi?id=12670&action=edit
preprocessed file
We probably have to split this file or find a better way of doing this test, it
is a very noticeable serialization point in a parallel build:
$ time ~/inst/clang/bin/clang -c -std=c++11 ASTMatchersTest.ii -w
-Wno-invalid-constexpr
real 0m8.914s
user 0m8.566s
sys 0m0.309s
$ time /usr/bin/gcc -c -std=c++11 ASTMatchersTest.ii -w -Wno-invalid-constexpr
real 0m15.773s
user 0m15.017s
sys 0m0.689s
$ time ~/inst/clang/bin/clang -c -std=c++11 ASTMatchersTest.ii -w
-Wno-invalid-constexpr -O3
real 0m38.222s
user 0m37.706s
sys 0m0.360s
$ time /usr/bin/gcc -c -std=c++11 ASTMatchersTest.ii -w -Wno-invalid-constexpr
-O3
real 0m43.853s
user 0m43.004s
sys 0m0.674s
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140617/c099860a/attachment.html>
More information about the llvm-bugs
mailing list