Opened 5 years ago

Closed 13 months 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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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 5 years ago by igloo

  • Difficulty set to Unknown
  • Milestone set to 6.14 branch

comment:2 Changed 4 years ago by igloo

  • Milestone changed from 6.14 branch to 6.14.1

comment:3 Changed 4 years ago by simonmar

  • Milestone changed from 7.0.1 to _|_
  • Type of failure set to None/Unknown

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

comment:4 Changed 13 months ago by simonmar

  • Resolution set to duplicate
  • Status changed from new to closed

Closing as dup of #4837

Note: See TracTickets for help on using tickets.