#5505: Program runs faster with profiling than without
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by scpmw):
It also seems to make no difference whether you use `-auto-all` or not,
ruling out the annotations as the villain. This is most definitely some
sort of garbage collection issue. ThreadScope shows extremely long garbage
collection phases - over 0.5 seconds each towards the end.
When I turn my profiling code to look at the garbage collection phases, it
gives me >98% time spent directly in `evacuate`, for whatever that's
worth. If only I had a per-line profile now... :-)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5505#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs