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,239
    • Issues 5,239
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 565
    • Merge requests 565
  • 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
  • #18478
Closed
Open
Issue created Jul 18, 2020 by Artyom Kuznetsov@hithrocDeveloper

Compile time regression in GHC 8.10.1

Summary

The module in the code snippet below compiles in about 2.4s on my machine with GHC 8.8.2 and in about 481.76s with GHC 8.10.1. However, if you remove either -Weverything or StrictData from it the compile time will get back to normal. I spent some time bisecting and identified that the following commit causes the issue: c5d888d4 (@sgraf812)

Steps to reproduce

  1. Compile this code snippet with GHC 8.10.1.
  2. Measure the compilation time.

Expected behavior

The code should not take 8 minutes to compile.

Environment

  • GHC version used: 8.10.1

Optional:

  • Operating System: NixOS 20.03
  • System Architecture: x64_86
Edited Jul 18, 2020 by Artyom Kuznetsov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking