-
Notifications
You must be signed in to change notification settings - Fork 28
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
Disable example_status_persistence_file_path #227
Comments
What do you mean by disabling If a user does not set We have some customers using |
I mean not setting
The code path that allocates a lot of memory doesn't get used. Specifically, it's the persister and loader in https://github.com/rspec/rspec-core/blob/1c662c35f91f33946fdfbed431878f4798f06f70/lib/rspec/core/example_status_persister.rb .
Ah, in that case, this wouldn't work for them. Given that, I don't think it's worth adding complexity code-wise or documentation-wise to specify it. I think we can leave it as is then, and let users identify and disable themselves. Or #226 lands and it's mitigated because it's only persisted/loaded once |
Ok. So no action for now. By default Some customers use When we merge PR #226 then the issue won't exist anymore for the customers. So let's focus on the PR. I'm closing this one for now. |
Mentioned this on #226 (comment)
Documentation about this feature:
I came across this while investigating #200 , and I saw a lot of memory allocations from the code that generates and publishes this file. Since knapsack wouldn't be using
--on-failures
or--next-failure
, it should be safe to disable these.The text was updated successfully, but these errors were encountered: