
#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 kgardas): Based on the feedback I'm adding time testing with several combinations of GHC options. I'm benchmarking here 1000 pages import like in the original report. Time around 40s is computerd as average from several runs. Time in minutes is from one run. ||time||options|| ||40s||--make|| ||40s||--make -prof -auto-all -caf-all -fforce-recomp|| ||39s||-threaded --make|| ||40s||-threaded --make -prof -auto-all -caf-all -fforce-recomp|| ||9m12s||-O -threaded --make|| ||9m40s||-O -threaded --make -fno-full-laziness|| ||15m3s||-O -threaded --make -fno-state-hack|| ||40s||-O -threaded --make -prof -auto-all -caf-all -fforce-recomp|| I'll see yet what I can do with -ticky suggestion here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9599#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler