8000 gh-120065: Increase `collect_in_thread` period to 5 ms. by colesbury · Pull Request #120068 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-120065: Increase collect_in_thread period to 5 ms. #120068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

colesbury
Copy link
Contributor
@colesbury colesbury commented Jun 4, 2024

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().

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()`.
@colesbury colesbury merged commit 4bba1c9 into python:main Jun 5, 2024
33 checks passed
@colesbury colesbury deleted the gh-120065-collect-in-thread branch June 5, 2024 13:23
@miss-islington-app
Copy link
miss-islington-app bot commented Jun 5, 2024 8000

Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 5, 2024
…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
Copy link
bedevere-app bot commented Jun 5, 2024

GH-120110 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 5, 2024
colesbury added a commit that referenced this pull request Jun 5, 2024
…0068) (#120110)

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>
barneygale pushed a commit to barneygale/cpython that referenced this pull request Jun 5, 2024
…#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()`.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…#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()`.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…#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()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0