-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
download:plugins much slower after merging HTTP proxy support #11233
Comments
I also think that the download plugins is very slow now. Even if it has been downloaded, it is still very slow to skip it when theia download:plugins is executed again. |
That is because the metadata for all versions is requested even if the extension has been downloaded already. Ideally, the skip test would occur before the metadata request and prevent the latter if it turns out to be unnecessary. |
A temporary workaround for users is to replace the extension pack entry in |
@ccorn I recently changed the way that the plugins declare the vscode plugins one by one to the vscode-builtin-extensions-pack package. The speed is too slow. I decided to temporarily fall back to the previous declarations one by one. |
Context
After your awesome efforts resulting in commits 8ba808a (#11112) and 9a10b6b (#11201), there was a brief phase during which I could enjoy reliable
download:plugins
functionality with a slow (1Mbps) connection, at least when using the--no-parallel
option.As you may remember, when resolving extension packs, a lot of metadata gets downloaded (about 1,3 GB for 73 plugins). Without compression that would take 3 hours over a 1Mbps connection. But apparently the transfer uses compression, which speeds up the transfer by a factor of 6, reducing the time to 30 minutes.
Issue
Alas, with the master branch at v1.26.0,
download:plugins --no-parallel
keeps a 1Mbps download connection maxed out for 3 hours. Therefore I suspect that compression has been inhibited.The culprit seems to be
And no, I do not have any proxy setup.
How to reproduce
rm -rf plugins; time yarn download:plugins --no-parallel
rm -rf plugins; time yarn download:plugins --no-parallel
Requests
The text was updated successfully, but these errors were encountered: