mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
Include freelists in allocation total. (GH-93799)
This commit is contained in:
parent
38a7f787d8
commit
cdf7097612
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue