Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truffle: Understand and reduce impact of Truffle on the distribution size #2475

chrisseaton opened this issue Jan 17, 2015 · 4 comments


Copy link

We would like to understand what the impact of Truffle is on the distribution size, and what we can do to reduce it.

I'll keep a log of notes here on progress.

Copy link
Contributor Author

Branch: master
Commit: b66ac36

jruby-core- 15.1MB
jruby-core- uncompressed: 31.8MB

org.jruby.truffle uncompressed: 18.4MB
Truffle core files uncompressed: 150KB (trivial, so we'll ignore from this point on)

Truffle makes up 58% of the uncompressed core jar.

Copy link

spliting jruby-core into two parts: one with only org.jruby.truffle.** and the other all the rest.

  • 8.1M jruby-core-
  • 6.1M jruby-core-

Copy link
Contributor Author

Branch: truffle-head (using next release of Truffle with new DSL layout and unboxing disabled)
Commit: f097640

jruby-core- 12.3MB
jruby-core- uncompressed: 26.2MB

org.jruby.truffle uncompressed: 11.8MB

Truffle makes up 45% of the uncompressed core jar.

So we've reduced Truffle by 36% in the next version.

Copy link
Contributor Author

With the release of Truffle 0.7 the jruby-truffle jar is now just 7MB, and that's with core library completeness going from 4% to 78%. I don't think archive size is an issue any more.

@chrisseaton chrisseaton added this to the JRuby milestone Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants