sourcegraph / sourcegraph/scip-ruby

Investigate large binary sizes for scip-ruby

Open
#219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

graph/scip-ruby team/graph
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.