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,344
    • Issues 5,344
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 566
    • Merge requests 566
  • 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
  • #18948
Closed
Open
Issue created Nov 13, 2020 by Ben Gamari@bgamari🐢Maintainer

Eliminate eventlog way?

I have recently started to question the value of having the eventlog as a configurable option. It's an incredibly useful tool with little to no cost and the observability that is enables is something that is increasingly expected by users.

In general I wonder whether it wouldn't be best to :

  • drop the _l RTS ways, and
  • enable TRACING in the remaining ways
  • deprecate the -eventlog compiler flag

This would bring a few benefits:

  • users wouldn't need to opt-in to eventlogging
  • binary distributions get a bit smaller
  • we can drop a bit of build system complexity

The only cost is that all Haskell executables get larger by around 400kB:

-rw-r--r-- 1 ben users 6.2M Nov 12 09:55 _build/stage1/rts/build/libHSrts-1.0.a
-rw-r--r-- 1 ben users 6.6M Nov 12 09:55 _build/stage1/rts/build/libHSrts-1.0_l.a

-rwxr-xr-x 1 ben users 3.5M Nov 12 09:55 _build/stage1/rts/build/libHSrts-1.0-ghc9.1.0.20201111.so
-rwxr-xr-x 1 ben users 3.9M Nov 12 09:55 _build/stage1/rts/build/libHSrts-1.0_l-ghc9.1.0.20201111.so

In the age of terabytes of storage, this seems like a reasonable trade-off.

Thoughts?

Edited Nov 13, 2020 by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking