-
Notifications
You must be signed in to change notification settings - Fork 147
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
Build and run limited tests (windows, 9.6)
extremely slow
#2684
Comments
Weird But on more recent runs it seems fine again: |
Seems like the "fast" jobs skip the tests (because they run on |
It's not just a CI thing, Clash compiled with GHC 9.6 just runs really slowly on Windows (11). 9.6
9.4
All the timing measurements that clash prints seems normal. With clashi it will first print the greeting and that there is a long pause the prompt appears. |
Maybe we need to look at dynamic linking on windows for GHC 9.6 |
This isn't the first time something like this happened, is it? (And even if it would be...) We should think about whether we can regression-test these slowdowns. Maybe set an upper bound on how long we believe CI is allowed to spend on something trivial like Leon's first example, and if it goes over that bound, fail the test. |
I've gone ahead an published a PR disabling 9.6 on Windows for now. My latest run took 1h 41m, which seems like a massive waste of time/energy 🥴 |
@christiaanb I understood from this section of stack manual that dynamic executables aren't supported on Windows. |
The plot thickens, using ghc-9.4 via cabal is also slow:
|
The slow part is the loading of the plugins, and it doesn't affect just clash. It's fast using the stack version of ghci-9.4. Not sure yet if that's a difference in how the compiler is build/configured, or with how the plugins get build by cabal vs stack. |
Hrm counterexample on
It's perfectly quick [edit] |
So far I was testing on Windows 11, with GHC and stack installed via GHCup. |
But I've now also ran into the same slowness under Linux (Ubuntu 22.04). |
Weird... not on
|
Was testing user wide installed clash binaries for #2695 Doing So the slowness I saw under Linux was nothing new. |
It's pretty consistent across multiple PRs. Windows on 9.6 takes ~5 times longer than other platforms/GHC versions.
The text was updated successfully, but these errors were encountered: