Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspicious performance degradation in 7.8 #255

Open
edsko opened this issue Sep 13, 2014 · 2 comments
Open

Suspicious performance degradation in 7.8 #255

edsko opened this issue Sep 13, 2014 · 2 comments

Comments

@edsko
Copy link
Collaborator

edsko commented Sep 13, 2014

Consider

IDE backend tests
  GHC 7.4.2
    Compilation
      Reject a program requiring -XNamedFieldPuns, then set the option: OK (28.47s)
  GHC 7.8.3
    Compilation
      Reject a program requiring -XNamedFieldPuns, then set the option: OK (88.26s)

No idea why this is happening (or if it's even an issue with ide-backend or whether this is entirely a GHC problem). It seems an awful long time to compile this however. Running with --no-exe reduces the times dramatically and also brings them closer together, although still almost a factor 2 in the difference:

IDE backend tests
  GHC 7.4.2
    Compilation
      Reject a program requiring -XNamedFieldPuns, then set the option: OK (3.34s)
  GHC 7.8.3
    Compilation
      Reject a program requiring -XNamedFieldPuns, then set the option: OK (5.04s)
@edsko
Copy link
Collaborator Author

edsko commented Sep 13, 2014

@Mikolaj Perhaps you could take a quick look at the buildExe part of this and see if this is something that we are causing or whether it's just ghc?

@edsko edsko added this to the Version 0.9 milestone Sep 13, 2014
@edsko
Copy link
Collaborator Author

edsko commented Sep 13, 2014

(In general it would be good to compare test times between 7.4 and 7.8; need latest version of tasty to get the these execution times.)

@edsko edsko removed this from the Version 0.9 milestone Sep 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant