Skip to content

Commit 61f1221

Browse files
authored
gh-150114: Reduce memory usage of test_free_threading.test_iteration (gh-150115)
Reduce NUMITEMS from 100000 to 5000. Peak RSS for the full test_free_threading suite drops from ~850 MB to ~175 MB.
1 parent 6f4c18f commit 61f1221

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_free_threading/test_iteration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
NUMITEMS = 1000
1313
NUMTHREADS = 2
1414
else:
15-
NUMITEMS = 100000
15+
NUMITEMS = 5000
1616
NUMTHREADS = 5
1717
NUMMUTATORS = 2
1818

0 commit comments

Comments
 (0)