[llvm-bugs] [Bug 29160] New: clang is 36.5 times slower than gcc

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 27 14:17:56 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29160

            Bug ID: 29160
           Summary: clang is 36.5 times slower than gcc
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mikhail.strelnikov at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17056
  --> https://llvm.org/bugs/attachment.cgi?id=17056&action=edit
Use -DCHUNKS=N where N from 1 to 42

It takes >2 minutes to compile attached source.cpp (when -DCHUNKS=28) by clang
but only 3.5 seconds to compile by gcc.

This wouldn't be a huge problem, but this is rather simplified version -
original took over an hour to compile.

-- 
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/20160827/1ceaa364/attachment.html>


More information about the llvm-bugs mailing list