Skip to content

Commit

Permalink
Include freelists in allocation total. (GH-93799)
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon committed Jun 14, 2022
1 parent 38a7f78 commit cdf7097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit cdf7097

Please sign in to comment.