summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-02-02 11:01:33 (GMT)
committerGitHub <noreply@github.com>2022-02-02 11:01:33 (GMT)
commit187930f74c44e460ba09c60ba5d9bb4fac543d8f (patch)
tree34c1c536986e6a5b33b66e4aad10e7594ccb3ba0 /Tools
parenta05866ce3e617e2b74c205f27a89eab63c7b3101 (diff)
downloadcpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.zip
cpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.tar.gz
cpython-187930f74c44e460ba09c60ba5d9bb4fac543d8f.tar.bz2
bpo-46072: Add some frame stats. (GH-31060)
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/summarize_stats.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py
index 2761dcb..319b251 100644
--- a/Tools/scripts/summarize_stats.py
+++ b/Tools/scripts/summarize_stats.py
@@ -106,6 +106,9 @@ def main():
for key, value in stats.items():
if "Calls to" in key:
print(f" {key}: {value} {100*value/total:0.1f}%")
+ for key, value in stats.items():
+ if key.startswith("Frame"):
+ print(f" {key}: {value} {100*value/total:0.1f}%")
print("Object stats:")
total = stats.get("Object new values")
for key, value in stats.items():