-
Notifications
You must be signed in to change notification settings - Fork 426
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
Performance much worse in Windows than in WSL #2799
Comments
Do you think you could minimize this so that all we need to do to observe the effect is run
on different OSs? |
@semorrison I don't know how to minimize it to bare shell command. Linux (I've only tested this on WSL):
Windows:
Note that |
However
(This is #2346.) I'm surprised you could even get it to build at all on Windows! |
My comment previously:
|
(I think linker failure is irrelevant |
On windows I get (after the linker failure)
|
Yes. The output you get from linux/windows looks similar to the one I got. |
@semorrison I saw you marked this issue as "invalid". Does that mean the issue description is not good enough? Or you cannot reproduce the issue? Note that the current issue is not the performance difference between the |
Yes, I'm unconvinced there is a reproducible problem here that anyone could work with, particularly given the linker errors. |
Isn't the linker error just from |
For what it's worth, I have no idea why on Windows the server could be slower here than the cmdline... |
I've moved
the stats are as follows: Linux
Windows
Versionsleanprover/lean4:v4.3.0-rc1 |
I'm removing the |
I get WSL 33s so I think we can consider this issue nonreproducible; try checking your virus scanner etc? The language server overhead could be independently investigated but likely is not limited to Windows. |
Description
Executing the same Lean code ~200 times slower on Windows than on WSL.
Steps to Reproduce
Do Step 1, 2 & 3 in WSL and Windows. Step 1 & 2 show the raw issue, and Step 3 shows a somewhat minimized example.
git clone https://github.com/avigad/lean-auto.git
Test/Test_regression.lean
, check the time took by the exampleTest/
with the following content:Check the output of
#eval test
. Then, replace the first lineimport Auto
withimport Lean
, and check the output of#eval test
again.Versions
leanprover/lean4:v4.3.0-rc1
WSL: Ubuntu 20.04.6 LTS
Windows: Windows 11
The text was updated successfully, but these errors were encountered: