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

MUCH faster RSpec feature bootup #897

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

botandrose
Copy link

This one-liner speeds up a single RSpec feature run from almost 2 minutes to just 8 seconds on my development machine!

I'm honestly not sure why its THAT much faster. Avoiding an unnecessary additional reload of the entire Rails environment is an obvious ~6s win, but something more was clearly wrong with this original strategy. Maybe it was interacting weirdly with RSpec's automatic retry functionality or something? I suppose it doesn't really matter, its better now.

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.

None yet

2 participants