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

Find out why 3.12 tests are slow #1202

Open
TheTechromancer opened this issue Mar 21, 2024 · 1 comment
Open

Find out why 3.12 tests are slow #1202

TheTechromancer opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TheTechromancer
Copy link
Collaborator

TheTechromancer commented Mar 21, 2024

For python 3.9, 3.10, and 3.11, the tests take ~25 minutes. But for 3.12, they take 40. The tests still pass, they just take almost twice as long. I've done an in-depth diagnosis of the logs, and there isn't much difference between them except certain lines in 3.12 just take much longer to execute.

For example, in 3.9, the time gap between these lines is 45 seconds:

2024-03-24T03:05:14.4592251Z bbot/test/test_step_1/test__module__tests.py::test__module__tests PASSED [  0%]
2024-03-24T03:05:59.6787821Z bbot/test/test_step_1/test_agent.py::test_agent 

And in 3.12, the same two lines are 104 seconds apart -- more than twice the duration.

2024-03-24T03:05:11.3349011Z bbot/test/test_step_1/test__module__tests.py::test__module__tests PASSED [  0%]
2024-03-24T03:06:55.8822560Z bbot/test/test_step_1/test_agent.py::test_agent 

wtf?

@TheTechromancer TheTechromancer added the enhancement New feature or request label Mar 21, 2024
@TheTechromancer
Copy link
Collaborator Author

This might have something to do with this: python/cpython#107674.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant