Opened 15 years ago

Closed 7 years ago

#607 closed task (fixed)

Ticky-ticky profiling

Reported by: simonmar Owned by: tim
Priority: normal Milestone:
Component: Compiler Version: None
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:

Description (last modified by simonpj)

Ticky-ticky profiling has bitrotted in 6.4, after the rewrite of the code generator. Much of the code survived the transition, but it hasn't been tested and no doubt some work is required to get it going again.

Change History (12)

comment:1 Changed 14 years ago by simonmar

Architecture: Unknown
Description: modified (diff)
difficulty: Difficult (1 week)
Operating System: Unknown

comment:2 Changed 13 years ago by igloo

Description: modified (diff)
Milestone: 6.8

comment:3 Changed 13 years ago by simonmar

Partially done by Kirsten Chevalier. We should make sure it's working in 6.8.

comment:4 Changed 13 years ago by kirsten

If it isn't working in 6.8, I'd be happy to fix it. I'll keep an eye on this ticket.

comment:5 Changed 12 years ago by simonpj

Description: modified (diff)
Milestone: 6.8 branch_|_

Tim: a very basic version of ticky-ticky profiling (specifically: entry counts, allocations) now works again (partly due to your work) but it's very partial. Norman and I are up-heaving the code generator at the moment, so don't worry about fixing this for now. In a few months time, it'd be great to make ticky-ticky work properly again.

Meanwhile I'm milestoning it "bottom" because I doubt we'll do this ourselves unless we need it for some reason.



comment:6 Changed 11 years ago by tim

Owner: set to tim
Status: newassigned

Oops, I never saw SimonM's last comment here until now. I'll try to look at this as part of looking into #2455, though I don't currently have a need for ticky either, so it may not happen.

comment:7 Changed 11 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:8 Changed 11 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:9 Changed 10 years ago by simonmar

difficulty: Difficult (1 week)Difficult (2-5 days)

comment:10 Changed 9 years ago by ezyang

Type of failure: None/Unknown

Ticky-ticky compilation appears to be broken with the new code generator, though I'm not sure if this is the "rewrite of the code generator" this bug is referring to. A simple test-case is perf/should_run/3586.hs which gives:

ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.1.20110313 for i386-unknown-linux):
	cvtToClosureLbl a{v s16T}_ct

comment:11 Changed 7 years ago by nfrisby

This seems to have been fixed at some point; ticky at least compiles. Are we retaining this ticket for some reason?

comment:12 Changed 7 years ago by simonpj

Resolution: Nonefixed
Status: newclosed
Note: See TracTickets for help on using tickets.