[GHC] #4414: scc001 fails: one SCC entered 0 times; another not mentioned when optimisation is on
GHC
cvs-ghc at haskell.org
Tue Apr 19 17:23:45 CEST 2011
#4414: scc001 fails: one SCC entered 0 times; another not mentioned when
optimisation is on
---------------------------------+------------------------------------------
Reporter: igloo | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: Profiling | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by augustss):
The entry counts are invaluable, please don't remove them.
Performance bugs are often about something getting evaluated more times
than you expect, and without the entry counts there's no way to determine
that.
I'd settle for a flag, though. Exact entry count and slower code, or
inaccurate entry counts and fast code. Sometimes you need one, sometimes
the other.
I'd also like to urge you to fix this, because profiling is the only way
to speed up large program; staring at core only works for kernels.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4414#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list