[llvm-bugs] [Bug 32942] New: Using threads slows down test/ELF/many-sections.s a lot

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 5 13:01:59 PDT 2017


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

            Bug ID: 32942
           Summary: Using threads slows down test/ELF/many-sections.s a
                    lot
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org

With  test/ELF/many-sections.s assembled to test.o, running

ld.lld  test.o -o t

takes 2.697570420 seconds and perf reports "0.387 CPUs utilized".

But running

ld.lld  test.o -o t --no-threads

0.104182214 seconds and perf reports "0.997 CPUs utilized".

-- 
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/20170505/0121c77f/attachment.html>


More information about the llvm-bugs mailing list