sourcegraph / sourcegraph/scip-ruby
Investigate large binary sizes for scip-ruby
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 22
- Forks
- 4
- Avg merge
- 4h 58m
- Merged PRs (30d)
- 4
Description
The binaries are quite large, especially on Linux. The asserts binary is 288MB, which is 10x the size on macOS at 26.9MB. The release binary being nearly 40MB also seems a bit too large, when compared to Sorbet which is 13.4MB.
One difference is that we're linking in Protobuf, but that shouldn't be adding so much overhead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or build entry points are named. Locate the configuration that produces the Linux asserts and release binaries, compare its linking and packaging with macOS, and measure which dependency or build setting accounts for the size difference; done means identifying the cause and documenting or implementing an agreed reduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- build-system, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100