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,249
    • Issues 5,249
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 581
    • Merge requests 581
  • 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
  • #4367
Closed
Open
Issue created Oct 05, 2010 by Ian Lynagh <igloo@earth.li>@trac-igloo

Compiler space regression in 7.0.1 RC 1

There's a compiler space regresion in 7.0.1 RC 1. Seems to be around a factor of 2. Compiling WURFL-0.1

With a cut-down version, note the "<n>M in use":

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.3
$ ghc --make WURFL -O -dshow-passes +RTS -t
[...]
<<ghc: 908052456 bytes, 1592 GCs, 7050782/13011048 avg/max bytes residency (15 samples), 31M in use, 0.00 INIT (0.00 elapsed), 1.11 MUT (1.28 elapsed), 0.91 GC (0.86 elapsed) :ghc>>
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.0.20100924
$ time ghc --make WURFL -O -dshow-passes +RTS
<<ghc: 973268040 bytes, 1699 GCs, 8225353/20188024 avg/max bytes residency (13 samples), 52M in use, 0.00 INIT (0.00 elapsed), 1.33 MUT (1.41 elapsed), 0.87 GC (0.94 elapsed) :ghc>>

The Result sizes look comparable between the two compilers, so the next step is probably to try with a profiled compiler.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority high
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