Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,250
    • Issues 5,250
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 561
    • Merge requests 561
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #5631
Closed
Open
Issue created Nov 13, 2011 by bjpop@trac-bjpop

Compilation slowdown from 7.0.x to 7.2.x

Compile time performance for GHC appears to have slowed down significantly for the package:

http://hackage.haskell.org/package/language-python

Time to compile the package:

  • GHC 7.0.4: 3m57s
  • GHC 7.2.1: 49m22s
  • GHC 7.2.2: 49m56s

The culprits are the Happy generated modules:

Language.Python.Version3.Parser.Parser Language.Python.Version2.Parser.Parser

GHC uses up to 700MB of memory compiling these files (my machine has 2GB of RAM and it does not appear to be thrashing during the compilation).

All versions of GHC in this ticket were downloaded as binary packages from the ghc website.

System:

OS X 10.7.2

  1. 4 GHz Intel Core 2 Duo

2GB RAM GCC 4.2.1

Trac metadata
Trac field Value
Version 7.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking