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

[5.3] Clear console application bootstrappers after each test case #17157

Merged
merged 1 commit into from
Jan 5, 2017

Conversation

mzur
Copy link
Contributor

@mzur mzur commented Jan 5, 2017

With the upgrade from v5.3.19 to 5.3.20 I noticed a considerable degradation of the runtime of my tests (over 50 % slower). I found that the bootstrappers array implemented in #16012 is never cleared between test cases. Instead, new bootstrappers are added for each test case, stacking them up and making the tests run slower and slower.

This PR implements clearing of the bootstrappers array after each test case. I've already asked @themsaid to have a look at this.

Else the bootstrappers will stack up and the tests will get slower
and slower.
@taylorotwell taylorotwell merged commit 237c396 into laravel:5.3 Jan 5, 2017
@mzur mzur deleted the patch-1 branch January 5, 2017 14:58
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.

2 participants