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

Closed
chrisseaton opened this Issue Jan 17, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@chrisseaton
Copy link
Contributor

chrisseaton commented Jan 17, 2015

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.

@chrisseaton

This comment has been minimized.

Copy link
Contributor Author

chrisseaton commented Jan 17, 2015

Branch: master
Commit: b66ac36

jruby-core-9.0.0.0.pre1.jar: 15.1MB
jruby-core-9.0.0.0.pre1.jar 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.

@mkristian

This comment has been minimized.

Copy link
Member

mkristian commented Jan 17, 2015

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

  • 8.1M jruby-core-9.0.0.0.pre1-onlytruffle.jar
  • 6.1M jruby-core-9.0.0.0.pre1-notruffle.jar
@chrisseaton

This comment has been minimized.

Copy link
Contributor Author

chrisseaton commented Jan 17, 2015

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

jruby-core-9.0.0.0.pre1.jar: 12.3MB
jruby-core-9.0.0.0.pre1.jar 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.

@chrisseaton

This comment has been minimized.

Copy link
Contributor Author

chrisseaton commented Apr 30, 2015

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 9.0.0.0.rc1 milestone Apr 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.