
#14208: Performance with O0 is much better than the default or with -O2, runghc performs the best -------------------------------------+------------------------------------- Reporter: harendra | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Harendra, have you read my post about how this part of GHC works? It might be useful for you or at least useful to point other people to. Your tickets have good examples in, I will try to get back to them once I am back from holiday. http://mpickering.github.io/posts/2017-03-20-inlining-and- specialisation.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14208#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler