[LLVMbugs] [Bug 17855] New: GDLParser.cpp compiles excessively slowly on clang++ from Xcode 5 and llvm 3.4svn when compiled at -O2 or higher

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 8 15:36:26 PST 2013


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

            Bug ID: 17855
           Summary: GDLParser.cpp compiles excessively slowly on clang++
                    from Xcode 5 and llvm 3.4svn when compiled at -O2 or
                    higher
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11502
  --> http://llvm.org/bugs/attachment.cgi?id=11502&action=edit
preprocessed source for src/GDLParser.cpp generated by Apple clang++ 5.0

The GDLParser.cpp and GDLTreeParser.cpp files from gdl-0.9.4/src are compiled
extremely slowly under clang++ from Xcode 5.0.1 and llvm 3.4svn at -O2. Using
the attached GDLParser.ii.bz2 with llvm 3.4svn's clang++ on
x86_64-apple-darwin12, I seeā€¦

% time /sw/opt/llvm-3.4/bin/clang++ -O2 -c GDLParser.ii
101.615u 0.577s 1:42.29 99.8%    0+0k 2+12io 627pf+0w

% time /sw/opt/llvm-3.4/bin/clang++ -O1 -c GDLParser.ii
3.858u 0.095s 0:03.96 99.4%    0+0k 0+15io 7pf+0w

These tests were done on a 2009 MacPro with dual quad-Xeon processors and 12Gb
of memory.

-- 
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/20131108/e4235b03/attachment.html>


More information about the llvm-bugs mailing list