Replies: 3 comments 7 replies
-
|
this is a most curious an schocking data find would i be possible/feasible to do profiler reports for those testruns to see whats causing that spike |
Beta Was this translation helpful? Give feedback.
-
|
I'm seeing this as well. Dramatic increase in test time over Python 3.11. The "collection" part of pytest takes about 2 seconds with 3.11 for my codebase and about 32 seconds with 3.12. This is for 264 test items. Identical package sets. The actual run time of the tests is also much higher. pytest reports about 81 seconds on 3.11 and 182 seconds on 3.12. One aspect of my application is slower as well with 3.12, but we're talking about a 17% increase and not 2x-15x. |
Beta Was this translation helpful? Give feedback.
-
|
Long time no see, I was able to fix the issue in our repository. The problem was in coverage. We run tests using tox. Our setup in tox.ini: I tried to remove coverage, and it started to work. Then I chat about it with Cursor, and it proposed to add New setup in tox.ini looks like this:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
I want to ask if someone encountered performance degradation for Python 3.12. Recently, I added support for It, and its performance is worse than that of 311, 310, 39, and 38.
Link to tests: https://github.com/gooddata/gooddata-python-sdk/actions/runs/9778991463/job/26997125183?pr=710
I use the latest version of pytest. I will keep investigating what is going on, and I will let you know if I find something.
Beta Was this translation helpful? Give feedback.
All reactions