-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Bring back elapsed time debugging in gc.c #140358
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Feature or enhancement
Proposal:
In "GH-108362: Incremental GC implementation" (#116206), it seems to me that the elapsed time debug information disappeared.
This change took effect in Python 3.14.
Is it possible to get back that piece of debug information?
In Python 3.13 with
gc.DEBUG_STATSyou would get information like this:whereas in Python 3.14:
Ps., I believe that it is commit 1530932 that removes the elapsed time functionality, but I might be wrong.
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
https://discuss.python.org/t/elapsed-time-debugging-in-gc-c/104396
Linked PRs