Any reason not to compress Dolt with UPX ?
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 108
Description
Hello,
I've been using Dolt for awhile now, but only in a small setting, mainly for development purposes. I am mentioning this to underscore the fact that my experience with Dolt has been rather limited.
I started with 1.43 and I immediately noticed that the binary was not packed and it had a tremendous size. I often pack my Go programs with UPX since they get compressed a lot and I have not observed any downsides from doing that.
The latest version of Dolt, when downloaded and extracted via the [official installer script](https://github.com/dolthub/dolt/releases/latest/download/install.sh), is nearly **100 MB** and it isn't packed. When packed with UPX it gets down to just **25MB**:
```
-rwxr-xr-x 1 root root 99M Dec 13 09:31 dolt
-rwxr-xr-x 1 root root 25M Dec 13 09:31 dolt.packed
># ./dolt version && ./dolt.packed version
dolt version 1.45.5
dolt version 1.45.5
```
Are there any legit reasons to avoid using UPX on Dolt? If not, may I suggest implementing it to your packaging system so Dolt gets distributed to users in a smaller size, ergo smaller footprint.
---
* For clarity, when I say UPX, I am referring to:
https://upx.github.io/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.