mirror of https://github.com/python/cpython.git
Include freelists in allocation total. (GH-93799)
This commit is contained in:
parent
38a7f787d8
commit
cdf7097612
|
@ -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…
Reference in New Issue