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

Run all JRuby commands from gemset down using --dev flag #4807

Merged
merged 3 commits into from
Oct 28, 2019

Conversation

enebo
Copy link
Contributor

@enebo enebo commented Oct 28, 2019

Run all JRuby commands from gemset down using --dev flag. This reduces gemset install
time substantially (50.9s -> 40.5s locally). The rationale
for this change is that short-running JRuby processes should use --dev because
it disables a bunch of optimizations and essentially just runs using the
startup interpreter. This hurts eventual performance but it also speeds up
short-lived processes.

I do not think I did this quite right but I put it in as a starting point.
mpapis helped me find the proper place but I need guidance on proper code
itself.

gemset install time substantially (50.9s -> 40.5s locally).  The rationale
for this change is that short-running JRuby processes should use --dev because
it disables a bunch of optimizations and essentially just runs using the
startup interpreter.  This hurts eventual performance but it also speeds up
short-lived processes.

I do not think I did this quite right but I put it in as a starting point.
mpapis helped me find the proper place but I need guidance on proper code
itself.
@enebo
Copy link
Contributor Author

enebo commented Oct 28, 2019

Doh! I did not see the CHANGELOG or other boiler plate. I will update once we hammer out what needs to change.

pkuczynski
pkuczynski previously approved these changes Oct 28, 2019
@pkuczynski pkuczynski added this to the rvm-1.29.10 milestone Oct 28, 2019
@pkuczynski pkuczynski merged commit 59781c8 into rvm:master Oct 28, 2019
@pkuczynski pkuczynski changed the title Run all JRuby commands from gemset down using --dev flag. This reduces Run all JRuby commands from gemset down using --dev flag Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants