Skip to content

Latest commit

 

History

History
7368 lines (6720 loc) · 131 KB

bm-20241025-azure-x86_64-brandtbucher-justin_no_externs-3.14.0a1+-64b198a-pystats-gc_collect.md

File metadata and controls

7368 lines (6720 loc) · 131 KB

Pystats results

  • benchmark: gc_collect
  • fork: brandtbucher
  • ref: justin-no-externs
  • commit hash: 64b198a
  • commit date: 2024-10-25T10:03:36-07: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 13,528,398 15.9% 15.9%
STORE_FAST 8,948,976 10.5% 26.3%
RETURN_CONST 8,732,070 10.2% 36.6%
LOAD_FAST_LOAD_FAST 8,526,530 10.0% 46.6%
STORE_ATTR_INSTANCE_VALUE 8,320,504 9.8% 56.3%
ENTER_EXECUTOR 4,578,019 5.4% 61.7%
RESUME_CHECK 4,368,706 5.1% 66.8% 0.0%
RETURN_VALUE 4,368,253 5.1% 71.9%
POP_TOP 4,367,200 5.1% 77.0%
CALL_PY_EXACT_ARGS 4,366,311 5.1% 82.2%
EXIT_INIT_CHECK 4,365,898 5.1% 87.3%
LOAD_ATTR_INSTANCE_VALUE 4,158,334 4.9% 92.1%
LOAD_ATTR_METHOD_WITH_VALUES 4,158,197 4.9% 97.0%
LOAD_GLOBAL_MODULE 422,503 0.5% 97.5%
LOAD_CONST 215,120 0.3% 97.8%
POP_JUMP_IF_FALSE 210,048 0.2% 98.0%
COMPARE_OP_INT 209,977 0.2% 98.3%
FOR_ITER_RANGE 208,091 0.2% 98.5%
GET_ITER 208,049 0.2% 98.7%
CALL_BUILTIN_CLASS 208,046 0.2% 99.0%
LOAD_GLOBAL_BUILTIN 208,046 0.2% 99.2%
LOAD_ATTR_METHOD_NO_DICT 208,035 0.2% 99.5%
CALL_ALLOC_AND_ENTER_INIT 208,008 0.2% 99.7%
CALL_LIST_APPEND 207,899 0.2% 100.0%
PUSH_NULL 6,662 0.0% 100.0%
LOAD_ATTR_MODULE 6,449 0.0% 100.0%
CALL_NON_PY_GENERAL 4,360 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,157 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_LIST 149 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%
JUMP_BACKWARD 117 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%
BINARY_OP 12 0.0% 100.0%
RESUME 11 0.0% 100.0% 19,118.2%
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
ENTER_EXECUTOR RETURN_CONST 4,571,544 5.4% 5.4%
STORE_FAST LOAD_FAST 4,370,334 5.1% 10.5%
RETURN_VALUE STORE_FAST 4,368,115 5.1% 15.6%
CALL_PY_EXACT_ARGS RESUME_CHECK 4,366,243 5.1% 20.7%
RETURN_CONST POP_TOP 4,366,101 5.1% 25.8%
LOAD_FAST STORE_FAST 4,365,900 5.1% 30.9%
EXIT_INIT_CHECK RETURN_VALUE 4,365,898 5.1% 36.1%
RETURN_CONST EXIT_INIT_CHECK 4,365,898 5.1% 41.2%
STORE_ATTR_INSTANCE_VALUE RETURN_CONST 4,160,252 4.9% 46.1%
POP_TOP LOAD_FAST 4,158,880 4.9% 50.9%
LOAD_FAST LOAD_ATTR_METHOD_WITH_VALUES 4,158,153 4.9% 55.8%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST 4,158,129 4.9% 60.7%
LOAD_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 4,158,108 4.9% 65.5%
RESUME_CHECK LOAD_FAST_LOAD_FAST 4,158,062 4.9% 70.4%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST_LOAD_FAST 4,158,062 4.9% 75.3%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 4,158,061 4.9% 80.2%
LOAD_ATTR_INSTANCE_VALUE STORE_ATTR_INSTANCE_VALUE 4,158,061 4.9% 85.0%
LOAD_FAST CALL_PY_EXACT_ARGS 4,158,059 4.9% 89.9%
STORE_FAST ENTER_EXECUTOR 4,157,984 4.9% 94.8%
STORE_FAST LOAD_GLOBAL_MODULE 210,208 0.2% 95.0%
LOAD_FAST LOAD_CONST 210,186 0.2% 95.3%
COMPARE_OP_INT POP_JUMP_IF_FALSE 209,977 0.2% 95.5%
RESUME_CHECK LOAD_FAST 208,103 0.2% 95.8%
FOR_ITER_RANGE STORE_FAST 208,087 0.2% 96.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 208,070 0.2% 96.3%
GET_ITER FOR_ITER_RANGE 208,046 0.2% 96.5%
CALL_BUILTIN_CLASS GET_ITER 208,046 0.2% 96.7%
LOAD_GLOBAL_BUILTIN LOAD_FAST 208,046 0.2% 97.0%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 208,046 0.2% 97.2%
LOAD_FAST CALL_BUILTIN_CLASS 208,023 0.2% 97.5%
STORE_FAST LOAD_GLOBAL_BUILTIN 208,023 0.2% 97.7%
LOAD_GLOBAL_MODULE CALL_ALLOC_AND_ENTER_INIT 208,006 0.2% 98.0%
CALL_ALLOC_AND_ENTER_INIT ENTER_EXECUTOR 207,985 0.2% 98.2%
POP_JUMP_IF_FALSE LOAD_FAST 207,969 0.2% 98.4%
LOAD_ATTR_METHOD_NO_DICT LOAD_FAST 207,899 0.2% 98.7%
LOAD_CONST COMPARE_OP_INT 207,898 0.2% 98.9%
LOAD_FAST CALL_LIST_APPEND 207,898 0.2% 99.2%
LOAD_FAST LOAD_ATTR_METHOD_NO_DICT 207,898 0.2% 99.4%
CALL_LIST_APPEND LOAD_GLOBAL_MODULE 207,898 0.2% 99.7%
POP_TOP ENTER_EXECUTOR 207,884 0.2% 99.9%
LOAD_ATTR_MODULE PUSH_NULL 6,449 0.0% 99.9%
LOAD_GLOBAL_MODULE LOAD_ATTR_MODULE 6,403 0.0% 99.9%
LOAD_CONST LOAD_FAST 4,382 0.0% 99.9%
LOAD_FAST STORE_ATTR_INSTANCE_VALUE 4,378 0.0% 99.9%
PUSH_NULL CALL_NON_PY_GENERAL 4,248 0.0% 99.9%
RESUME_CHECK LOAD_CONST 2,258 0.0% 99.9%
STORE_ATTR_INSTANCE_VALUE LOAD_CONST 2,190 0.0% 99.9%
ENTER_EXECUTOR RESUME_CHECK 2,165 0.0% 99.9%
PUSH_NULL CALL_BUILTIN_FAST_WITH_KEYWORDS 2,155 0.0% 99.9%
LOAD_FAST POP_JUMP_IF_NOT_NONE 2,148 0.0% 99.9%
ENTER_EXECUTOR ENTER_EXECUTOR 2,103 0.0% 100.0%
LOAD_FAST_LOAD_FAST LOAD_FAST 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 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%
DELETE_FAST LOAD_GLOBAL_MODULE 2,077 0.0% 100.0%
LOAD_CONST BINARY_OP_ADD_INT 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%
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%
POP_JUMP_IF_FALSE ENTER_EXECUTOR 2,063 0.0% 100.0%
ENTER_EXECUTOR RETURN_VALUE 1,396 0.0% 100.0%
LOAD_FAST RETURN_VALUE 821 0.0% 100.0%
ENTER_EXECUTOR POP_TOP 811 0.0% 100.0%
LOAD_CONST STORE_FAST 276 0.0% 100.0%
POP_TOP RETURN_CONST 270 0.0% 100.0%
STORE_FAST LOAD_CONST 207 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_CONST LOAD_CONST 138 0.0% 100.0%
LOAD_FAST PUSH_NULL 138 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%
POP_TOP JUMP_BACKWARD 85 0.0% 100.0%
BUILD_LIST STORE_FAST 80 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS POP_TOP 79 0.0% 100.0%
RESUME_CHECK BUILD_LIST 79 0.0% 100.0%
POP_TOP LOAD_GLOBAL_MODULE 78 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 POP_TOP 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%
BUILD_TUPLE LOAD_CONST 69 0.0% 100.0%
CALL_INTRINSIC_1 CALL_FUNCTION_EX 69 0.0% 100.0%
FOR_ITER LOAD_FAST 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_CONST 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_CONST 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 208,046 100.0%
CALL 3 0.0%
Successors Count Percentage
FOR_ITER_RANGE 208,046 100.0%
FOR_ITER 3 0.0%

MAKE_FUNCTION

Successors and predecessors for MAKE_FUNCTION
Predecessors Count Percentage
LOAD_CONST 69 100.0%
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_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_CONST 4,366,101 100.0%
ENTER_EXECUTOR 811 0.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 79 0.0%
RETURN_VALUE 69 0.0%
CALL_METHOD_DESCRIPTOR_O 68 0.0%
Successors Count Percentage
LOAD_FAST 4,158,880 95.2%
ENTER_EXECUTOR 207,884 4.8%
RETURN_CONST 270 0.0%
JUMP_BACKWARD 85 0.0%
LOAD_GLOBAL_MODULE 78 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_ATTR_MODULE 6,449 96.8%
LOAD_FAST 138 2.1%
LOAD_DEREF 69 1.0%
LOAD_ATTR 6 0.1%
Successors Count Percentage
CALL_NON_PY_GENERAL 4,248 63.8%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,155 32.3%
LOAD_FAST 138 2.1%
LOAD_FAST_LOAD_FAST 69 1.0%
CALL 52 0.8%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
EXIT_INIT_CHECK 4,365,898 99.9%
ENTER_EXECUTOR 1,396 0.0%
LOAD_FAST 821 0.0%
RETURN_VALUE 69 0.0%
CALL_NON_PY_GENERAL 68 0.0%
Successors Count Percentage
STORE_FAST 4,368,115 100.0%
POP_TOP 69 0.0%
RETURN_VALUE 69 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_CONST 2 16.7%
LOAD_FAST 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 79 53.0%
LOAD_FAST 69 46.3%
RESUME 1 0.7%
Successors Count Percentage
STORE_FAST 80 53.7%
LOAD_DEREF 69 46.3%

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 69 50.0%
CALL_METHOD_DESCRIPTOR_O 47 34.1%
CALL 22 15.9%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 70 26.1%
PUSH_NULL 52 19.4%
LOAD_CONST 44 16.4%
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_CONST 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
LOAD_FAST 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 69 100.0%
Successors Count Percentage
STORE_FAST 69 100.0%

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
POP_TOP 85 72.6%
POP_JUMP_IF_FALSE 16 13.7%
STORE_FAST 16 13.7%
Successors Count Percentage
FOR_ITER 72 61.5%
FOR_ITER_RANGE 42 35.9%
RETURN_CONST 2 1.7%
RESUME_CHECK 1 0.9%

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_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
LOAD_FAST 210,186 97.7%
RESUME_CHECK 2,258 1.0%
STORE_ATTR_INSTANCE_VALUE 2,190 1.0%
STORE_FAST 207 0.1%
LOAD_CONST 138 0.1%
Successors Count Percentage
COMPARE_OP_INT 207,898 96.6%
LOAD_FAST 4,382 2.0%
BINARY_OP_ADD_INT 2,077 1.0%
STORE_FAST 276 0.1%
LOAD_CONST 138 0.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
STORE_FAST 4,370,334 32.3%
POP_TOP 4,158,880 30.7%
LOAD_ATTR_METHOD_WITH_VALUES 4,158,129 30.7%
RESUME_CHECK 208,103 1.5%
LOAD_GLOBAL_BUILTIN 208,046 1.5%
Successors Count Percentage
STORE_FAST 4,365,900 32.3%
LOAD_ATTR_METHOD_WITH_VALUES 4,158,153 30.7%
CALL_PY_EXACT_ARGS 4,158,059 30.7%
LOAD_CONST 210,186 1.6%
CALL_BUILTIN_CLASS 208,023 1.5%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
RESUME_CHECK 4,158,062 48.8%
STORE_ATTR_INSTANCE_VALUE 4,158,062 48.8%
LOAD_GLOBAL_MODULE 208,046 2.4%
POP_JUMP_IF_NOT_NONE 2,079 0.0%
LOAD_ATTR 71 0.0%
Successors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 4,158,108 48.8%
STORE_ATTR_INSTANCE_VALUE 4,158,061 48.8%
CALL_PY_EXACT_ARGS 208,070 2.4%
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%

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%
ENTER_EXECUTOR 2,063 1.0%
JUMP_BACKWARD 16 0.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 69 3.2%

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%

RETURN_CONST

Successors and predecessors for RETURN_CONST
Predecessors Count Percentage
ENTER_EXECUTOR 4,571,544 52.4%
STORE_ATTR_INSTANCE_VALUE 4,160,252 47.6%
POP_TOP 270 0.0%
JUMP_BACKWARD 2 0.0%
STORE_ATTR 2 0.0%
Successors Count Percentage
POP_TOP 4,366,101 50.0%
EXIT_INIT_CHECK 4,365,898 50.0%
STORE_FAST 69 0.0%
INTERPRETER_EXIT 2 0.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%
RETURN_CONST 2 25.0%
LOAD_CONST 1 12.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,115 48.8%
LOAD_FAST 4,365,900 48.8%
FOR_ITER_RANGE 208,087 2.3%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,078 0.0%
CALL_NON_PY_GENERAL 2,078 0.0%
Successors Count Percentage
LOAD_FAST 4,370,334 48.8%
ENTER_EXECUTOR 4,157,984 46.5%
LOAD_GLOBAL_MODULE 210,208 2.3%
LOAD_GLOBAL_BUILTIN 208,023 2.3%
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_CONST 2 18.2%
LOAD_GLOBAL 2 18.2%
BUILD_LIST 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_CONST 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_CONST 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 208,006 100.0%
CALL 2 0.0%
Successors Count Percentage
ENTER_EXECUTOR 207,985 100.0%
RESUME_CHECK 23 0.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
LOAD_FAST 208,023 100.0%
CALL 23 0.0%
Successors Count Percentage
GET_ITER 208,046 100.0%

CALL_BUILTIN_FAST_WITH_KEYWORDS

Successors and predecessors for CALL_BUILTIN_FAST_WITH_KEYWORDS
Predecessors Count Percentage
PUSH_NULL 2,155 99.9%
CALL 2 0.1%
Successors Count Percentage
STORE_FAST 2,078 96.3%
POP_TOP 79 3.7%

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,158,059 95.2%
LOAD_FAST_LOAD_FAST 208,070 4.8%
CALL 88 0.0%
LOAD_CONST 47 0.0%
LOAD_ATTR_INSTANCE_VALUE 47 0.0%
Successors Count Percentage
RESUME_CHECK 4,366,243 100.0%
COPY_FREE_VARS 68 0.0%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_CONST 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_CONST 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
GET_ITER 208,046 100.0%
JUMP_BACKWARD 42 0.0%
FOR_ITER 3 0.0%
Successors Count Percentage
STORE_FAST 208,087 100.0%
LOAD_FAST 4 0.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 4,158,108 100.0%
LOAD_FAST 162 0.0%
LOAD_ATTR 64 0.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 4,158,061 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,158,153 100.0%
LOAD_ATTR 44 0.0%
Successors Count Percentage
LOAD_FAST 4,158,129 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 6,403 99.3%
LOAD_ATTR 46 0.7%
Successors Count Percentage
PUSH_NULL 6,449 100.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 208,023 100.0%
LOAD_GLOBAL 23 0.0%
Successors Count Percentage
LOAD_FAST 208,046 100.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 210,208 49.8%
CALL_LIST_APPEND 207,898 49.2%
DELETE_FAST 2,077 0.5%
LOAD_FAST 2,077 0.5%
RESUME_CHECK 94 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 208,046 49.2%
CALL_ALLOC_AND_ENTER_INIT 208,006 49.2%
LOAD_ATTR_MODULE 6,403 1.5%
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,366,243 99.9%
ENTER_EXECUTOR 2,165 0.0%
CACHE 69 0.0%
CALL_FUNCTION_EX 68 0.0%
COPY_FREE_VARS 68 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 4,158,062 95.2%
LOAD_FAST 208,103 4.8%
LOAD_CONST 2,258 0.1%
LOAD_GLOBAL_MODULE 94 0.0%
BUILD_LIST 79 0.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 4,158,061 50.0%
LOAD_ATTR_INSTANCE_VALUE 4,158,061 50.0%
LOAD_FAST 4,378 0.1%
STORE_ATTR 4 0.0%
Successors Count Percentage
RETURN_CONST 4,160,252 50.0%
LOAD_FAST_LOAD_FAST 4,158,062 50.0%
LOAD_CONST 2,190 0.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%

ENTER_EXECUTOR

Successors and predecessors for ENTER_EXECUTOR
Predecessors Count Percentage
STORE_FAST 4,157,984 90.8%
CALL_ALLOC_AND_ENTER_INIT 207,985 4.5%
POP_TOP 207,884 4.5%
ENTER_EXECUTOR 2,103 0.0%
POP_JUMP_IF_FALSE 2,063 0.0%
Successors Count Percentage
RETURN_CONST 4,571,544 99.9%
RESUME_CHECK 2,165 0.0%
ENTER_EXECUTOR 2,103 0.0%
RETURN_VALUE 1,396 0.0%
POP_TOP 811 0.0%

INTERPRETER_EXIT

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

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.

208,091 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,946,689 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.

630,549 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.

58,060,971 68.0%
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.

27,272,171 32.0%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

2,169 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,103 49.2%
RESUME_CHECK 2,103 49.2%
BINARY_OP_ADD_FLOAT 66 1.5%
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_TOP 0 0.0%
PUSH_NULL 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 221 0.0%
Frees to freelist 6,820
Allocations 4,809,478 100.0%
Allocations to 512 bytes 4,809,474 100.0%
Allocations to 4 kbytes 4 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 4,821,129
Inline values 4,365,900
Interpreter mortal increfs 52,631,172 48.7%
Interpreter mortal decrefs 57,841,377 44.2%
Mortal increfs 40,552,761 37.6%
Mortal decrefs 40,155,912 30.7%
Interpreter immortal increfs 9,992,442 9.3%
Interpreter immortal decrefs 22,677,503 17.3%
Immortal increfs 4,818,141 4.5%
Immortal decrefs 10,216,597 7.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 33
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
0 0 0 0
1 2,058 0 25,086,244
2 4,158 4,366,278 748,869,458

Optimization (Tier 2) stats

statistics about the Tier 2 optimizer
Count Ratio
Optimization attempts

The number of times a potential trace is identified. Specifically, this occurs in the JUMP BACKWARD instruction when the counter reaches a threshold.

1,181
Traces created

The number of traces that were successfully created.

26 2.2%
Trace stack overflow

A trace is truncated because it would require more than 5 stack frames.

0 0.0%
Trace stack underflow

A potential trace is abandoned because it pops more frames than it pushes.

1,178 99.7%
Trace too long

A trace is truncated because it is longer than the instruction buffer.

0 0.0%
Trace too short

A potential trace is abandoced because it it too short.

1,155 97.8%
Inner loop found

A trace is truncated because it has an inner loop

0 0.0%
Recursive call

A trace is truncated because it has a recursive call.

0 0.0%
Low confidence

A trace is abandoned because the likelihood of the jump to top being taken is too low.

0 0.0%
Executors invalidated

The number of executors that were invalidated due to watched dictionary changes.

0 0.0%
Traces executed

The number of traces that were executed

8,942,979
Uops executed

The total number of uops (micro-operations) that were executed

131,874,789 1,474.6%
Count Ratio
Optimizer attempts

The number of times the trace optimizer (_Py_uop_analyze_and_optimize) was run.

26
Optimizer successes

The number of traces that were successfully optimized.

26 100.0%
Optimizer no memory

The number of optimizations that failed due to no memory.

0 0.0%
Remove globals builtins changed

The builtins changed during optimization

0 0.0%
Remove globals incorrect keys

The keys in the globals dictionary aren't what was expected

0 0.0%

Trace length histogram

trace length histogram
Range Count Ratio
<= 1 0 0.0%
<= 2 0 0.0%
<= 4 0 0.0%
<= 8 21 80.8%
<= 16 0 0.0%
<= 32 3 11.5%
<= 64 1 3.8%
<= 128 1 3.8%

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 1 0 0.0%
<= 2 0 0.0%
<= 4 0 0.0%
<= 8 21 80.8%
<= 16 3 11.5%
<= 32 0 0.0%
<= 64 2 7.7%

Trace run length histogram

trace run length histogram
Range Count Ratio
<= 1 0 0.0%

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_LOAD_FAST_0 9,560,765 7.2% 7.2%
_GUARD_DORV_NO_DICT 9,143,092 6.9% 14.2%
_STORE_ATTR_INSTANCE_VALUE 9,143,092 6.9% 21.1%
_MAKE_WARM 8,942,979 6.8% 27.9%
_START_EXECUTOR 8,942,979 6.8% 34.7%
_LOAD_CONST_INLINE_BORROW 8,935,255 6.8% 41.5%
_SET_IP 8,739,658 6.6% 48.1%
_GUARD_TYPE_VERSION 4,987,220 3.8% 51.9%
_EXIT_TRACE 4,782,986 3.6% 55.5%
_CHECK_PERIODIC 4,371,932 3.3% 58.8%
_CHECK_VALIDITY 4,371,932 3.3% 62.1%
_GUARD_NOT_EXHAUSTED_RANGE 4,369,933 3.3% 65.4% 4.8%
_ITER_CHECK_RANGE 4,369,933 3.3% 68.7%
_PUSH_FRAME 4,367,726 3.3% 72.1%
_TIER2_RESUME_CHECK 4,365,812 3.3% 75.4% 0.0%
_CHECK_FUNCTION 4,159,889 3.2% 78.5%
_ITER_NEXT_RANGE 4,159,889 3.2% 81.7%
_LOAD_CONST_INLINE_WITH_NULL 4,159,889 3.2% 84.8%
_CHECK_AND_ALLOCATE_OBJECT 4,157,890 3.2% 88.0%
_CREATE_INIT_FRAME 4,157,890 3.2% 91.1%
_DYNAMIC_EXIT 4,157,890 3.2% 94.3%
_STORE_FAST_3 4,157,890 3.2% 97.4%
_POP_TOP 419,069 0.3% 97.8%
_LOAD_FAST_2 211,232 0.2% 97.9%
_RESUME_CHECK 209,836 0.2% 98.1%
_CHECK_FUNCTION_EXACT_ARGS 209,836 0.2% 98.2%
_CHECK_FUNCTION_VERSION 209,836 0.2% 98.4%
_CHECK_STACK_SPACE_OPERAND 209,836 0.2% 98.6%
_LOAD_FAST_1 209,836 0.2% 98.7%
_SAVE_RETURN_OFFSET 209,836 0.2% 98.9%
_RETURN_VALUE 207,837 0.2% 99.0%
_CHECK_MANAGED_OBJECT_HAS_VALUES 207,837 0.2% 99.2%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 207,837 0.2% 99.4%
_GUARD_KEYS_VERSION 207,837 0.2% 99.5%
_INIT_CALL_PY_EXACT_ARGS_1 207,837 0.2% 99.7%
_LOAD_ATTR_INSTANCE_VALUE_0 207,837 0.2% 99.8%
_LOAD_ATTR_METHOD_WITH_VALUES 207,837 0.2% 100.0%
_DEOPT 2,103 0.0% 100.0%
_GET_ITER 1,999 0.0% 100.0%
_PUSH_NULL 1,999 0.0% 100.0%
_BUILD_LIST 1,999 0.0% 100.0%
_CALL_BUILTIN_CLASS 1,999 0.0% 100.0%
_CALL_BUILTIN_FAST_WITH_KEYWORDS 1,999 0.0% 100.0%
_CHECK_VALIDITY_AND_SET_IP 1,999 0.0% 100.0%
_INIT_CALL_PY_EXACT_ARGS_2 1,999 0.0% 100.0%
_LOAD_CONST_INLINE 1,999 0.0% 100.0%
_LOAD_CONST_INLINE_BORROW_WITH_NULL 1,999 0.0% 100.0%
_STORE_FAST_2 1,999 0.0% 100.0%
_STORE_FAST_4 1,999 0.0% 100.0%

Pair counts

Pair counts for top 100 Non-JIT uop pairs

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

Unsupported opcodes

unsupported opcodes

Optimizer errored out with opcode

Optimization stopped after encountering this opcode

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: 2024-10-25