-
Notifications
You must be signed in to change notification settings - Fork 65
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
Slower to run than native PHPUnit command #48
Comments
@titolendable thanks a lot for reporting this, |
Thanks @liuggio for getting back to me so quickly. PHPUnit:
Fastest:
Details about my PHP version
And info about fastest:
|
@titolendable |
@liuggio |
@titolendable |
@liuggio this is the output I get when adding the -vvv option:
Each file takes almost 2 seconds to run, when with phpunit the overall time spend is around than 1s. |
I think likely one of the two things happening:
Or
|
Sounds reasonable @perk11 but I can not figure out what can be. We include the default Symfony2 configuration for phpunit, nothing specific to our environment. And strange enough, the whole tests in the folder run around 1 second with native phpunit, from your suggestion, the minimum time would be ~1.5-2. |
@titolendable try timing it using |
I agree with @perk11 |
I came across fastest today and sounded promising, exactly what our team were looking for. I gave it a go but for my surprise, it takes twice the time to run the unit tests. The project is powered by Symfony2 and using LiipFunctionalTestBundle. I executed the following command to run the tests:
And takes over 4 minutes to run all the 235 tests. The phpunit command takes almost 2 minutes to run the same tests. Fastest is using two processes and I get two sqlite files for the database, so it seems to be set up properly. How can I debug why it is so slow? What might causing it? Both tests run under on the same machine with the same environment, with xdebug on.
The text was updated successfully, but these errors were encountered: