bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19542] Performance penalty when linking chromium executable


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19542] Performance penalty when linking chromium executable
Date: Tue, 02 Feb 2016 21:10:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19542

--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_26-branch branch has been updated by H.J. Lu
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cc2d819b58fd5d60dfef34007662535f9e142c16

commit cc2d819b58fd5d60dfef34007662535f9e142c16
Author: H.J. Lu <address@hidden>
Date:   Tue Feb 2 08:14:43 2016 -0800

    Store estimated distances in compressed_size

    elf_x86_64_convert_load is very time consuming since it is called on
    each input section and has a loop over input text sections to estimate
    the branch distrance.  We can store the estimated distances in the
    compressed_size field of the output section, which is only used to
    decompress the compressed input section.

    Before the patch, linking clang 3.9 takes 52 seconds.  After the patch,
    it only takes 2.5 seconds.

    Backport from master

        PR ld/19542
        * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
        distances in the compressed_size field of the output section.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]