Skip to content

[3.13] gh-120065: Increase collect_in_thread period to 5 ms. (GH-120068) - #120110

Merged
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-4bba1c9-3.13
Jun 5, 2024
Merged

[3.13] gh-120065: Increase collect_in_thread period to 5 ms. (GH-120068)#120110
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-4bba1c9-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

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().
(cherry picked from commit 4bba1c9)

Co-authored-by: Sam Gross colesbury@gmail.com

…GH-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()`.
(cherry picked from commit 4bba1c9)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 5, 2024
@colesbury
colesbury enabled auto-merge (squash) June 5, 2024 13:24
@colesbury
colesbury merged commit f561258 into python:3.13 Jun 5, 2024
@miss-islington
miss-islington deleted the backport-4bba1c9-3.13 branch January 2, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants