-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Extremely long build times compared to vscode #6891
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
Comments
VSCode's
|
|
Also, the error appears from
That makes it sound like |
Thanks, the error was due to The last time I built code-server was in #3061, late 2023 which definitely did not take 1 hour, I don't think it even took 15 minutes, which is about my limit when I start looking into why. Because of this long wait, I also tested on M1 Macbook Air 16GB RAM which took 4.5 hours(!!)
|
Running #3061 version again, it took 40 minutes
|
I guess what I'm trying to understand is:
|
I am not seeing
You are right, I noticed this as well! But I never looked into why it is so much slower now. Part of the reason is that we are only passively maintaining code-server so I have not felt like it was worth the time to look into it.
In CI it takes about 50 minutes. I am not sure what the specs of the runners are though. I avoid building it locally at all costs. 😛
Yep, your understanding is right, but you are comparing code-server's
All we do is run |
Ah forgot about the final two questions:
If you compare with the right task then it should be about the same. As to why building VS Code is this slow, I do not know. Maybe they need to switch away from Gulp to something else, or maybe it has something to do with their custom loader.
You should only use Keep in mind when you use
If you access the browser before the compilation finishes, you will get an error about a missing file, because VS Code has not finished compiling yet. So if this happens just wait for the compilation before refreshing the window. |
One thing you could try also, if you have to use |
Thanks, I will take up the long build times with vscode. |
Awesome. I will close out the issue in the meantime, but if we do figure out something to speed up the time I would love to hear it. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: fb3e3e1Steps to Reproduce
I ran my script above
Expected
I should get a release of code-server without errors
Actual
See the extremely long compilation time (50 minutes) and eventual error
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
This cannot be tested in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: