https://github.com/python/cpython/commit/dc3a0b423d73a17ee28488603b0fb9074c1d1dcf
commit: dc3a0b423d73a17ee28488603b0fb9074c1d1dcf
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: colesbury <[email protected]>
date: 2026-05-19T22:03:53Z
summary:

[3.14] gh-150114: Reduce memory usage of test_free_threading.test_iteration 
(gh-150115) (#150123)

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]

Reply via email to