-
Notifications
You must be signed in to change notification settings - Fork 191
TruffleRuby performance or memory regression on rspec #2012
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
Comments
Thanks for the report. So the mode that matters is the first one, the rspec mode. Both of these commits are before 385179f which enables the new language agnostic inlining by default. Maybe some of the variations here are due to GitHub Actions which probably uses shared resources to run workflows? |
Last night's run showed that in latency mode the rspec tests ran twice a slowly as before (they were taking c. 15 mins and now they take c. 30 mins). For running the rspec tests in throughput mode it is also taking longer c. 40 mins vs 25 mins . |
I've added the inline option to the matrix for the rspec job (only applying it to the rspec process) https://github.com/petenorth/schools-experience/runs/689491563?check_suite_focus=true
|
I've been meaning to look this but didn't get the time yet. I want to reproduce it locally to get a better estimate of how much slower and to debug it. |
It seems the new inlining doesn't respect |
@petenorth Could you retry? |
I seem to be having issues in the
Has only started recently (last couple days) and is also causing the github actions to hang. |
Tried it with
|
Have reproduced it using the setup-ruby github action (so not within a Docker build, but guess it might still be running within a Docker container) https://github.com/petenorth/schools-experience/blob/master/.github/workflows/bundle-install.yml the actual run is https://github.com/petenorth/schools-experience/runs/813730149?check_suite_focus=true |
@petenorth Somehow I missed the notification about your replies. |
@eregon Everything looks good with the most recent run https://github.com/petenorth/schools-experience/actions/runs/157247118 The timings are probably as fast as they have ever been (obvs the underlying github infrastructure can change) . The language agnostic inlining flag now seems to respect the engine flag value of latency. Also, there is no significant difference in run duration in the rspec test between agnostic inlining being set to false or true. I think the issue can be closed. |
That's great to hear and it looks good, thanks for checking the results. The |
I've noticed that a CI job I have started showing errors recently
https://github.com/petenorth/schools-experience/actions?query=workflow%3A%22rspec+with+truffleruby%22
The issues seems to have been introduced between
a54e85b
and
b682c19
I am guessing it is associated with the language agnostic inlining default change?
It only shows up for throughput mode and was a unfortunate as that engine mode had been improving recently .
The text was updated successfully, but these errors were encountered: