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

cabal-testsuite takes ages to run on Windows and GHC-8.8 or GHC-8.10 #7178

Open
phadej opened this issue Nov 24, 2020 · 7 comments
Open

cabal-testsuite takes ages to run on Windows and GHC-8.8 or GHC-8.10 #7178

phadej opened this issue Nov 24, 2020 · 7 comments

Comments

@phadej
Copy link
Collaborator

phadej commented Nov 24, 2020

I have no clue what might be a reason. See recent master CI runs.

@phadej
Copy link
Collaborator Author

phadej commented Nov 25, 2020

Comparison, on GitHub Actions. Faster is GHC-8.6.5, slower GHC-8.10.2 (8.10.2.2 from chocolatey):

cabal-testsuite\PackageTests\NewBuild\T4450\cabal.test.hs                                                                         OK (59.93s)
cabal-testsuite\PackageTests\NewBuild\T4450\cabal.test.hs                                                                         OK (11.99s)

On AppVeyor

cabal-testsuite\PackageTests\NewBuild\T4450\cabal.test.hs                                                                         OK (73.75s)
cabal-testsuite\PackageTests\NewBuild\T4450\cabal.test.hs                                                                         OK (14.84s)

Other individual tests seem to have similar-ish slowdown (the T4450 is just one of the slowest ones).

@jneira
Copy link
Member

jneira commented Mar 11, 2022

This continue being a problem, see https://github.com/haskell/cabal/actions/runs/1965714393 for example

  • 8.6.5: 22 m
  • 8.10.4: 53 m

@jasagredo
Copy link
Collaborator

Is this still relevant? Those GHCs are considered old now

@geekosaur
Copy link
Collaborator

It is certainly still true on the Windows part of CI.

@jasagredo
Copy link
Collaborator

jasagredo commented Jul 18, 2024

Im not sure there is anything we can do here to speed it up. It is also true for MacOS.

@ulysses4ever
Copy link
Collaborator

MacOS is even worse. Not sure how we could act on this. If I were to speculate, I'd say it's a GHC issue. Although, Matthew recently discovered a massive slowdown on Windows due to how slow skipping tests is.

@ulysses4ever
Copy link
Collaborator

#9426

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

5 participants