diff options
| author | Mark Shannon <mark@hotpy.org> | 2022-06-14 14:44:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 14:44:26 +0100 |
| commit | cdf7097612c986d4eb79cd7e76e32b5a467513a0 (patch) | |
| tree | 92f9a04f38e7714256903384794d3e2aee8de15e /Tools/scripts | |
| parent | 38a7f787d8613b31b81774e780cd9b7e83039d25 (diff) | |
| download | cpython-git-cdf7097612c986d4eb79cd7e76e32b5a467513a0.tar.gz | |
Include freelists in allocation total. (GH-93799)
Diffstat (limited to 'Tools/scripts')
| -rw-r--r-- | Tools/scripts/summarize_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index 04d18790f0..a856bbb309 100644 --- a/Tools/scripts/summarize_stats.py +++ b/Tools/scripts/summarize_stats.py @@ -278,7 +278,7 @@ def emit_call_stats(stats): def emit_object_stats(stats): with Section("Object stats", summary="allocations, frees and dict materializatons"): total_materializations = stats.get("Object new values") - total_allocations = stats.get("Object allocations") + total_allocations = stats.get("Object allocations") + stats.get("Object allocations from freelist") total_increfs = stats.get("Object interpreter increfs") + stats.get("Object increfs") total_decrefs = stats.get("Object interpreter decrefs") + stats.get("Object decrefs") rows = [] |
