[GHC] #13690: Running profiling tests in the GHCi way is extremely slow

#13690: Running profiling tests in the GHCi way is extremely slow -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1-rc2 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: -------------------------------------+------------------------------------- Running, e.g., `profinline001` in the GHCi way takes somewhere around eleven seconds. This seems pretty extreme. I noticed this when writing T12962 in the as-yet-unmerged Phab:D3550, which takes about the same amount of time. These are very small and very simple bits of code that don't do much at all, so it seems the problem must lie elsewhere. I have no idea where, though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13690 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13690: Running profiling tests in the GHCi way is extremely slow -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1-rc2 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 dfeuer): Reproduction: Build GHC with `BuildFlavour = perf`. Change to the `testsuite` directory and run `make TEST=profinline001`. The compiled ways run in the blink of an eye, but the GHCi way (`--interactive`) takes around 11 seconds. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13690#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13690: Running profiling tests in the GHCi way is extremely slow -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1-rc2 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: | -------------------------------------+------------------------------------- Changes (by dfeuer): * cc: dobenour (added) Comment: bgamari thought dobenour might consider these good test cases for a potential bytecode interpreter rework. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13690#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13690: Running profiling tests in the GHCi way is extremely slow -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.2.1-rc2 Resolution: worksforme | 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: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => worksforme Comment: Hmm, I can't reproduce this. `time make test TEST=profinline001 WAY=prof` shows a real time of 300 milliseconds on my machine. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13690#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC