[LLVMbugs] [Bug 18055] New: Much slower compilation for proto code compared to LLVM3.2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 25 02:01:38 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18055

            Bug ID: 18055
           Summary: Much slower compilation for proto code compared to
                    LLVM3.2
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bart at bartjanssens.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11607
  --> http://llvm.org/bugs/attachment.cgi?id=11607&action=edit
Test case demonstrating the slowdown

Code extensively using the Boost Proto library compiles slower by a factor of 3
to 6 comparing clang 3.2 against clang 3.3 and 3.4. The attached preprocessed
code demonstrates the problem, running "clang++ -ftemplate-depth=512 proto.ii
-stdlib=libstdc++ -o proto":

Clang 3.2 (OS X binary from website):
1.49s user 0.11s system 93% cpu 1.712 total

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn):
10.16s user 0.09s system 93% cpu 10.996 total

latest from git (reports clang version 3.5):
5.51s user 0.09s system 88% cpu 6.334 total

-- 
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/20131125/cfe5ad9f/attachment.html>


More information about the llvm-bugs mailing list