-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[tests] tests on Python 3.13 are very slow #12174
Comments
Some timings (I've simplified the tests but look at this):
Python 3.10.13 (optimized build)
Python 3.13.0a5+ (heads/main:63d6f2623e, Mar 22 2024, 14:15:43) [GCC 7.5.0] on linux
|
The test slowdown appeared since yesterday so something happened but I'm not sure what. It's apparently not related to the deadsnake version since the latest main branch has this issue. |
Well, good to know (well not good since we wait more). I'll leave it opened until it's patched upstream (to remind myself). |
Now that python/cpython#117120 is merged, this should be fixed. However, since Sphinx is based on docutils and we could also have a lot of circular references, the memory usage could also blow up (as shown on python/cpython#117120 (comment)). @hugovk Is it (or is it planned to be) possible to disable the incremental gc introduced in Python 3.13 and keep the old gc strategy? |
Interesting insight into the garbage collector, and how finely tuned its performance needs to be 😅 |
If you see a memory usage, please do report on the issue or create a new one. This is exactly what the alpha releases are for, and thank you for already testing them!
I don't think so, and don't see it in What's New or changelog, but I'm not following this area closely. |
Quick update: deadsnake version is still the one from yesterday morning so it does not contain the fix yet: |
With the new nightly build, tests are back to their usual timings ! |
The issue is likely due to something happening on 3.13. I did not find a related issue yet but the tests on 3.13 require 15 minutes (!!!)
Possibly related: python/cpython#117108
The text was updated successfully, but these errors were encountered: