Skip to content

Latest commit

 

History

History
7702 lines (7017 loc) · 136 KB

bm-20250121-azure-x86_64-brandtbucher-remove_optimizer_api-3.14.0a4+-085e172-pystats-gc_collect.md

File metadata and controls

7702 lines (7017 loc) · 136 KB

Pystats results

  • benchmark: gc_collect
  • fork: brandtbucher
  • ref: remove-optimizer-api
  • commit hash: 085e172
  • commit date: 2025-01-21T19:51:13-08: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,601,735 15.0% 15.0%
RETURN_VALUE 13,126,539 14.5% 29.4%
STORE_FAST 8,980,629 9.9% 39.3%
LOAD_FAST_LOAD_FAST 8,580,961 9.5% 48.8%
STORE_ATTR_INSTANCE_VALUE 8,390,446 9.2% 58.0%
ENTER_EXECUTOR 4,572,838 5.0% 63.1%
RESUME_CHECK 4,405,676 4.9% 67.9% 0.0%
POP_TOP 4,394,604 4.8% 72.8%
CALL_PY_EXACT_ARGS 4,394,526 4.8% 77.6%
EXIT_INIT_CHECK 4,365,898 4.8% 82.4%
LOAD_CONST_IMMORTAL 4,244,071 4.7% 87.1%
LOAD_ATTR_INSTANCE_VALUE 4,184,550 4.6% 91.7%
LOAD_METHOD_WITH_VALUES 4,184,413 4.6% 96.3%
PUSH_NULL 664,560 0.7% 97.0%
LOAD_GLOBAL_MODULE 454,156 0.5% 97.5%
FOR_ITER_RANGE 238,214 0.3% 97.8%
CALL_ALLOC_AND_ENTER_INIT 235,663 0.3% 98.1%
LOAD_SMALL_INT 210,117 0.2% 98.3%
GET_ITER 210,048 0.2% 98.5%
POP_JUMP_IF_FALSE 210,048 0.2% 98.7%
CALL_BUILTIN_CLASS 210,045 0.2% 99.0%
LOAD_GLOBAL_BUILTIN 210,045 0.2% 99.2%
COMPARE_OP_INT 209,977 0.2% 99.4%
LOAD_METHOD_NO_DICT 208,035 0.2% 99.7%
CALL_LIST_APPEND 207,899 0.2% 99.9%
POP_ITER 28,496 0.0% 99.9%
JUMP_BACKWARD_JIT 28,260 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%
CALL 268 0.0% 100.0%
LOAD_METHOD 185 0.0% 100.0%
CALL_FUNCTION_EX 138 0.0% 100.0%
BUILD_TUPLE 138 0.0% 100.0%
LOAD_DEREF 138 0.0% 100.0%
LOAD_CONST_MORTAL 136 0.0% 100.0%
LOAD_ATTR 121 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% 19,290.9%
STORE_ATTR 8 0.0% 100.0%
COMPARE_OP 4 0.0% 100.0%
JUMP_BACKWARD 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_VALUE 4,536,554 5.0% 5.0%
CALL_PY_EXACT_ARGS RESUME_CHECK 4,394,458 4.8% 9.8%
RETURN_VALUE POP_TOP 4,392,386 4.8% 14.7%
STORE_FAST LOAD_FAST 4,370,334 4.8% 19.5%
RETURN_VALUE STORE_FAST 4,368,184 4.8% 24.3%
LOAD_FAST STORE_FAST 4,365,900 4.8% 29.1%
EXIT_INIT_CHECK RETURN_VALUE 4,365,898 4.8% 33.9%
RETURN_VALUE EXIT_INIT_CHECK 4,365,898 4.8% 38.7%
LOAD_CONST_IMMORTAL RETURN_VALUE 4,221,705 4.7% 43.4%
STORE_ATTR_INSTANCE_VALUE LOAD_CONST_IMMORTAL 4,206,168 4.6% 48.0%
LOAD_FAST LOAD_METHOD_WITH_VALUES 4,184,369 4.6% 52.6%
LOAD_METHOD_WITH_VALUES LOAD_FAST 4,184,345 4.6% 57.2%
LOAD_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 4,184,324 4.6% 61.8%
RESUME_CHECK LOAD_FAST_LOAD_FAST 4,184,278 4.6% 66.4%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST_LOAD_FAST 4,184,278 4.6% 71.1%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 4,184,277 4.6% 75.7%
LOAD_ATTR_INSTANCE_VALUE STORE_ATTR_INSTANCE_VALUE 4,184,277 4.6% 80.3%
LOAD_FAST CALL_PY_EXACT_ARGS 4,184,275 4.6% 84.9%
POP_TOP LOAD_FAST 4,158,069 4.6% 89.5%
STORE_FAST ENTER_EXECUTOR 4,153,904 4.6% 94.0%
LOAD_GLOBAL_MODULE PUSH_NULL 445,708 0.5% 94.5%
STORE_FAST LOAD_GLOBAL_MODULE 239,862 0.3% 94.8%
FOR_ITER_RANGE STORE_FAST 237,741 0.3% 95.1%
PUSH_NULL CALL_ALLOC_AND_ENTER_INIT 235,661 0.3% 95.3%
CALL_ALLOC_AND_ENTER_INIT ENTER_EXECUTOR 230,932 0.3% 95.6%
PUSH_NULL LOAD_FAST 210,186 0.2% 95.8%
PUSH_NULL LOAD_FAST_LOAD_FAST 210,117 0.2% 96.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 210,069 0.2% 96.3%
LOAD_FAST LOAD_SMALL_INT 210,048 0.2% 96.5%
GET_ITER FOR_ITER_RANGE 210,045 0.2% 96.7%
CALL_BUILTIN_CLASS GET_ITER 210,045 0.2% 97.0%
LOAD_GLOBAL_BUILTIN PUSH_NULL 210,045 0.2% 97.2%
LOAD_FAST CALL_BUILTIN_CLASS 210,022 0.2% 97.4%
STORE_FAST LOAD_GLOBAL_BUILTIN 210,022 0.2% 97.7%
COMPARE_OP_INT POP_JUMP_IF_FALSE 209,977 0.2% 97.9%
RESUME_CHECK LOAD_FAST 208,103 0.2% 98.1%
POP_JUMP_IF_FALSE LOAD_FAST 207,969 0.2% 98.3%
LOAD_METHOD_NO_DICT LOAD_FAST 207,899 0.2% 98.6%
LOAD_FAST CALL_LIST_APPEND 207,898 0.2% 98.8%
LOAD_FAST LOAD_METHOD_NO_DICT 207,898 0.2% 99.0%
LOAD_SMALL_INT COMPARE_OP_INT 207,898 0.2% 99.3%
CALL_LIST_APPEND LOAD_GLOBAL_MODULE 207,898 0.2% 99.5%
POP_TOP ENTER_EXECUTOR 185,884 0.2% 99.7%
POP_ITER LOAD_FAST 28,496 0.0% 99.7%
JUMP_BACKWARD_JIT FOR_ITER_RANGE 28,166 0.0% 99.8%
ENTER_EXECUTOR POP_ITER 27,954 0.0% 99.8%
POP_TOP LOAD_CONST_IMMORTAL 26,482 0.0% 99.8%
POP_TOP JUMP_BACKWARD_JIT 22,083 0.0% 99.8%
LOAD_CONST_IMMORTAL LOAD_FAST 21,890 0.0% 99.9%
LOAD_FAST STORE_ATTR_INSTANCE_VALUE 21,888 0.0% 99.9%
RESUME_CHECK LOAD_CONST_IMMORTAL 10,945 0.0% 99.9%
LOAD_ATTR_MODULE PUSH_NULL 8,448 0.0% 99.9%
LOAD_GLOBAL_MODULE LOAD_ATTR_MODULE 8,402 0.0% 99.9%
ENTER_EXECUTOR RESUME_CHECK 6,212 0.0% 99.9%
CALL_ALLOC_AND_ENTER_INIT RESUME_CHECK 4,731 0.0% 99.9%
PUSH_NULL CALL_NON_PY_GENERAL 4,248 0.0% 99.9%
PUSH_NULL CALL_BUILTIN_FAST_WITH_KEYWORDS 4,154 0.0% 99.9%
STORE_FAST JUMP_BACKWARD_JIT 4,095 0.0% 99.9%
LOAD_FAST RETURN_VALUE 2,217 0.0% 99.9%
LOAD_FAST POP_JUMP_IF_NOT_NONE 2,148 0.0% 99.9%
ENTER_EXECUTOR ENTER_EXECUTOR 2,118 0.0% 99.9%
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_NOT_NONE LOAD_FAST_LOAD_FAST 2,079 0.0% 100.0%
STORE_FAST DELETE_FAST 2,079 0.0% 100.0%
POP_JUMP_IF_FALSE JUMP_BACKWARD_JIT 2,078 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%
FOR_ITER_RANGE POP_ITER 473 0.0% 100.0%
LOAD_FAST PUSH_NULL 207 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 204 0.0% 100.0%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 162 0.0% 100.0%
PUSH_NULL CALL_FUNCTION_EX 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_FAST LOAD_METHOD 119 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE LOAD_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_JIT FOR_ITER 72 0.0% 100.0%
LOAD_GLOBAL LOAD_GLOBAL_MODULE 71 0.0% 100.0%
LOAD_METHOD LOAD_FAST_LOAD_FAST 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%
RETURN_VALUE RETURN_VALUE 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%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
PUSH_NULL 138 100.0%
Successors Count Percentage
RESUME_CHECK 68 98.6%
RESUME 1 1.4%

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
ENTER_EXECUTOR 27,954 98.1%
FOR_ITER_RANGE 473 1.7%
FOR_ITER 69 0.2%
Successors Count Percentage
LOAD_FAST 28,496 100.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_VALUE 4,392,386 99.9%
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 94.6%
ENTER_EXECUTOR 185,884 4.2%
LOAD_CONST_IMMORTAL 26,482 0.6%
JUMP_BACKWARD_JIT 22,083 0.5%
LOAD_GLOBAL_MODULE 2,077 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 445,708 67.1%
LOAD_GLOBAL_BUILTIN 210,045 31.6%
LOAD_ATTR_MODULE 8,448 1.3%
LOAD_FAST 207 0.0%
CALL_INTRINSIC_1 69 0.0%
Successors Count Percentage
CALL_ALLOC_AND_ENTER_INIT 235,661 35.5%
LOAD_FAST 210,186 31.6%
LOAD_FAST_LOAD_FAST 210,117 31.6%
CALL_NON_PY_GENERAL 4,248 0.6%
CALL_BUILTIN_FAST_WITH_KEYWORDS 4,154 0.6%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
ENTER_EXECUTOR 4,536,554 34.6%
EXIT_INIT_CHECK 4,365,898 33.3%
LOAD_CONST_IMMORTAL 4,221,705 32.2%
LOAD_FAST 2,217 0.0%
RETURN_VALUE 69 0.0%
Successors Count Percentage
POP_TOP 4,392,386 33.5%
STORE_FAST 4,368,184 33.3%
EXIT_INIT_CHECK 4,365,898 33.3%
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 56 20.9%
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_INTRINSIC_1

Successors and predecessors for CALL_INTRINSIC_1
Predecessors Count Percentage
LIST_EXTEND 69 100.0%
Successors Count Percentage
PUSH_NULL 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_JIT 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_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_GLOBAL_MODULE 46 38.0%
LOAD_FAST 45 37.2%
LOAD_FAST_LOAD_FAST 24 19.8%
LOAD_GLOBAL 6 5.0%
Successors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 64 52.9%
LOAD_ATTR_MODULE 46 38.0%
PUSH_NULL 6 5.0%
LOAD_METHOD 2 1.7%
TO_BOOL 1 0.8%

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.1%
LOAD_METHOD_WITH_VALUES 4,184,345 30.8%
POP_TOP 4,158,069 30.6%
PUSH_NULL 210,186 1.5%
RESUME_CHECK 208,103 1.5%
Successors Count Percentage
STORE_FAST 4,365,900 32.1%
LOAD_METHOD_WITH_VALUES 4,184,369 30.8%
CALL_PY_EXACT_ARGS 4,184,275 30.8%
LOAD_SMALL_INT 210,048 1.5%
CALL_BUILTIN_CLASS 210,022 1.5%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
RESUME_CHECK 4,184,278 48.8%
STORE_ATTR_INSTANCE_VALUE 4,184,278 48.8%
PUSH_NULL 210,117 2.4%
POP_JUMP_IF_NOT_NONE 2,079 0.0%
LOAD_METHOD 71 0.0%
Successors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 4,184,324 48.8%
STORE_ATTR_INSTANCE_VALUE 4,184,277 48.8%
CALL_PY_EXACT_ARGS 210,069 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%
PUSH_NULL 8 7.4%
LOAD_ATTR 6 5.6%

LOAD_METHOD

Successors and predecessors for LOAD_METHOD
Predecessors Count Percentage
LOAD_FAST 119 64.3%
LOAD_ATTR_INSTANCE_VALUE 42 22.7%
LOAD_METHOD 22 11.9%
LOAD_ATTR 2 1.1%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 71 38.4%
LOAD_METHOD_WITH_VALUES 44 23.8%
LOAD_METHOD_NO_DICT 43 23.2%
LOAD_METHOD 22 11.9%
LOAD_FAST 4 2.2%

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_JIT 2,078 1.0%
JUMP_BACKWARD 1 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_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 48.6%
LOAD_FAST 4,365,900 48.6%
FOR_ITER_RANGE 237,741 2.6%
BUILD_LIST 2,079 0.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 2,078 0.0%
Successors Count Percentage
LOAD_FAST 4,370,334 48.7%
ENTER_EXECUTOR 4,153,904 46.3%
LOAD_GLOBAL_MODULE 239,862 2.7%
LOAD_GLOBAL_BUILTIN 210,022 2.3%
JUMP_BACKWARD_JIT 4,095 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
PUSH_NULL 235,661 100.0%
CALL 2 0.0%
Successors Count Percentage
ENTER_EXECUTOR 230,932 98.0%
RESUME_CHECK 4,731 2.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_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,184,275 95.2%
LOAD_FAST_LOAD_FAST 210,069 4.8%
CALL 88 0.0%
LOAD_ATTR_INSTANCE_VALUE 47 0.0%
LOAD_CONST_IMMORTAL 47 0.0%
Successors Count Percentage
RESUME_CHECK 4,394,458 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
GET_ITER 210,045 88.2%
JUMP_BACKWARD_JIT 28,166 11.8%
FOR_ITER 3 0.0%
Successors Count Percentage
STORE_FAST 237,741 99.8%
POP_ITER 473 0.2%

JUMP_BACKWARD_JIT

Successors and predecessors for JUMP_BACKWARD_JIT
Predecessors Count Percentage
POP_TOP 22,083 78.1%
STORE_FAST 4,095 14.5%
POP_JUMP_IF_FALSE 2,078 7.4%
JUMP_BACKWARD 4 0.0%
Successors Count Percentage
FOR_ITER_RANGE 28,166 99.7%
FOR_ITER 72 0.3%
RETURN_VALUE 21 0.1%
RESUME_CHECK 1 0.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 4,184,324 100.0%
LOAD_FAST 162 0.0%
LOAD_ATTR 64 0.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 4,184,277 100.0%
LOAD_METHOD_NO_DICT 94 0.0%
TO_BOOL 68 0.0%
CALL_PY_EXACT_ARGS 47 0.0%
LOAD_METHOD 42 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 4,206,168 99.1%
POP_TOP 26,482 0.6%
RESUME_CHECK 10,945 0.3%
STORE_FAST 204 0.0%
LOAD_FAST 136 0.0%
Successors Count Percentage
RETURN_VALUE 4,221,705 99.5%
LOAD_FAST 21,890 0.5%
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
PUSH_NULL 210,045 100.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 239,862 52.8%
CALL_LIST_APPEND 207,898 45.8%
POP_TOP 2,077 0.5%
DELETE_FAST 2,077 0.5%
LOAD_FAST 2,077 0.5%
Successors Count Percentage
PUSH_NULL 445,708 98.1%
LOAD_ATTR_MODULE 8,402 1.9%
LOAD_ATTR 46 0.0%

LOAD_METHOD_NO_DICT

Successors and predecessors for LOAD_METHOD_NO_DICT
Predecessors Count Percentage
LOAD_FAST 207,898 99.9%
LOAD_ATTR_INSTANCE_VALUE 94 0.0%
LOAD_METHOD 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_METHOD_WITH_VALUES

Successors and predecessors for LOAD_METHOD_WITH_VALUES
Predecessors Count Percentage
LOAD_FAST 4,184,369 100.0%
LOAD_METHOD 44 0.0%
Successors Count Percentage
LOAD_FAST 4,184,345 100.0%
LOAD_FAST_LOAD_FAST 68 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 4,394,458 99.7%
ENTER_EXECUTOR 6,212 0.1%
CALL_ALLOC_AND_ENTER_INIT 4,731 0.1%
CACHE 69 0.0%
CALL_FUNCTION_EX 68 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 4,184,278 95.0%
LOAD_FAST 208,103 4.7%
LOAD_CONST_IMMORTAL 10,945 0.2%
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_LOAD_FAST 4,184,277 49.9%
LOAD_ATTR_INSTANCE_VALUE 4,184,277 49.9%
LOAD_FAST 21,888 0.3%
STORE_ATTR 4 0.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 4,206,168 50.1%
LOAD_FAST_LOAD_FAST 4,184,278 49.9%

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,153,904 90.8%
CALL_ALLOC_AND_ENTER_INIT 230,932 5.1%
POP_TOP 185,884 4.1%
ENTER_EXECUTOR 2,118 0.0%
Successors Count Percentage
RETURN_VALUE 4,536,554 99.2%
POP_ITER 27,954 0.6%
RESUME_CHECK 6,212 0.1%
ENTER_EXECUTOR 2,118 0.0%

INTERPRETER_EXIT

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

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
POP_TOP 2 50.0%
POP_JUMP_IF_FALSE 1 25.0%
STORE_FAST 1 25.0%
Successors Count Percentage
JUMP_BACKWARD_JIT 4 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.

238,214 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.

11 0.0%
hit

Specialized instructions that complete.

8,948,688 100.0%
Success Count Ratio
Success 110 100.0%
Failure 0 0.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.

664,201 100.0%
Success Count Ratio
Success 94 100.0%
Failure 0 0.0%

LOAD_METHOD

specialization stats for LOAD_METHOD family
Kind Count Ratio
deferred

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

76 41.1%
Success Count Ratio
Success 87 79.8%
Failure 22 20.2%

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,954,124 64.9%
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.

31,829,605 35.1%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

2,188 0.0%

Deferred by instruction

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

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 2,122 49.2%
RESUME_CHECK 2,122 49.2%
BINARY_OP_ADD_FLOAT 66 1.5%
CACHE 0 0.0%
CALL_FUNCTION_EX 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%

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,976
Allocations 4,807,458 100.0%
Allocations to 512 bytes 4,807,414 100.0%
Allocations to 4 kbytes 44 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 4,813,830
Inline values 4,365,900
Interpreter mortal increfs 52,971,787 53.5%
Interpreter mortal decrefs 57,993,622 44.3%
Mortal increfs 40,136,784 40.6%
Mortal decrefs 39,925,279 30.5%
Interpreter immortal increfs 1,081,056 1.1%
Interpreter immortal decrefs 22,789,803 17.4%
Immortal increfs 4,782,506 4.8%
Immortal decrefs 10,098,843 7.7%
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 233
Method cache misses 35
Method cache collisions 19
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,864,663 42,604,901 0
2 4,158 4,366,277 934,829,640 0 0

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,145
Traces created

