Add profiling support to GHCi
|Reported by:||SamB||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
It would be nice if GHCi could be run with profiling on. In comment 13 of ticket #2197, simonmar said:
There's a fair bit of work to do, and it's not clear it's worth the effort. The byte code compiler and interpreter have to be modified to support the different closure representations and other conventions of the profiling build.
This would, of course, also allow profiling of GHC or Haddock dealing with Template Haskell code, as well as any ghc-api clients that somehow end up invoking the bytecode interpreter.
Change History (4)
comment:3 Changed 5 years ago by simonmar
- Milestone changed from 7.0.1 to _|_
- Type of failure set to None/Unknown