-
Notifications
You must be signed in to change notification settings - Fork 89
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
runghc is slow #1128
Comments
@brayandiazssjd |
Hi, @dfordivam I measured the time for compilation and it only takes about two seconds, and the execution of the .exe file takes less than a second. I guess ghc is not the problem, do you still recommend me to open the issue in ghc's gitlab? Thanks for your time! |
It is theoretically possible though that the problem is with our shim exe... so to truly know which is the case you'd have to execute the ghc that's in |
Computer information
OS: Windows 10 22H2
Architecture: x64
Hello, I have installed Haskell in Windows throw the Powershell command provided by the official website. I have installed it in a existing msys2 installation. The issue I have is that when executing 'runghc' command in msys2 prompt, it takes about 8 seconds. I do not know if it is normal in Windows, but in Linux it takes less than 1 second with the same source code (a hello world print). I also have to mention that when verifying version of runghc it has a good time response (less than a second).
I made a trace command and I noticed that the part that takes the longer is just before the print of the hello world in the line "--- Process 10944 loaded C:\ghcup\ghc\9.4.8\mingw\bin\libwinpthread-1.dll at 00007ffc72f20000".
I would appreciate help or information about this "problem". Thank you very much.
Here is complete output of the strace command:
The text was updated successfully, but these errors were encountered: