[GHC] #16032: Compile speed regression

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC 8.6.3 seems to be about 10% slower than GHC 8.4.4 compiling a large input. The times goes from 22.25m to 24.5m. Unfortunately, I cannot include the modules to reproduce it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by augustss): * Attachment "ghc-compile-time.txt" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Can you include the output from building with `ghc -v3`? That would help us at least pin down what compilation phase has slowed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Perhaps also add `-ddump-timings`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by augustss): * Attachment "ghc-8.4.4-compile.stdout.gz" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by augustss): * Attachment "ghc-8.4.4-compile.stderr.gz" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by augustss): * Attachment "ghc-8.6.3-compile.stdout.gz" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by augustss): * Attachment "ghc-8.6.3-compile.stderr.gz" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by augustss): I've added some compiler output. The slowest file, OneDUInstructionFrag.hs is quite short (185 lines), but uses Generic heavily for deriving instances. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16032: Compile speed regression -------------------------------------+------------------------------------- Reporter: augustss | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Thanks Lennart! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16032#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC