[GHC] #7960: Compiling profiling CCS registration .c file takes far too long

GHC ghc-devs at haskell.org
Wed Aug 16 23:02:36 UTC 2017


#7960: Compiling profiling CCS registration .c file takes far too long
-------------------------------------------------+-------------------------
        Reporter:  duncan                        |         Owner:  (none)
            Type:  bug                           |        Status:  new
        Priority:  normal                        |     Milestone:
       Component:  Compiler                      |       Version:  7.6.3
      Resolution:                                |      Keywords:
Operating System:  Unknown/Multiple              |  Architecture:
                                                 |  Unknown/Multiple
 Type of failure:  Compile-time performance bug  |     Test Case:
      Blocked By:                                |      Blocking:
 Related Tickets:                                |
-------------------------------------------------+-------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"a8da0de27e600211f04601ac737c329d6603c700/ghc"
 a8da0de2/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a8da0de27e600211f04601ac737c329d6603c700"
 Speed up compilation of profiling stubs

 Here we encode the cost centre list as static data. This means that the
 initialization stubs are small functions which should be easy for GCC to
 compile, even with optimization.

 Fixes #7960.

 Test Plan: Test profiling

 Reviewers: austin, erikd, simonmar

 Reviewed By: simonmar

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #7960

 Differential Revision: https://phabricator.haskell.org/D3853
 }}}

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


More information about the ghc-tickets mailing list