diff options
author | Michael Droettboom <mdboom@gmail.com> | 2024-02-26 17:51:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 17:51:47 (GMT) |
commit | b05afdd5ec325bdb4cc89bb3be177ed577bea41f (patch) | |
tree | ecdb6276a76f5af92e3c3a9d249a5eb8361c9499 /Tools/scripts/summarize_stats.py | |
parent | 96c10c648565c7406d5606099dbbb937310c26dc (diff) | |
download | cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.zip cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.gz cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.bz2 |
gh-115168: Add pystats counter for invalidated executors (GH-115169)
Diffstat (limited to 'Tools/scripts/summarize_stats.py')
-rw-r--r-- | Tools/scripts/summarize_stats.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index 6b60b59..2925e09 100644 --- a/Tools/scripts/summarize_stats.py +++ b/Tools/scripts/summarize_stats.py @@ -451,6 +451,7 @@ class Stats: inner_loop = self._data["Optimization inner loop"] recursive_call = self._data["Optimization recursive call"] low_confidence = self._data["Optimization low confidence"] + executors_invalidated = self._data["Executors invalidated"] return { Doc( @@ -493,11 +494,19 @@ class Stats: "A trace is abandoned because the likelihood of the jump to top being taken " "is too low.", ): (low_confidence, attempts), + Doc( + "Executors invalidated", + "The number of executors that were invalidated due to watched " + "dictionary changes.", + ): (executors_invalidated, created), Doc("Traces executed", "The number of traces that were executed"): ( executed, None, ), - Doc("Uops executed", "The total number of uops (micro-operations) that were executed"): ( + Doc( + "Uops executed", + "The total number of uops (micro-operations) that were executed", + ): ( uops, executed, ), |