<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ASTMatchersTest.cpp takes too long to compile"
   href="http://llvm.org/bugs/show_bug.cgi?id=20061">20061</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ASTMatchersTest.cpp takes too long to compile
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rafael.espindola@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12670" name="attach_12670" title="preprocessed file">attachment 12670</a> <a href="attachment.cgi?id=12670&action=edit" title="preprocessed file">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>