-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Pytest become 4x slower when updated to 3.3.0 #3035
Comments
Hi @skontar, thanks for writing. Please try:
|
|
GitMate.io thinks the contributor most likely able to help you is @nicoddemus. |
Here is minimal example. On my system, it is 2s vs 30s between 3.2.5 to 3.3.0. |
@nicoddemus neither of those helps with minimal example. |
@skontar thanks a lot for the feedback. The reproducible example is useful, it clearly demonstrates that the logging plugin generates a huge overhead with its default settings for suites which generate a ton of log messages. For now it seems the only workaround is to disable the logging plugin with I'm closing this for now and moving the discussion over to #3013. |
Hi all.
We have updated the pytest from 3.2.5 to 3.3.0. The tests become 4 times slower (from 2 minutes to 8 minutes). I can reproduce it on my system running Fedora 26, Python 2.7.14, and our CI running RHEL 7, Python 2.7.13.
It can be easily fixed by downgrading pytest. It seems to be tied to a lot of text being printed to stdout by running tests. I cannot include the environment right now, neither I have minimal example and the code / tests are unfortunately not open source.
I will try to reproduce the issue in a minimal example and let you know. I wanted to report it now, maybe someone will know what change between those versions may have caused it.
The text was updated successfully, but these errors were encountered: