
#9961: compile-time performance regression compiling genprimcode
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.10.1-rc1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time
Unknown/Multiple | performance bug
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------+-------------------------------------
compiling `utils/genprimopcode` (where compiling the Alex-generated Lexer
takes up the most amount of time) with GHC 7.8.4:
```
$ time /opt/ghc/7.8.4/bin/ghc -Rghc-timing --make -O Main.hs
[1 of 5] Compiling ParserM ( ParserM.hs, ParserM.o )
[2 of 5] Compiling Lexer ( Lexer.hs, Lexer.o )
[3 of 5] Compiling Syntax ( Syntax.hs, Syntax.o )
[4 of 5] Compiling Parser ( Parser.hs, Parser.o )
[5 of 5] Compiling Main ( Main.hs, Main.o )
Linking Main ...
<