]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120065: Increase `collect_in_thread` period to 5 ms. (#120068)
authorSam Gross <colesbury@gmail.com>
Wed, 5 Jun 2024 13:23:29 +0000 (09:23 -0400)
committerGitHub <noreply@github.com>
Wed, 5 Jun 2024 13:23:29 +0000 (09:23 -0400)
commit4bba1c9e6cfeaf69302b501a4306668613db4b28
treebc65821ae43f3ec69a199a8b3e907dcada19fdda
parent5c02ea8bae2287a828840f5734966da23dc573dc
gh-120065: Increase `collect_in_thread` period to 5 ms. (#120068)

This matches the default GIL switch interval. It greatly speeds up the
free-threaded build: previously, it spent nearly all its time in
`gc.collect()`.
Lib/test/test_weakref.py