Add profiling support to GHCi
It would be nice if GHCi could be run with profiling on. In [comment:#2197 (closed):13 comment 13] of ticket #2197 (closed), 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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |