Skip to content

GitLab

  • Menu
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 4,867
    • Issues 4,867
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 458
    • Merge requests 458
  • 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 Compiler
  • GHCGHC
  • Issues
  • #21593
Closed
Open
Created May 18, 2022 by Andreas Klebinger@AndreasKDeveloper

Test a profiled GHC build on CI

During my work on !7797 I identified multiple bugs triggering segfaults when I used a profiled ghc to compile something while profiling was enabled.

That is to say only when I ran something like _profiled_ghc/stage1/bin/ghc foo.hs -O +RTS -p

Were it not for my careful local testing we would have long merged this patch, segfaults and it. It may be worthwhile to test a profiled ghc on CI in a nightly job or similar to avoid something like this from making it into master.

As a side benefit we could perhaps collect the profiles generated by this for more detailed performance comparisons over time.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking