[GHC] #7105: Better names for derived SCCs of instances
GHC
cvs-ghc at haskell.org
Mon Jul 30 11:03:00 CEST 2012
#7105: Better names for derived SCCs of instances
------------------------------+---------------------------------------------
Reporter: ksf | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 7.4.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Currently, -fprof-auto generated SCCs are named after their function name,
which isn't very helpful if you have a dozen types in Types.hs and the
profile is telling you that much time is spend in "compare" and "put" in
that very module. It's even more painful if those instances are derived
and you can't easily add manual annotations.
I suggest annotating instance declarations in general with their concrete
type, such as "compare/Foo" and "compare/Bar"
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7105>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list