summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-12-15 15:32:32 (GMT)
committerGitHub <noreply@github.com>2021-12-15 15:32:32 (GMT)
commit342b93f9f28746abb7b221a61d5a9b26ccbb395a (patch)
treeebbe62af5b0853d8a8922c203174a88553ad798f /Tools
parent3a60bfef49b3324660a615a8e6d10710e5f669d9 (diff)
downloadcpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.zip
cpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.tar.gz
cpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.tar.bz2
bpo-46072: Add --with-pystats configure option to simplify gathering of VM stats (GH-30116)
* Simplify specialization stats collection macros. * Add --enable-pystats option to configure. * Update specialization summary script to handle larger number of kinds
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/summarize_specialization_stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/summarize_specialization_stats.py b/Tools/scripts/summarize_specialization_stats.py
index cc3ef85..15b1887 100644
--- a/Tools/scripts/summarize_specialization_stats.py
+++ b/Tools/scripts/summarize_specialization_stats.py
@@ -24,7 +24,7 @@ def print_stats(name, family_stats):
for key in ("specialization_success", "specialization_failure"):
print(f" {key}:{family_stats[key]:>12}")
total_failures = family_stats["specialization_failure"]
- failure_kinds = [ 0 ] * 20
+ failure_kinds = [ 0 ] * 30
for key in family_stats:
if not key.startswith("specialization_failure_kind"):
continue