diff options
author | Mark Shannon <mark@hotpy.org> | 2021-12-15 15:32:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 15:32:32 (GMT) |
commit | 342b93f9f28746abb7b221a61d5a9b26ccbb395a (patch) | |
tree | ebbe62af5b0853d8a8922c203174a88553ad798f /Tools | |
parent | 3a60bfef49b3324660a615a8e6d10710e5f669d9 (diff) | |
download | cpython-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.py | 2 |
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 |