FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] GH-139951: Fix major GC performance regression. Backport of GH-140262 by markshannon · Pull Request #140447 · python/cpython · GitHub

Repository navigation

[3.14] GH-139951: Fix major GC performance regression. Backport of GH-140262 - #140447

Merged
markshannon merged 1 commit into
python:3.14from
faster-cpython:backport-140262
Oct 23, 2025
Merged

markshannon merged 1 commit into
python:3.14from
faster-cpython:backport-140262

Conversation

markshannon commented Oct 22, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
  • Count number of actually tracked objects, instead of trackable objects. This ensures that untracking tuples has the desired effect of reducing GC overhead
  • Do not track most untrackable tuples during creation. This prevents large numbers of small tuples causing execessive GCs.

* Count number of actually tracked objects, instead of trackable objects. This ensures that untracking tuples has the desired effect of reducing GC overhead
* Do not track most untrackable tuples during creation. This prevents large numbers of small tuples causing execessive GCs.

Copy link
Copy Markdown
Contributor

FYI, this and #140423 look like nearly identical PRs.

sergey-miryanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL