[GHC] #13739: Very slow linking of profiled executables

GHC ghc-devs at haskell.org
Sat May 27 21:22:27 UTC 2017


#13739: Very slow linking of profiled executables
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 I tried `objdump`-ing object files produced by 8.0.2 and 8.2.1, and they
 look almost identical.

 I have to wonder how much of this is due to GCC differences. For
 comparison, I just tried compiling a simple profiled executable on my
 machine with GCC 6.2.0, and the whole process only took about 1.5 seconds.
 (Compare that to the 13-second times that I experienced on my other
 machine with GCC 4.8.4.)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13739#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list