https://github.com/python/cpython/commit/de401ef6a5fc9d064ec89d6ee15844af95d4fbe8 commit: de401ef6a5fc9d064ec89d6ee15844af95d4fbe8 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: colesbury <[email protected]> date: 2026-05-19T22:05:19Z summary:
[3.15] gh-150114: Reduce memory usage of test_free_threading.test_iteration (gh-150115) (#150124) Reduce NUMITEMS from 100000 to 5000. Peak RSS for the full test_free_threading suite drops from ~850 MB to ~175 MB. (cherry picked from commit 61f12211fc40aef4a2dcccb9c94aae8108042edb) Co-authored-by: Sam Gross <[email protected]> files: M Lib/test/test_free_threading/test_iteration.py diff --git a/Lib/test/test_free_threading/test_iteration.py b/Lib/test/test_free_threading/test_iteration.py index a51ad0cf83a006..44d3e9ccfdd14e 100644 --- a/Lib/test/test_free_threading/test_iteration.py +++ b/Lib/test/test_free_threading/test_iteration.py @@ -12,7 +12,7 @@ NUMITEMS = 1000 NUMTHREADS = 2 else: - NUMITEMS = 100000 + NUMITEMS = 5000 NUMTHREADS = 5 NUMMUTATORS = 2 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
