Skip to content

Use compression when downloading coder binary from server #31

Closed
@mafredri

Description

@mafredri

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions