Skip to content

Commit cdf7097

Browse files
authoredJun 14, 2022
Include freelists in allocation total. (GH-93799)
1 parent 38a7f78 commit cdf7097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Tools/scripts/summarize_stats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def emit_call_stats(stats):
278278
def emit_object_stats(stats):
279279
with Section("Object stats", summary="allocations, frees and dict materializatons"):
280280
total_materializations = stats.get("Object new values")
281-
total_allocations = stats.get("Object allocations")
281+
total_allocations = stats.get("Object allocations") + stats.get("Object allocations from freelist")
282282
total_increfs = stats.get("Object interpreter increfs") + stats.get("Object increfs")
283283
total_decrefs = stats.get("Object interpreter decrefs") + stats.get("Object decrefs")
284284
rows = []

0 commit comments

Comments
 (0)
Please sign in to comment.