Investigate large binary sizes for scip-ruby

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby

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.

Description

graph/scip-ruby team/graph

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.

Dominant language
Ruby
Stars
22
Forks
4
Avg merge
4h 58m
Merged PRs (30d)
4

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.

More from sourcegraph/scip-ruby

All issues in sourcegraph/scip-ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.