[GHC] #9599: app runs 10 times faster when compiled with profilling information than without it
GHC
ghc-devs at haskell.org
Tue Sep 16 20:59:28 UTC 2014
#9599: app runs 10 times faster when compiled with profilling information than
without it
-------------------------------------+-------------------------------------
Reporter: kgardas | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Solaris | Architecture: x86
Type of failure: Runtime | Difficulty: Unknown
performance bug | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
The presence of SCC annotations can inhibit certain optimizations; perhaps
one of those optimizations is in fact making your non-profiled program
much slower. I'd try building it with `-fno-full-laziness` and/or `-fno-
state-hack`. For that matter, what is the performance like of the two
versions with optimizations turned off completely?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9599#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list