The number of traces that were successfully created.

44 3.8%
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,123 98.1%
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 abandoned because it it too short.

1,101 96.2%
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,878,503
Uops executed

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

169,805,261 1,912.5%
Count Ratio
Optimizer attempts

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

44
Optimizer successes

The number of traces that were successfully optimized.

44 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 0 0.0%
<= 16 0 0.0%
<= 32 23 52.3%
<= 64 21 47.7%

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 1 0 0.0%
<= 2 0 0.0%
<= 4 0 0.0%
<= 8 0 0.0%
<= 16 0 0.0%
<= 32 23 52.3%
<= 64 21 47.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
_SET_IP 21,855,051 12.9% 12.9%
_CHECK_VALIDITY 17,543,195 10.3% 23.2%
_LOAD_CONST_INLINE_BORROW 13,428,104 7.9% 31.1%
_LOAD_FAST_0 9,436,392 5.6% 36.7%
_GUARD_DORV_NO_DICT 9,073,150 5.3% 42.0%
_GUARD_TYPE_VERSION_AND_LOCK 9,073,150 5.3% 47.4%
_STORE_ATTR_INSTANCE_VALUE 9,073,150 5.3% 52.7%
_MAKE_WARM 8,878,503 5.2% 57.9%
_START_EXECUTOR 8,878,503 5.2% 63.2%
_EXIT_TRACE 4,746,150 2.8% 65.9%
_TIER2_RESUME_CHECK 4,357,072 2.6% 68.5% 0.0%
_GUARD_NOT_EXHAUSTED_RANGE 4,339,810 2.6% 71.1% 4.8%
_CHECK_PERIODIC 4,339,810 2.6% 73.6%
_ITER_CHECK_RANGE 4,339,810 2.6% 76.2%
_PUSH_FRAME 4,311,856 2.5% 78.7%
_PUSH_NULL 4,130,235 2.4% 81.2%
_CHECK_AND_ALLOCATE_OBJECT 4,130,235 2.4% 83.6%
_CHECK_FUNCTION 4,130,235 2.4% 86.0%
_CREATE_INIT_FRAME 4,130,235 2.4% 88.5%
_DYNAMIC_EXIT 4,130,235 2.4% 90.9%
_ITER_NEXT_RANGE 4,130,235 2.4% 93.3%
_LOAD_CONST_INLINE 4,130,235 2.4% 95.7%
_STORE_FAST_3 4,130,235 2.4% 98.2%
_POP_TOP 363,242 0.2% 98.4%
_RETURN_VALUE 181,621 0.1% 98.5%
_RESUME_CHECK 181,621 0.1% 98.6%
_CHECK_FUNCTION_EXACT_ARGS 181,621 0.1% 98.7%
_CHECK_FUNCTION_VERSION 181,621 0.1% 98.8%
_CHECK_MANAGED_OBJECT_HAS_VALUES 181,621 0.1% 98.9%
_CHECK_STACK_SPACE_OPERAND 181,621 0.1% 99.0%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 181,621 0.1% 99.1%
_GUARD_KEYS_VERSION 181,621 0.1% 99.3%
_GUARD_TYPE_VERSION 181,621 0.1% 99.4%
_INIT_CALL_PY_EXACT_ARGS_1 181,621 0.1% 99.5%
_LOAD_ATTR_INSTANCE_VALUE 181,621 0.1% 99.6%
_LOAD_FAST_1 181,621 0.1% 99.7%
_LOAD_FAST_2 181,621 0.1% 99.8%
_LOAD_METHOD_WITH_VALUES 181,621 0.1% 99.9%
_SAVE_RETURN_OFFSET 181,621 0.1% 100.0%
_DEOPT 2,118 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: 2025-01-22