[llvm-bugs] [Bug 32452] New: clang-format needs 3.2s to format a 4500-line file

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 28 14:26:36 PDT 2017


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

            Bug ID: 32452
           Summary: clang-format needs 3.2s to format a 4500-line file
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Created attachment 18192
  --> https://bugs.llvm.org/attachment.cgi?id=18192&action=edit
repro

Attached. Seems fairly slow given the filesize (181K).

$ time clang-format third_party/lss/linux_syscall_support.h > /dev/null

real    0m3.256s
user    0m3.056s
sys     0m0.200s

-- 
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/20170328/b98be005/attachment.html>


More information about the llvm-bugs mailing list