Opened 8 years ago

Closed 4 years ago

#3360 closed feature request (duplicate)

Add profiling support to GHCi

Reported by: SamB Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.10.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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:1 Changed 8 years ago by igloo

difficulty: Unknown
Milestone: 6.14 branch

comment:2 Changed 7 years ago by igloo

Milestone: 6.14 branch6.14.1

comment:3 Changed 6 years ago by simonmar

Milestone: 7.0.1_|_
Type of failure: None/Unknown

We have no plans to do this in the near time.

comment:4 Changed 4 years ago by simonmar

Resolution: duplicate
Status: newclosed

Closing as dup of #4837

Note: See TracTickets for help on using tickets.