Skip to content

Use compression when downloading coder binary from server #31

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

Closed
mafredri opened this issue Jan 16, 2023 · 0 comments · Fixed by #34
Closed

Use compression when downloading coder binary from server #31

mafredri opened this issue Jan 16, 2023 · 0 comments · Fixed by #34
Assignees

Comments

@mafredri
Copy link
Member

Easy win (52s vs 23s):

wget https://dev.coder.com/bin/coder-darwin-arm64  0.24s user 1.27s system 2% cpu 52.364 total

vs

wget --compression=gzip https://dev.coder.com/bin/coder-darwin-arm64  0.57s user 0.62s system 5% cpu 23.024 total

I believe server does support zstd as well, if that can be utilized in the extension.

I timed the extensions download speed and it was around 50s so I assume it's uncompressed, did not verify in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants