diff options
author | Michael Droettboom <mdboom@gmail.com> | 2023-10-05 15:12:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 15:12:06 (GMT) |
commit | 9eb2489266c4c1f115b8f72c0728db737cc8a815 (patch) | |
tree | 5803b53373eaff3fef48b53208e2dae001d27223 /Tools | |
parent | 1328fa31fe9c72748fc6fd11d017c82aafd48a49 (diff) | |
download | cpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.zip cpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.tar.gz cpython-9eb2489266c4c1f115b8f72c0728db737cc8a815.tar.bz2 |
gh-109329: Add stat for "trace too short" (GH-110402)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/summarize_stats.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index b9cc2f9..bdca51d 100644 --- a/Tools/scripts/summarize_stats.py +++ b/Tools/scripts/summarize_stats.py @@ -760,6 +760,7 @@ def calculate_optimization_stats(stats): trace_stack_overflow = stats["Optimization trace stack overflow"] trace_stack_underflow = stats["Optimization trace stack underflow"] trace_too_long = stats["Optimization trace too long"] + trace_too_short = stats["Optimiztion trace too short"] inner_loop = stats["Optimization inner loop"] recursive_call = stats["Optimization recursive call"] @@ -771,6 +772,7 @@ def calculate_optimization_stats(stats): ("Trace stack overflow", trace_stack_overflow, ""), ("Trace stack underflow", trace_stack_underflow, ""), ("Trace too long", trace_too_long, ""), + ("Trace too short", trace_too_short, ""), ("Inner loop found", inner_loop, ""), ("Recursive call", recursive_call, ""), ] |