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

Speed up RSpec specs #767

Merged
merged 7 commits into from
Jan 2, 2021
Merged

Speed up RSpec specs #767

merged 7 commits into from
Jan 2, 2021

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Jan 2, 2021

Summary

Avoid slow specs, mainly by not starting Ruby processes

Details

Instead of starting Ruby processes, start shells. This avoids large
startup times of child processes during specs. Also adds profiling
output to spec runs.

Motivation and Context

Especially the JRuby runs are very slow. These changes result in a spec
run time that is only one third of the original.

How Has This Been Tested?

Ran the specs.

Types of changes

  • Refactoring (cleanup of codebase without changing any existing functionality)

@mvz mvz merged commit 87911db into master Jan 2, 2021
@mvz mvz deleted the speed-up-spec branch January 2, 2021 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant