Skip to content

Latest commit

 

History

History
6723 lines (6116 loc) · 118 KB

bm-20250123-azure-x86_64-python-a10f99375e7912df863c-3.14.0a4+-a10f993-pystats-gc_collect.md

File metadata and controls

6723 lines (6116 loc) · 118 KB

Pystats results

  • benchmark: gc_collect
  • fork: python
  • ref: a10f99375e7912df863cf101a38e9703cfcd72f1
  • commit hash: a10f993
  • commit date: 2025-01-23T09:26:25+00:00

Execution counts

Execution counts for Tier 1 instructions.

The "miss ratio" column shows the percentage of times the instruction executed that it deoptimized. When this happens, the base unspecialized instruction is not counted.

Name Count Self Cumulative Miss ratio
LOAD_FAST 22,674,885 15.7% 15.7%
LOAD_CONST_IMMORTAL 17,672,175 12.3% 28.0%
STORE_ATTR_INSTANCE_VALUE 17,463,596 12.1% 40.1%
RETURN_VALUE 13,308,160 9.2% 49.3%
STORE_FAST 13,110,864 9.1% 58.4%
LOAD_FAST_LOAD_FAST 8,944,203 6.2% 64.6%
RESUME_CHECK 8,942,251 6.2% 70.8% 0.0%
LOAD_GLOBAL_MODULE 4,584,391 3.2% 74.0%
FOR_ITER_RANGE 4,578,024 3.2% 77.2%
POP_TOP 4,576,225 3.2% 80.3%
CALL_PY_EXACT_ARGS 4,576,147 3.2% 83.5%
JUMP_BACKWARD 4,368,048 3.0% 86.6%
LOAD_ATTR_INSTANCE_VALUE 4,366,171 3.0% 89.6%
LOAD_ATTR_METHOD_WITH_VALUES 4,366,034 3.0% 92.6%
EXIT_INIT_CHECK 4,365,898 3.0% 95.6%
CALL_ALLOC_AND_ENTER_INIT 4,365,898 3.0% 98.7%
POP_ITER 210,117 0.1% 98.8%
LOAD_SMALL_INT 210,117 0.1% 99.0%
GET_ITER 210,048 0.1% 99.1%
POP_JUMP_IF_FALSE 210,048 0.1% 99.2%
CALL_BUILTIN_CLASS 210,045 0.1% 99.4%
LOAD_GLOBAL_BUILTIN 210,045 0.1% 99.5%
COMPARE_OP_INT 209,977 0.1% 99.7%
LOAD_ATTR_METHOD_NO_DICT 208,035 0.1% 99.8%
CALL_LIST_APPEND 207,899 0.1% 100.0%
PUSH_NULL 8,661 0.0% 100.0%
LOAD_ATTR_MODULE 8,448 0.0% 100.0%
CALL_NON_PY_GENERAL 4,360 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 4,156 0.0% 100.0%
BUILD_LIST 2,148 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 2,148 0.0% 100.0%
DELETE_FAST 2,079 0.0% 100.0%
BINARY_OP_ADD_INT 2,078 0.0% 100.0%
BINARY_OP_MULTIPLY_INT 2,078 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT 2,078 0.0% 100.0%
BINARY_OP_ADD_FLOAT 2,075 0.0% 100.0% 3.2%
LOAD_ATTR 306 0.0% 100.0%
CALL 268 0.0% 100.0%
BUILD_TUPLE 138 0.0% 100.0%
CALL_FUNCTION_EX 138 0.0% 100.0%
LOAD_DEREF 138 0.0% 100.0%
LOAD_CONST_MORTAL 136 0.0% 100.0%
TO_BOOL 112 0.0% 100.0%
LOAD_GLOBAL 108 0.0% 100.0%
FOR_ITER 77 0.0% 100.0%
MAKE_FUNCTION 69 0.0% 100.0%
NOP 69 0.0% 100.0%
CALL_INTRINSIC_1 69 0.0% 100.0%
COPY_FREE_VARS 69 0.0% 100.0%
IS_OP 69 0.0% 100.0%
JUMP_FORWARD 69 0.0% 100.0%
LIST_EXTEND 69 0.0% 100.0%
MAKE_CELL 69 0.0% 100.0%
POP_JUMP_IF_TRUE 69 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 69 0.0% 100.0%
STORE_DEREF 69 0.0% 100.0%
STORE_FAST_STORE_FAST 69 0.0% 100.0%
BINARY_SUBSCR_TUPLE_INT 68 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_NOARGS 68 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_O 68 0.0% 100.0%
CALL_PY_GENERAL 68 0.0% 100.0%
TO_BOOL_BOOL 68 0.0% 100.0%
UNPACK_SEQUENCE_TWO_TUPLE 68 0.0% 100.0%
BINARY_SUBSCR 22 0.0% 100.0%
UNPACK_SEQUENCE 22 0.0% 100.0%
LOAD_CONST 17 0.0% 100.0%
BINARY_OP 12 0.0% 100.0%
RESUME 11 0.0% 100.0% 18,900.0%
STORE_ATTR 8 0.0% 100.0%
COMPARE_OP 4 0.0% 100.0%
INTERPRETER_EXIT 2 0.0% 100.0%

Pair counts

Pair counts for top 100 opcode pairs

Pairs of specialized operations that deoptimize and are then followed by the corresponding unspecialized instruction are not counted as pairs.

Pair Count Self Cumulative
STORE_ATTR_INSTANCE_VALUE LOAD_CONST_IMMORTAL 13,097,697 9.1% 9.1%
LOAD_CONST_IMMORTAL RETURN_VALUE 8,939,901 6.2% 15.3%
LOAD_CONST_IMMORTAL LOAD_FAST 8,731,798 6.1% 21.3%
LOAD_FAST STORE_ATTR_INSTANCE_VALUE 8,731,796 6.1% 27.4%
CALL_PY_EXACT_ARGS RESUME_CHECK 4,576,079 3.2% 30.6%
RETURN_VALUE POP_TOP 4,574,007 3.2% 33.7%
STORE_FAST LOAD_FAST 4,370,334 3.0% 36.8%
STORE_FAST LOAD_GLOBAL_MODULE 4,370,097 3.0% 39.8%
RETURN_VALUE STORE_FAST 4,368,184 3.0% 42.8%
JUMP_BACKWARD FOR_ITER_RANGE 4,367,976 3.0% 45.9%
FOR_ITER_RANGE STORE_FAST 4,367,976 3.0% 48.9%
LOAD_FAST LOAD_ATTR_METHOD_WITH_VALUES 4,365,990 3.0% 51.9%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST 4,365,966 3.0% 54.9%
LOAD_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 4,365,945 3.0% 58.0%
LOAD_FAST STORE_FAST 4,365,900 3.0% 61.0%
RESUME_CHECK LOAD_FAST_LOAD_FAST 4,365,899 3.0% 64.0%
RESUME_CHECK LOAD_CONST_IMMORTAL 4,365,899 3.0% 67.1%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST_LOAD_FAST 4,365,899 3.0% 70.1%
EXIT_INIT_CHECK RETURN_VALUE 4,365,898 3.0% 73.1%
RETURN_VALUE EXIT_INIT_CHECK 4,365,898 3.0% 76.1%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 4,365,898 3.0% 79.2%
CALL_ALLOC_AND_ENTER_INIT RESUME_CHECK 4,365,898 3.0% 82.2%
LOAD_ATTR_INSTANCE_VALUE STORE_ATTR_INSTANCE_VALUE 4,365,898 3.0% 85.2%
LOAD_FAST CALL_PY_EXACT_ARGS 4,365,896 3.0% 88.3%
LOAD_GLOBAL_MODULE CALL_ALLOC_AND_ENTER_INIT 4,365,896 3.0% 91.3%
POP_TOP LOAD_FAST 4,158,069 2.9% 94.2%
STORE_FAST JUMP_BACKWARD 4,158,000 2.9% 97.0%
POP_ITER LOAD_FAST 210,117 0.1% 97.2%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 210,069 0.1% 97.3%
LOAD_FAST LOAD_SMALL_INT 210,048 0.1% 97.5%
FOR_ITER_RANGE POP_ITER 210,048 0.1% 97.6%
GET_ITER FOR_ITER_RANGE 210,045 0.1% 97.8%
CALL_BUILTIN_CLASS GET_ITER 210,045 0.1% 97.9%
LOAD_GLOBAL_BUILTIN LOAD_FAST 210,045 0.1% 98.1%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 210,045 0.1% 98.2%
LOAD_FAST CALL_BUILTIN_CLASS 210,022 0.1% 98.4%
STORE_FAST LOAD_GLOBAL_BUILTIN 210,022 0.1% 98.5%
COMPARE_OP_INT POP_JUMP_IF_FALSE 209,977 0.1% 98.6%
POP_TOP LOAD_CONST_IMMORTAL 208,103 0.1% 98.8%
RESUME_CHECK LOAD_FAST 208,103 0.1% 98.9%
POP_TOP JUMP_BACKWARD 207,969 0.1% 99.1%
POP_JUMP_IF_FALSE LOAD_FAST 207,969 0.1% 99.2%
LOAD_ATTR_METHOD_NO_DICT LOAD_FAST 207,899 0.1% 99.4%
LOAD_FAST CALL_LIST_APPEND 207,898 0.1% 99.5%
LOAD_FAST LOAD_ATTR_METHOD_NO_DICT 207,898 0.1% 99.7%
LOAD_SMALL_INT COMPARE_OP_INT 207,898 0.1% 99.8%
CALL_LIST_APPEND LOAD_GLOBAL_MODULE 207,898 0.1% 99.9%
LOAD_ATTR_MODULE PUSH_NULL 8,448 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_ATTR_MODULE 8,402 0.0% 100.0%
PUSH_NULL CALL_NON_PY_GENERAL 4,248 0.0% 100.0%
PUSH_NULL CALL_BUILTIN_FAST_WITH_KEYWORDS 4,154 0.0% 100.0%
LOAD_FAST RETURN_VALUE 2,217 0.0% 100.0%
LOAD_FAST POP_JUMP_IF_NOT_NONE 2,148 0.0% 100.0%
BUILD_LIST STORE_FAST 2,079 0.0% 100.0%
LOAD_FAST_LOAD_FAST LOAD_FAST 2,079 0.0% 100.0%
POP_JUMP_IF_FALSE JUMP_BACKWARD 2,079 0.0% 100.0%
POP_JUMP_IF_NOT_NONE LOAD_FAST_LOAD_FAST 2,079 0.0% 100.0%
STORE_FAST DELETE_FAST 2,079 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS POP_TOP 2,078 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS STORE_FAST 2,078 0.0% 100.0%
CALL_NON_PY_GENERAL LOAD_FAST 2,078 0.0% 100.0%
CALL_NON_PY_GENERAL STORE_FAST 2,078 0.0% 100.0%
RESUME_CHECK BUILD_LIST 2,078 0.0% 100.0%
POP_TOP LOAD_GLOBAL_MODULE 2,077 0.0% 100.0%
DELETE_FAST LOAD_GLOBAL_MODULE 2,077 0.0% 100.0%
LOAD_FAST BINARY_OP_SUBTRACT_FLOAT 2,077 0.0% 100.0%
LOAD_FAST LOAD_GLOBAL_MODULE 2,077 0.0% 100.0%
LOAD_SMALL_INT BINARY_OP_ADD_INT 2,077 0.0% 100.0%
BINARY_OP_ADD_INT BINARY_OP_MULTIPLY_INT 2,077 0.0% 100.0%
BINARY_OP_MULTIPLY_INT COMPARE_OP_INT 2,077 0.0% 100.0%
BINARY_OP_ADD_FLOAT STORE_FAST 2,075 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT BINARY_OP_ADD_FLOAT 2,074 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 204 0.0% 100.0%
LOAD_FAST LOAD_ATTR 164 0.0% 100.0%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 162 0.0% 100.0%
PUSH_NULL LOAD_FAST 138 0.0% 100.0%
LOAD_FAST PUSH_NULL 138 0.0% 100.0%
LOAD_FAST LOAD_CONST_IMMORTAL 136 0.0% 100.0%
LOAD_CONST_IMMORTAL STORE_FAST 136 0.0% 100.0%
LOAD_CONST_IMMORTAL LOAD_CONST_IMMORTAL 136 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE LOAD_ATTR_METHOD_NO_DICT 94 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL_MODULE 94 0.0% 100.0%
CALL CALL_PY_EXACT_ARGS 88 0.0% 100.0%
JUMP_BACKWARD FOR_ITER 72 0.0% 100.0%
LOAD_ATTR LOAD_FAST_LOAD_FAST 71 0.0% 100.0%
LOAD_GLOBAL LOAD_GLOBAL_MODULE 71 0.0% 100.0%
LOAD_FAST_LOAD_FAST CALL 70 0.0% 100.0%
CACHE RESUME_CHECK 69 0.0% 100.0%
MAKE_FUNCTION SET_FUNCTION_ATTRIBUTE 69 0.0% 100.0%
NOP LOAD_FAST 69 0.0% 100.0%
PUSH_NULL LOAD_FAST_LOAD_FAST 69 0.0% 100.0%
RETURN_VALUE RETURN_VALUE 69 0.0% 100.0%
TO_BOOL POP_JUMP_IF_FALSE 69 0.0% 100.0%
BUILD_LIST LOAD_DEREF 69 0.0% 100.0%
CALL_INTRINSIC_1 CALL_FUNCTION_EX 69 0.0% 100.0%
FOR_ITER POP_ITER 69 0.0% 100.0%
IS_OP STORE_FAST 69 0.0% 100.0%
JUMP_FORWARD LOAD_FAST 69 0.0% 100.0%
LIST_EXTEND CALL_INTRINSIC_1 69 0.0% 100.0%
LOAD_DEREF PUSH_NULL 69 0.0% 100.0%

Predecessor/Successor Pairs

Top 5 predecessors and successors of each Tier 1 opcode.

This does not include the unspecialized instructions that occur after a specialized instruction deoptimizes.

CACHE

Successors and predecessors for CACHE
Successors Count Percentage
RESUME_CHECK 69 97.2%
RESUME 2 2.8%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_SMALL_INT 22 100.0%
Successors Count Percentage
BINARY_SUBSCR_TUPLE_INT 21 95.5%
STORE_FAST 1 4.5%

EXIT_INIT_CHECK

Successors and predecessors for EXIT_INIT_CHECK
Predecessors Count Percentage
RETURN_VALUE 4,365,898 100.0%
Successors Count Percentage
RETURN_VALUE 4,365,898 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
CALL_BUILTIN_CLASS 210,045 100.0%
CALL 3 0.0%
Successors Count Percentage
FOR_ITER_RANGE 210,045 100.0%
FOR_ITER 3 0.0%

MAKE_FUNCTION

Successors and predecessors for MAKE_FUNCTION
Predecessors Count Percentage
LOAD_CONST_MORTAL 68 98.6%
LOAD_CONST 1 1.4%
Successors Count Percentage
SET_FUNCTION_ATTRIBUTE 69 100.0%

NOP

Successors and predecessors for NOP
Predecessors Count Percentage
POP_JUMP_IF_TRUE 69 100.0%
Successors Count Percentage
LOAD_FAST 69 100.0%

POP_ITER

Successors and predecessors for POP_ITER
Predecessors Count Percentage
FOR_ITER_RANGE 210,048 100.0%
FOR_ITER 69 0.0%
Successors Count Percentage
LOAD_FAST 210,117 100.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_VALUE 4,574,007 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,078 0.0%
CALL_METHOD_DESCRIPTOR_O 68 0.0%
CALL_NON_PY_GENERAL 68 0.0%
CALL 4 0.0%
Successors Count Percentage
LOAD_FAST 4,158,069 90.9%
LOAD_CONST_IMMORTAL 208,103 4.5%
JUMP_BACKWARD 207,969 4.5%
LOAD_GLOBAL_MODULE 2,077 0.0%
LOAD_CONST 4 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_ATTR_MODULE 8,448 97.5%
LOAD_FAST 138 1.6%
LOAD_DEREF 69 0.8%
LOAD_ATTR 6 0.1%
Successors Count Percentage
CALL_NON_PY_GENERAL 4,248 49.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 4,154 48.0%
LOAD_FAST 138 1.6%
LOAD_FAST_LOAD_FAST 69 0.8%
CALL 52 0.6%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 8,939,901 67.2%
EXIT_INIT_CHECK 4,365,898 32.8%
LOAD_FAST 2,217 0.0%
RETURN_VALUE 69 0.0%
CALL_NON_PY_GENERAL 68 0.0%
Successors Count Percentage
POP_TOP 4,574,007 34.4%
STORE_FAST 4,368,184 32.8%
EXIT_INIT_CHECK 4,365,898 32.8%
RETURN_VALUE 69 0.0%
INTERPRETER_EXIT 2 0.0%

TO_BOOL

Successors and predecessors for TO_BOOL
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 68 60.7%
LOAD_FAST 22 19.6%
TO_BOOL 21 18.8%
LOAD_ATTR 1 0.9%
Successors Count Percentage
POP_JUMP_IF_FALSE 69 61.6%
TO_BOOL 21 18.8%
TO_BOOL_BOOL 21 18.8%
POP_JUMP_IF_TRUE 1 0.9%

BINARY_OP

Successors and predecessors for BINARY_OP
Predecessors Count Percentage
BINARY_OP_SUBTRACT_FLOAT 4 33.3%
BINARY_OP 3 25.0%
LOAD_FAST 2 16.7%
LOAD_SMALL_INT 2 16.7%
BINARY_OP_ADD_INT 1 8.3%
Successors Count Percentage
STORE_FAST 4 33.3%
BINARY_OP 3 25.0%
COMPARE_OP 1 8.3%
BINARY_OP_ADD_FLOAT 1 8.3%
BINARY_OP_ADD_INT 1 8.3%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
RESUME_CHECK 2,078 96.7%
LOAD_FAST 69 3.2%
RESUME 1 0.0%
Successors Count Percentage
STORE_FAST 2,079 96.8%
LOAD_DEREF 69 3.2%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST 69 50.0%
LOAD_FAST_LOAD_FAST 69 50.0%
Successors Count Percentage
LOAD_CONST_MORTAL 68 49.3%
CALL_METHOD_DESCRIPTOR_O 47 34.1%
CALL 22 15.9%
LOAD_CONST 1 0.7%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 70 26.1%
PUSH_NULL 52 19.4%
LOAD_CONST_IMMORTAL 42 15.7%
LOAD_FAST 32 11.9%
BUILD_TUPLE 22 8.2%
Successors Count Percentage
CALL_PY_EXACT_ARGS 88 32.8%
CALL_NON_PY_GENERAL 65 24.3%
CALL_BUILTIN_CLASS 23 8.6%
CALL_METHOD_DESCRIPTOR_NOARGS 21 7.8%
CALL_METHOD_DESCRIPTOR_O 21 7.8%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
CALL_INTRINSIC_1 69 50.0%
LOAD_FAST 69 50.0%
Successors Count Percentage
RESUME_CHECK 68 98.6%
RESUME 1 1.4%

CALL_INTRINSIC_1

Successors and predecessors for CALL_INTRINSIC_1
Predecessors Count Percentage
LIST_EXTEND 69 100.0%
Successors Count Percentage
CALL_FUNCTION_EX 69 100.0%

COMPARE_OP

Successors and predecessors for COMPARE_OP
Predecessors Count Percentage
LOAD_SMALL_INT 2 50.0%
BINARY_OP 1 25.0%
BINARY_OP_MULTIPLY_INT 1 25.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 2 50.0%
COMPARE_OP_INT 2 50.0%

COPY_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 68 98.6%
CALL 1 1.4%
Successors Count Percentage
RESUME_CHECK 68 98.6%
RESUME 1 1.4%

DELETE_FAST

Successors and predecessors for DELETE_FAST
Predecessors Count Percentage
STORE_FAST 2,079 100.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 2,077 99.9%
LOAD_GLOBAL 2 0.1%

FOR_ITER

Successors and predecessors for FOR_ITER
Predecessors Count Percentage
JUMP_BACKWARD 72 93.5%
GET_ITER 3 3.9%
FOR_ITER 2 2.6%
Successors Count Percentage
POP_ITER 69 89.6%
STORE_FAST 3 3.9%
FOR_ITER_RANGE 3 3.9%
FOR_ITER 2 2.6%

IS_OP

Successors and predecessors for IS_OP
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 68 98.6%
LOAD_CONST 1 1.4%
Successors Count Percentage
STORE_FAST 69 100.0%

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
STORE_FAST 4,158,000 95.2%
POP_TOP 207,969 4.8%
POP_JUMP_IF_FALSE 2,079 0.0%
Successors Count Percentage
FOR_ITER_RANGE 4,367,976 100.0%
FOR_ITER 72 0.0%

JUMP_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
STORE_FAST 69 100.0%
Successors Count Percentage
LOAD_FAST 69 100.0%

LIST_EXTEND

Successors and predecessors for LIST_EXTEND
Predecessors Count Percentage
LOAD_DEREF 69 100.0%
Successors Count Percentage
CALL_INTRINSIC_1 69 100.0%

LOAD_ATTR

Successors and predecessors for LOAD_ATTR
Predecessors Count Percentage
LOAD_FAST 164 53.6%
LOAD_GLOBAL_MODULE 46 15.0%
LOAD_ATTR_INSTANCE_VALUE 42 13.7%
LOAD_ATTR 24 7.8%
LOAD_FAST_LOAD_FAST 24 7.8%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 71 23.2%
LOAD_ATTR_INSTANCE_VALUE 64 20.9%
LOAD_ATTR_MODULE 46 15.0%
LOAD_ATTR_METHOD_WITH_VALUES 44 14.4%
LOAD_ATTR_METHOD_NO_DICT 43 14.1%

LOAD_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
BUILD_LIST 69 50.0%
RESUME_CHECK 68 49.3%
RESUME 1 0.7%
Successors Count Percentage
PUSH_NULL 69 50.0%
LIST_EXTEND 69 50.0%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 8,731,798 38.5%
STORE_FAST 4,370,334 19.3%
LOAD_ATTR_METHOD_WITH_VALUES 4,365,966 19.3%
POP_TOP 4,158,069 18.3%
POP_ITER 210,117 0.9%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 8,731,796 38.5%
LOAD_ATTR_METHOD_WITH_VALUES 4,365,990 19.3%
STORE_FAST 4,365,900 19.3%
CALL_PY_EXACT_ARGS 4,365,896 19.3%
LOAD_SMALL_INT 210,048 0.9%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
RESUME_CHECK 4,365,899 48.8%
STORE_ATTR_INSTANCE_VALUE 4,365,899 48.8%
LOAD_GLOBAL_MODULE 210,045 2.3%
POP_JUMP_IF_NOT_NONE 2,079 0.0%
LOAD_ATTR 71 0.0%
Successors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 4,365,945 48.8%
STORE_ATTR_INSTANCE_VALUE 4,365,898 48.8%
CALL_PY_EXACT_ARGS 210,069 2.3%
LOAD_FAST 2,079 0.0%
CALL 70 0.0%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
STORE_FAST 56 51.9%
RESUME_CHECK 42 38.9%
POP_TOP 3 2.8%
DELETE_FAST 2 1.9%
LOAD_FAST 2 1.9%
Successors Count Percentage
LOAD_GLOBAL_MODULE 71 65.7%
LOAD_GLOBAL_BUILTIN 23 21.3%
LOAD_ATTR 6 5.6%
LOAD_FAST 3 2.8%
LOAD_FAST_LOAD_FAST 3 2.8%

LOAD_SMALL_INT

Successors and predecessors for LOAD_SMALL_INT
Predecessors Count Percentage
LOAD_FAST 210,048 100.0%
RESUME_CHECK 68 0.0%
RESUME 1 0.0%
Successors Count Percentage
COMPARE_OP_INT 207,898 98.9%
BINARY_OP_ADD_INT 2,077 1.0%
STORE_FAST 69 0.0%
BINARY_SUBSCR_TUPLE_INT 47 0.0%
BINARY_SUBSCR 22 0.0%

MAKE_CELL

Successors and predecessors for MAKE_CELL
Predecessors Count Percentage
CALL_PY_GENERAL 68 98.6%
CALL 1 1.4%
Successors Count Percentage
RESUME_CHECK 68 98.6%
RESUME 1 1.4%

POP_JUMP_IF_FALSE

Successors and predecessors for POP_JUMP_IF_FALSE
Predecessors Count Percentage
COMPARE_OP_INT 209,977 100.0%
TO_BOOL 69 0.0%
COMPARE_OP 2 0.0%
Successors Count Percentage
LOAD_FAST 207,969 99.0%
JUMP_BACKWARD 2,079 1.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 2,148 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 2,079 96.8%
LOAD_CONST_MORTAL 68 3.2%
LOAD_CONST 1 0.0%

POP_JUMP_IF_TRUE

Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors Count Percentage
TO_BOOL_BOOL 68 98.6%
TO_BOOL 1 1.4%
Successors Count Percentage
NOP 69 100.0%

SET_FUNCTION_ATTRIBUTE

Successors and predecessors for SET_FUNCTION_ATTRIBUTE
Predecessors Count Percentage
MAKE_FUNCTION 69 100.0%
Successors Count Percentage
STORE_FAST 69 100.0%

STORE_ATTR

Successors and predecessors for STORE_ATTR
Predecessors Count Percentage
LOAD_FAST 4 50.0%
LOAD_FAST_LOAD_FAST 2 25.0%
LOAD_ATTR 1 12.5%
LOAD_ATTR_INSTANCE_VALUE 1 12.5%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 4 50.0%
LOAD_CONST 3 37.5%
LOAD_FAST_LOAD_FAST 1 12.5%

STORE_DEREF

Successors and predecessors for STORE_DEREF
Predecessors Count Percentage
CALL_NON_PY_GENERAL 68 98.6%
CALL 1 1.4%
Successors Count Percentage
LOAD_FAST 69 100.0%

STORE_FAST

Successors and predecessors for STORE_FAST
Predecessors Count Percentage
RETURN_VALUE 4,368,184 33.3%
FOR_ITER_RANGE 4,367,976 33.3%
LOAD_FAST 4,365,900 33.3%
BUILD_LIST 2,079 0.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,078 0.0%
Successors Count Percentage
LOAD_FAST 4,370,334 33.3%
LOAD_GLOBAL_MODULE 4,370,097 33.3%
JUMP_BACKWARD 4,158,000 31.7%
LOAD_GLOBAL_BUILTIN 210,022 1.6%
DELETE_FAST 2,079 0.0%

STORE_FAST_STORE_FAST

Successors and predecessors for STORE_FAST_STORE_FAST
Predecessors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 68 98.6%
UNPACK_SEQUENCE 1 1.4%
Successors Count Percentage
LOAD_FAST 69 100.0%

UNPACK_SEQUENCE

Successors and predecessors for UNPACK_SEQUENCE
Predecessors Count Percentage
CALL_METHOD_DESCRIPTOR_NOARGS 21 95.5%
CALL 1 4.5%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 21 95.5%
STORE_FAST_STORE_FAST 1 4.5%

RESUME

Successors and predecessors for RESUME
Predecessors Count Percentage
CALL 6 54.5%
CACHE 2 18.2%
CALL_FUNCTION_EX 1 9.1%
COPY_FREE_VARS 1 9.1%
MAKE_CELL 1 9.1%
Successors Count Percentage
LOAD_FAST 4 36.4%
LOAD_GLOBAL 2 18.2%
BUILD_LIST 1 9.1%
LOAD_CONST 1 9.1%
LOAD_DEREF 1 9.1%

BINARY_OP_ADD_FLOAT

Successors and predecessors for BINARY_OP_ADD_FLOAT
Predecessors Count Percentage
BINARY_OP_SUBTRACT_FLOAT 2,074 100.0%
BINARY_OP 1 0.0%
Successors Count Percentage
STORE_FAST 2,075 100.0%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_SMALL_INT 2,077 100.0%
BINARY_OP 1 0.0%
Successors Count Percentage
BINARY_OP_MULTIPLY_INT 2,077 100.0%
BINARY_OP 1 0.0%

BINARY_OP_MULTIPLY_INT

Successors and predecessors for BINARY_OP_MULTIPLY_INT
Predecessors Count Percentage
BINARY_OP_ADD_INT 2,077 100.0%
BINARY_OP 1 0.0%
Successors Count Percentage
COMPARE_OP_INT 2,077 100.0%
COMPARE_OP 1 0.0%

BINARY_OP_SUBTRACT_FLOAT

Successors and predecessors for BINARY_OP_SUBTRACT_FLOAT
Predecessors Count Percentage
LOAD_FAST 2,077 100.0%
BINARY_OP 1 0.0%
Successors Count Percentage
BINARY_OP_ADD_FLOAT 2,074 99.8%
BINARY_OP 4 0.2%

BINARY_SUBSCR_TUPLE_INT

Successors and predecessors for BINARY_SUBSCR_TUPLE_INT
Predecessors Count Percentage
LOAD_SMALL_INT 47 69.1%
BINARY_SUBSCR 21 30.9%
Successors Count Percentage
STORE_FAST 68 100.0%

CALL_ALLOC_AND_ENTER_INIT

Successors and predecessors for CALL_ALLOC_AND_ENTER_INIT
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 4,365,896 100.0%
CALL 2 0.0%
Successors Count Percentage
RESUME_CHECK 4,365,898 100.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
LOAD_FAST 210,022 100.0%
CALL 23 0.0%
Successors Count Percentage
GET_ITER 210,045 100.0%

CALL_BUILTIN_FAST_WITH_KEYWORDS

Successors and predecessors for CALL_BUILTIN_FAST_WITH_KEYWORDS
Predecessors Count Percentage
PUSH_NULL 4,154 100.0%
CALL 2 0.0%
Successors Count Percentage
POP_TOP 2,078 50.0%
STORE_FAST 2,078 50.0%

CALL_LIST_APPEND

Successors and predecessors for CALL_LIST_APPEND
Predecessors Count Percentage
LOAD_FAST 207,898 100.0%
CALL 1 0.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 207,898 100.0%
LOAD_GLOBAL 1 0.0%

CALL_METHOD_DESCRIPTOR_NOARGS

Successors and predecessors for CALL_METHOD_DESCRIPTOR_NOARGS
Predecessors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 47 69.1%
CALL 21 30.9%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 47 69.1%
UNPACK_SEQUENCE 21 30.9%

CALL_METHOD_DESCRIPTOR_O

Successors and predecessors for CALL_METHOD_DESCRIPTOR_O
Predecessors Count Percentage
BUILD_TUPLE 47 69.1%
CALL 21 30.9%
Successors Count Percentage
POP_TOP 68 100.0%

CALL_NON_PY_GENERAL

Successors and predecessors for CALL_NON_PY_GENERAL
Predecessors Count Percentage
PUSH_NULL 4,248 97.4%
CALL 65 1.5%
LOAD_FAST_LOAD_FAST 47 1.1%
Successors Count Percentage
LOAD_FAST 2,078 47.7%
STORE_FAST 2,078 47.7%
POP_TOP 68 1.6%
RETURN_VALUE 68 1.6%
STORE_DEREF 68 1.6%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
LOAD_FAST 4,365,896 95.4%
LOAD_FAST_LOAD_FAST 210,069 4.6%
CALL 88 0.0%
LOAD_ATTR_INSTANCE_VALUE 47 0.0%
LOAD_CONST_IMMORTAL 47 0.0%
Successors Count Percentage
RESUME_CHECK 4,576,079 100.0%
COPY_FREE_VARS 68 0.0%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 47 69.1%
CALL 21 30.9%
Successors Count Percentage
MAKE_CELL 68 100.0%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
LOAD_SMALL_INT 207,898 99.0%
BINARY_OP_MULTIPLY_INT 2,077 1.0%
COMPARE_OP 2 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 209,977 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
JUMP_BACKWARD 4,367,976 95.4%
GET_ITER 210,045 4.6%
FOR_ITER 3 0.0%
Successors Count Percentage
STORE_FAST 4,367,976 95.4%
POP_ITER 210,048 4.6%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 4,365,945 100.0%
LOAD_FAST 162 0.0%
LOAD_ATTR 64 0.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 4,365,898 100.0%
LOAD_ATTR_METHOD_NO_DICT 94 0.0%
TO_BOOL 68 0.0%
CALL_PY_EXACT_ARGS 47 0.0%
LOAD_ATTR 42 0.0%

LOAD_ATTR_METHOD_NO_DICT

Successors and predecessors for LOAD_ATTR_METHOD_NO_DICT
Predecessors Count Percentage
LOAD_FAST 207,898 99.9%
LOAD_ATTR_INSTANCE_VALUE 94 0.0%
LOAD_ATTR 43 0.0%
Successors Count Percentage
LOAD_FAST 207,899 99.9%
LOAD_FAST_LOAD_FAST 68 0.0%
CALL_METHOD_DESCRIPTOR_NOARGS 47 0.0%
CALL 21 0.0%

LOAD_ATTR_METHOD_WITH_VALUES

Successors and predecessors for LOAD_ATTR_METHOD_WITH_VALUES
Predecessors Count Percentage
LOAD_FAST 4,365,990 100.0%
LOAD_ATTR 44 0.0%
Successors Count Percentage
LOAD_FAST 4,365,966 100.0%
LOAD_FAST_LOAD_FAST 68 0.0%

LOAD_ATTR_MODULE

Successors and predecessors for LOAD_ATTR_MODULE
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 8,402 99.5%
LOAD_ATTR 46 0.5%
Successors Count Percentage
PUSH_NULL 8,448 100.0%

LOAD_CONST_IMMORTAL

Successors and predecessors for LOAD_CONST_IMMORTAL
Predecessors Count Percentage
STORE_ATTR_INSTANCE_VALUE 13,097,697 74.1%
RESUME_CHECK 4,365,899 24.7%
POP_TOP 208,103 1.2%
STORE_FAST 204 0.0%
LOAD_FAST 136 0.0%
Successors Count Percentage
RETURN_VALUE 8,939,901 50.6%
LOAD_FAST 8,731,798 49.4%
STORE_FAST 136 0.0%
LOAD_CONST_IMMORTAL 136 0.0%
IS_OP 68 0.0%

LOAD_CONST_MORTAL

Successors and predecessors for LOAD_CONST_MORTAL
Predecessors Count Percentage
BUILD_TUPLE 68 50.0%
POP_JUMP_IF_NOT_NONE 68 50.0%
Successors Count Percentage
MAKE_FUNCTION 68 50.0%
STORE_FAST 68 50.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 210,022 100.0%
LOAD_GLOBAL 23 0.0%
Successors Count Percentage
LOAD_FAST 210,045 100.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 4,370,097 95.3%
CALL_LIST_APPEND 207,898 4.5%
POP_TOP 2,077 0.0%
DELETE_FAST 2,077 0.0%
LOAD_FAST 2,077 0.0%
Successors Count Percentage
CALL_ALLOC_AND_ENTER_INIT 4,365,896 95.2%
LOAD_FAST_LOAD_FAST 210,045 4.6%
LOAD_ATTR_MODULE 8,402 0.2%
LOAD_ATTR 46 0.0%
CALL 2 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 4,576,079 51.2%
CALL_ALLOC_AND_ENTER_INIT 4,365,898 48.8%
CACHE 69 0.0%
CALL_FUNCTION_EX 68 0.0%
COPY_FREE_VARS 68 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 4,365,899 48.8%
LOAD_CONST_IMMORTAL 4,365,899 48.8%
LOAD_FAST 208,103 2.3%
BUILD_LIST 2,078 0.0%
LOAD_GLOBAL_MODULE 94 0.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 8,731,796 50.0%
LOAD_FAST_LOAD_FAST 4,365,898 25.0%
LOAD_ATTR_INSTANCE_VALUE 4,365,898 25.0%
STORE_ATTR 4 0.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 13,097,697 75.0%
LOAD_FAST_LOAD_FAST 4,365,899 25.0%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
LOAD_FAST 47 69.1%
TO_BOOL 21 30.9%
Successors Count Percentage
POP_JUMP_IF_TRUE 68 100.0%

UNPACK_SEQUENCE_TWO_TUPLE

Successors and predecessors for UNPACK_SEQUENCE_TWO_TUPLE
Predecessors Count Percentage
CALL_METHOD_DESCRIPTOR_NOARGS 47 69.1%
UNPACK_SEQUENCE 21 30.9%
Successors Count Percentage
STORE_FAST_STORE_FAST 68 100.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
RETURN_VALUE 2 100.0%

LOAD_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
POP_TOP 4 23.5%
STORE_ATTR 3 17.6%
STORE_FAST 3 17.6%
LOAD_FAST 2 11.8%
LOAD_CONST 2 11.8%
Successors Count Percentage
RETURN_VALUE 6 35.3%
STORE_FAST 3 17.6%
CALL 2 11.8%
LOAD_CONST 2 11.8%
LOAD_FAST 2 11.8%

Specialization stats

Specialization stats by family

BINARY_OP

specialization stats for BINARY_OP family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

7 0.1%
hit

Specialized instructions that complete.

8,243 99.1%
miss

Specialized instructions that deopt.

66 0.8%
Success Count Ratio
Success 4 80.0%
Failure 1 20.0%
Failure kind Count Ratio
add different types 1 100.0%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

1 1.1%
hit

Specialized instructions that complete.

68 75.6%
Success Count Ratio
Success 21 100.0%
Failure 0 0.0%

CALL

specialization stats for CALL family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

24 0.0%
hit

Specialized instructions that complete.

9,364,281 100.0%
Success Count Ratio
Success 244 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

2 0.0%
hit

Specialized instructions that complete.

209,977 100.0%
Success Count Ratio
Success 2 100.0%
Failure 0 0.0%

FOR_ITER

specialization stats for FOR_ITER family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

72 0.0%
hit

Specialized instructions that complete.

4,578,024 100.0%
Success Count Ratio
Success 3 60.0%
Failure 2 40.0%
Failure kind Count Ratio
dict values 2 100.0%

LOAD_ATTR

specialization stats for LOAD_ATTR family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

87 0.0%
hit

Specialized instructions that complete.

8,948,688 100.0%
Success Count Ratio
Success 197 90.0%
Failure 22 10.0%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

14 0.0%
hit

Specialized instructions that complete.

4,794,436 100.0%
Success Count Ratio
Success 94 100.0%
Failure 0 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

4 0.0%
hit

Specialized instructions that complete.

17,463,596 100.0%
Success Count Ratio
Success 4 100.0%
Failure 0 0.0%

TO_BOOL

specialization stats for TO_BOOL family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

70 38.9%
hit

Specialized instructions that complete.

68 37.8%
Success Count Ratio
Success 21 50.0%
Failure 21 50.0%
Failure kind Count Ratio
sequence 21 100.0%

UNPACK_SEQUENCE

specialization stats for UNPACK_SEQUENCE family
Kind Count Ratio
deferred

Lists the number of "deferred" (i.e. not specialized) instructions executed.

1 1.1%
hit

Specialized instructions that complete.

68 75.6%
Success Count Ratio
Success 21 100.0%
Failure 0 0.0%

Specialization effectiveness

specialization effectiveness

All entries are execution counts. Should add up to the total number of Tier 1 instructions executed.

Instructions Count Ratio
Basic

Instructions that are not and cannot be specialized, e.g. LOAD_FAST.

72,204,921 50.1%
Not specialized

Instructions that could be specialized but aren't, e.g. LOAD_ATTR, BINARY_SLICE.

939 0.0%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

71,984,360 49.9%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

2,145 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
LOAD_ATTR 87 30.9%
FOR_ITER 72 25.5%
TO_BOOL 70 24.8%
CALL 24 8.5%
LOAD_GLOBAL 14 5.0%
BINARY_OP 7 2.5%
STORE_ATTR 4 1.4%
COMPARE_OP 2 0.7%
BINARY_SUBSCR 1 0.4%
UNPACK_SEQUENCE 1 0.4%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 2,079 49.2%
RESUME_CHECK 2,079 49.2%
BINARY_OP_ADD_FLOAT 66 1.6%
CACHE 0 0.0%
EXIT_INIT_CHECK 0 0.0%
GET_ITER 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 0 0.0%
POP_ITER 0 0.0%
POP_TOP 0 0.0%

Call stats

Inlined calls and frame stats

This shows what fraction of calls to Python functions are inlined (i.e. not having a call at the C level) and for those that are not, where the call comes from. The various categories overlap.

Also includes the count of frame objects created.

Count Ratio
Calls to PyEval_EvalDefault 71 0.0%
Calls to Python functions inlined 8,942,191 100.0%
Calls via PyEval_EvalFrame (total) 71 0.0%
Calls via PyEval_EvalFrame (vector) 71 0.0%
Calls via PyEval_EvalFrame (generator) 0 0.0%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 71 0.0%
Calls via PyEval_EvalFrame (build class) 0 0.0%
Calls via PyEval_EvalFrame (slot) 0 0.0%
Calls via PyEval_EvalFrame (function ex) 69 0.0%
Calls via PyEval_EvalFrame (api) 0 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 0 0.0%
Frames pushed 13,308,160 148.8%

Object stats

Allocations, frees and dict materializatons

Below, "allocations" means "allocations that are not from a freelist". Total allocations = "Allocations from freelist" + "Allocations".

"Inline values" is the number of values arrays inlined into objects.

The cache hit/miss numbers are for the MRO cache, split into dunder and other names.

Count Ratio
Allocations from freelist 2,300 0.0%
Frees to freelist 10,890
Allocations 4,807,328 100.0%
Allocations to 512 bytes 4,807,328 100.0%
Allocations to 4 kbytes 0 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 4,813,677
Inline values 4,365,900
Interpreter mortal increfs 71,136,269 83.2%
Interpreter mortal decrefs 66,989,507 59.4%
Mortal increfs 8,522,957 10.0%
Mortal decrefs 17,479,917 15.5%
Interpreter immortal increfs 5,211,291 6.1%
Interpreter immortal decrefs 27,464,901 24.4%
Immortal increfs 652,100 0.8%
Immortal decrefs 852,880 0.8%
Materialize dict (on request) 0 0.0%
Materialize dict (new key) 0 0.0%
Materialize dict (too big) 0 0.0%
Materialize dict (str subclass) 0 0.0%
Method cache hits 228
Method cache misses 40
Method cache collisions 25
Method cache dunder hits 2
Method cache dunder misses 2

GC stats

GC collections and effectiveness

Collected/visits gives some measure of efficiency.

Generation Collections Objects collected Object visits Reachable from roots Not reachable from roots
0 0 0 0 0 0
1 2,079 0 198,773,325 42,579,999 0
2 4,158 4,366,277 934,424,054 0 0

Optimization (Tier 2) stats

statistics about the Tier 2 optimizer

Rare events

Counts of rare/unlikely events
Event Count
set class

Setting an object's class, obj.__class__ = ...

0
set bases

Setting the bases of a class, cls.__bases__ = ...

0
set eval frame func

Setting the PEP 523 frame eval function _PyInterpreterState_SetFrameEvalFunc()

0
builtin dict

Modifying the builtins, __builtins__.__dict__[var] = ...

0
func modification

Modifying a function, e.g. func.__defaults__ = ..., etc.

0
watched dict modification

A watched dict has been modified

0
watched globals modification

A watched globals() dict has been modified

0

Meta stats

Meta statistics
Count
Number of data files 21

Stats gathered on: 2025-01-23