Skip to content

Latest commit

 

History

History
8416 lines (7722 loc) · 155 KB

bm-20241214-vultr-x86_64-python-0ac40acec045c4ce780c-3.14.0a2+-0ac40ac-pystats-typing_runtime_protocols.md

File metadata and controls

8416 lines (7722 loc) · 155 KB

Pystats results

  • benchmark: typing_runtime_protocols
  • fork: python
  • ref: 0ac40acec045c4ce780cf7d887fcbe4c661e82b7
  • commit hash: 0ac40ac
  • commit date: 2024-12-14T17:25:49+02: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_GLOBAL_MODULE 88,361,316 12.7% 12.7%
LOAD_FAST 76,451,952 11.0% 23.7%
STORE_FAST 44,508,996 6.4% 30.1%
LOAD_FAST_LOAD_FAST 33,758,808 4.9% 35.0%
IS_OP 32,977,980 4.7% 39.7%
LOAD_GLOBAL_BUILTIN 30,468,456 4.4% 44.1%
POP_JUMP_IF_FALSE 30,099,516 4.3% 48.4%
POP_JUMP_IF_TRUE 29,823,036 4.3% 52.7%
CALL_NON_PY_GENERAL 29,381,688 4.2% 57.0%
RETURN_VALUE 28,677,840 4.1% 61.1%
RESUME_CHECK 24,877,776 3.6% 64.7%
LOAD_CONST_IMMORTAL 23,254,127 3.3% 68.0%
GET_ITER 20,084,976 2.9% 70.9%
CALL_PY_EXACT_ARGS 17,811,696 2.6% 73.5%
ENTER_EXECUTOR 16,608,336 2.4% 75.9%
SWAP 13,492,344 1.9% 77.8%
CALL_FUNCTION_EX 12,708,984 1.8% 79.6%
CONTAINS_OP 12,201,890 1.8% 81.4%
CALL_BUILTIN_FAST 11,981,100 1.7% 83.1%
TO_BOOL_BOOL 11,980,860 1.7% 84.8%
FOR_ITER_TUPLE 10,236,744 1.5% 86.3%
LOAD_ATTR 9,313,830 1.3% 87.7%
LOAD_ATTR_CLASS 7,163,904 1.0% 88.7%
LIST_APPEND 6,654,732 1.0% 89.6%
BUILD_LIST 6,654,132 1.0% 90.6%
NOP 6,654,012 1.0% 91.6%
LOAD_FAST_AND_CLEAR 6,654,012 1.0% 92.5%
CALL_TYPE_1 6,653,952 1.0% 93.5%
POP_TOP 5,847,895 0.8% 94.3%
INTERPRETER_EXIT 3,993,900 0.6% 94.9%
JUMP_FORWARD 3,582,012 0.5% 95.4%
BUILD_MAP 3,581,952 0.5% 95.9%
CALL_METHOD_DESCRIPTOR_FAST 3,581,952 0.5% 96.4%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 3,118,080 0.4% 96.9% 78.3%
PUSH_NULL 3,073,200 0.4% 97.3%
FOR_ITER 3,073,200 0.4% 97.8%
CALL_PY_GENERAL 3,072,060 0.4% 98.2%
CHECK_EXC_MATCH 2,764,800 0.4% 98.6%
POP_EXCEPT 2,764,800 0.4% 99.0%
PUSH_EXC_INFO 2,764,800 0.4% 99.4%
RAISE_VARARGS 2,764,800 0.4% 99.8%
POP_JUMP_IF_NONE 817,152 0.1% 99.9%
BINARY_SUBSCR 184,400 0.0% 100.0%
FOR_ITER_LIST 122,880 0.0% 100.0%
JUMP_BACKWARD 62,580 0.0% 100.0%
FOR_ITER_RANGE 61,480 0.0% 100.0%
CALL_ISINSTANCE 61,440 0.0% 100.0%
LOAD_SMALL_INT 600 0.0% 100.0%
LOAD_GLOBAL 480 0.0% 100.0%
CALL 260 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
LOAD_ATTR_MODULE 240 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
BUILD_TUPLE 180 0.0% 100.0%
LOAD_CONST 180 0.0% 100.0%
LOAD_DEREF 120 0.0% 100.0%
LOAD_ATTR_METHOD_NO_DICT 120 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES 120 0.0% 100.0%
TO_BOOL 100 0.0% 100.0%
STORE_ATTR 80 0.0% 100.0%
MAKE_FUNCTION 60 0.0% 100.0%
CALL_INTRINSIC_1 60 0.0% 100.0%
COPY_FREE_VARS 60 0.0% 100.0%
LIST_EXTEND 60 0.0% 100.0%
MAKE_CELL 60 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 60 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
STORE_DEREF 60 0.0% 100.0%
STORE_FAST_STORE_FAST 60 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT 60 0.0% 100.0%
BINARY_SUBSCR_TUPLE_INT 60 0.0% 100.0%
CALL_BUILTIN_CLASS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_NOARGS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0% 100.0%
UNPACK_SEQUENCE_TWO_TUPLE 60 0.0% 100.0%
BINARY_OP 20 0.0% 100.0%
UNPACK_SEQUENCE 20 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
LOAD_GLOBAL_MODULE IS_OP 30,213,120 4.3% 4.3%
LOAD_GLOBAL_MODULE LOAD_FAST 23,033,856 3.3% 7.7%
LOAD_FAST CALL_NON_PY_GENERAL 22,726,656 3.3% 10.9%
LOAD_FAST LOAD_GLOBAL_MODULE 21,086,208 3.0% 14.0%
IS_OP POP_JUMP_IF_FALSE 20,269,056 2.9% 16.9%
CALL_PY_EXACT_ARGS RESUME_CHECK 17,811,636 2.6% 19.5%
LOAD_GLOBAL_BUILTIN LOAD_FAST 17,406,012 2.5% 22.0%
RESUME_CHECK LOAD_GLOBAL_MODULE 17,301,624 2.5% 24.4%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 15,151,164 2.2% 26.6%
POP_JUMP_IF_FALSE LOAD_FAST 13,817,916 2.0% 28.6%
STORE_FAST LOAD_GLOBAL_MODULE 13,308,024 1.9% 30.5%
CALL_FUNCTION_EX RETURN_VALUE 12,708,864 1.8% 32.4%
IS_OP POP_JUMP_IF_TRUE 12,708,864 1.8% 34.2%
ENTER_EXECUTOR CALL_FUNCTION_EX 12,708,864 1.8% 36.0%
LOAD_FAST LOAD_CONST_IMMORTAL 11,569,272 1.7% 37.7%
RETURN_VALUE STORE_FAST 11,563,188 1.7% 39.3%
STORE_FAST LOAD_FAST 11,176,956 1.6% 41.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 11,157,584 1.6% 42.6%
FOR_ITER_TUPLE STORE_FAST 10,236,744 1.5% 44.0%
GET_ITER FOR_ITER_TUPLE 10,235,964 1.5% 45.5%
CALL_NON_PY_GENERAL GET_ITER 10,235,904 1.5% 47.0%
STORE_FAST LOAD_GLOBAL_BUILTIN 9,787,732 1.4% 48.4%
LOAD_FAST_LOAD_FAST LOAD_ATTR 9,126,932 1.3% 49.7%
RETURN_VALUE LOAD_GLOBAL_MODULE 9,126,912 1.3% 51.0%
CONTAINS_OP POP_JUMP_IF_TRUE 9,126,912 1.3% 52.3%
LOAD_ATTR CONTAINS_OP 9,126,912 1.3% 53.6%
POP_JUMP_IF_TRUE LOAD_FAST_LOAD_FAST 9,126,912 1.3% 55.0%
POP_JUMP_IF_TRUE ENTER_EXECUTOR 8,942,592 1.3% 56.2%
LOAD_CONST_IMMORTAL LOAD_CONST_IMMORTAL 7,987,320 1.1% 57.4%
TO_BOOL_BOOL POP_JUMP_IF_TRUE 7,987,260 1.1% 58.5%
CALL_BUILTIN_FAST TO_BOOL_BOOL 7,987,200 1.1% 59.7%
LOAD_CONST_IMMORTAL CALL_BUILTIN_FAST 7,987,200 1.1% 60.8%
POP_JUMP_IF_TRUE LOAD_GLOBAL_MODULE 7,575,552 1.1% 61.9%
LOAD_GLOBAL_BUILTIN LOAD_ATTR_CLASS 7,163,904 1.0% 63.0%
POP_JUMP_IF_FALSE LOAD_GLOBAL_BUILTIN 6,758,400 1.0% 63.9%
CALL_NON_PY_GENERAL LIST_APPEND 6,654,732 1.0% 64.9%
LOAD_GLOBAL_MODULE LOAD_GLOBAL_MODULE 6,654,592 1.0% 65.9%
GET_ITER LOAD_FAST_AND_CLEAR 6,654,012 1.0% 66.8%
BUILD_LIST SWAP 6,654,012 1.0% 67.8%
LOAD_FAST_AND_CLEAR SWAP 6,654,012 1.0% 68.7%
SWAP GET_ITER 6,654,012 1.0% 69.7%
SWAP BUILD_LIST 6,654,012 1.0% 70.6%
CALL_NON_PY_GENERAL STORE_FAST 6,654,012 1.0% 71.6%
LIST_APPEND ENTER_EXECUTOR 6,653,952 1.0% 72.6%
LOAD_FAST CALL_TYPE_1 6,653,952 1.0% 73.5%
STORE_FAST NOP 6,653,952 1.0% 74.5%
CACHE RESUME_CHECK 3,993,960 0.6% 75.0%
RETURN_VALUE INTERPRETER_EXIT 3,993,900 0.6% 75.6%
RESUME_CHECK LOAD_FAST 3,993,780 0.6% 76.2%
RETURN_VALUE TO_BOOL_BOOL 3,993,600 0.6% 76.8%
LOAD_FAST_LOAD_FAST CALL_BUILTIN_FAST 3,993,600 0.6% 77.3%
POP_JUMP_IF_TRUE LOAD_GLOBAL_BUILTIN 3,993,600 0.6% 77.9%
CALL_BUILTIN_FAST RETURN_VALUE 3,993,600 0.6% 78.5%
TO_BOOL_BOOL POP_JUMP_IF_FALSE 3,993,600 0.6% 79.1%
LOAD_CONST_IMMORTAL RETURN_VALUE 3,697,355 0.5% 79.6%
ENTER_EXECUTOR RETURN_VALUE 3,694,357 0.5% 80.1%
STORE_FAST JUMP_FORWARD 3,582,012 0.5% 80.7%
NOP LOAD_GLOBAL_BUILTIN 3,581,952 0.5% 81.2%
BUILD_MAP STORE_FAST 3,581,952 0.5% 81.7%
JUMP_FORWARD LOAD_GLOBAL_MODULE 3,581,952 0.5% 82.2%
LOAD_FAST_LOAD_FAST LOAD_GLOBAL_MODULE 3,581,952 0.5% 82.7%
CALL_METHOD_DESCRIPTOR_FAST RETURN_VALUE 3,581,952 0.5% 83.2%
CALL_TYPE_1 CALL_PY_EXACT_ARGS 3,581,952 0.5% 83.7%
LOAD_ATTR_CLASS LOAD_FAST 3,581,952 0.5% 84.3%
LOAD_ATTR_CLASS LOAD_FAST_LOAD_FAST 3,581,952 0.5% 84.8%
LOAD_CONST_IMMORTAL CALL_NON_PY_GENERAL 3,581,952 0.5% 85.3%
LOAD_GLOBAL_MODULE CALL_METHOD_DESCRIPTOR_FAST 3,581,952 0.5% 85.8%
LOAD_GLOBAL_MODULE LOAD_GLOBAL_BUILTIN 3,581,952 0.5% 86.3%
RESUME_CHECK BUILD_MAP 3,581,952 0.5% 86.8%
LOAD_FAST PUSH_NULL 3,072,900 0.4% 87.3%
FOR_ITER STORE_FAST 3,072,300 0.4% 87.7%
GET_ITER FOR_ITER 3,072,060 0.4% 88.2%
NOP LOAD_FAST 3,072,060 0.4% 88.6%
PUSH_NULL LOAD_FAST_LOAD_FAST 3,072,060 0.4% 89.0%
CONTAINS_OP POP_JUMP_IF_FALSE 3,072,000 0.4% 89.5%
LOAD_FAST STORE_FAST 3,072,000 0.4% 89.9%
LOAD_FAST CALL_PY_EXACT_ARGS 3,072,000 0.4% 90.4%
LOAD_FAST LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 3,072,000 0.4% 90.8%
LOAD_FAST_LOAD_FAST CALL_PY_GENERAL 3,072,000 0.4% 91.3%
POP_JUMP_IF_FALSE LOAD_GLOBAL_MODULE 3,072,000 0.4% 91.7%
CALL_NON_PY_GENERAL CONTAINS_OP 3,072,000 0.4% 92.1%
CALL_PY_GENERAL RESUME_CHECK 3,072,000 0.4% 92.6%
CALL_TYPE_1 STORE_FAST 3,072,000 0.4% 93.0%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK GET_ITER 3,072,000 0.4% 93.5%
LOAD_GLOBAL_BUILTIN LOAD_GLOBAL_MODULE 3,072,000 0.4% 93.9%
LOAD_GLOBAL_MODULE STORE_FAST 3,072,000 0.4% 94.4%
LOAD_GLOBAL_MODULE CALL_NON_PY_GENERAL 3,072,000 0.4% 94.8%
POP_TOP LOAD_CONST_IMMORTAL 2,775,455 0.4% 95.2%
CHECK_EXC_MATCH POP_JUMP_IF_FALSE 2,764,800 0.4% 95.6%
POP_EXCEPT POP_TOP 2,764,800 0.4% 96.0%
POP_TOP POP_EXCEPT 2,764,800 0.4% 96.4%
PUSH_EXC_INFO LOAD_GLOBAL_BUILTIN 2,764,800 0.4% 96.8%
LOAD_FAST_LOAD_FAST IS_OP 2,764,800 0.4% 97.2%
POP_JUMP_IF_FALSE POP_TOP 2,764,800 0.4% 97.6%
POP_JUMP_IF_FALSE LOAD_FAST_LOAD_FAST 2,764,800 0.4% 98.0%
RAISE_VARARGS PUSH_EXC_INFO 2,764,800 0.4% 98.4%
CALL_NON_PY_GENERAL RAISE_VARARGS 2,764,800 0.4% 98.8%
LOAD_GLOBAL_BUILTIN CHECK_EXC_MATCH 2,764,800 0.4% 99.2%
POP_JUMP_IF_FALSE LOAD_CONST_IMMORTAL 921,600 0.1% 99.3%
LOAD_FAST RETURN_VALUE 817,212 0.1% 99.4%

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 3,993,960 100.0%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_FAST 184,320 100.0%
BINARY_SUBSCR 60 0.0%
LOAD_SMALL_INT 20 0.0%
Successors Count Percentage
SWAP 184,320 100.0%
BINARY_SUBSCR 60 0.0%
BINARY_SUBSCR_TUPLE_INT 20 0.0%

CHECK_EXC_MATCH

Successors and predecessors for CHECK_EXC_MATCH
Predecessors Count Percentage
LOAD_GLOBAL_BUILTIN 2,764,800 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 2,764,800 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
CALL_NON_PY_GENERAL 10,235,904 51.0%
SWAP 6,654,012 33.1%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 3,072,000 15.3%
LOAD_FAST 122,880 0.6%
BUILD_TUPLE 60 0.0%
Successors Count Percentage
FOR_ITER_TUPLE 10,235,964 51.0%
LOAD_FAST_AND_CLEAR 6,654,012 33.1%
FOR_ITER 3,072,060 15.3%
FOR_ITER_LIST 122,880 0.6%
FOR_ITER_RANGE 60 0.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
RETURN_VALUE 3,993,900 100.0%

MAKE_FUNCTION

Successors and predecessors for MAKE_FUNCTION
Predecessors Count Percentage
LOAD_CONST 60 100.0%
Successors Count Percentage
SET_FUNCTION_ATTRIBUTE 60 100.0%

NOP

Successors and predecessors for NOP
Predecessors Count Percentage
STORE_FAST 6,653,952 100.0%
POP_JUMP_IF_TRUE 60 0.0%
Successors Count Percentage
LOAD_GLOBAL_BUILTIN 3,581,952 53.8%
LOAD_FAST 3,072,060 46.2%

POP_EXCEPT

Successors and predecessors for POP_EXCEPT
Predecessors Count Percentage
POP_TOP 2,764,800 100.0%
Successors Count Percentage
POP_TOP 2,764,800 100.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
POP_EXCEPT 2,764,800 47.3%
POP_JUMP_IF_FALSE 2,764,800 47.3%
SWAP 184,320 3.2%
ENTER_EXECUTOR 71,915 1.2%
CALL_ISINSTANCE 61,440 1.1%
Successors Count Percentage
LOAD_CONST_IMMORTAL 2,775,455 47.5%
POP_EXCEPT 2,764,800 47.3%
RETURN_VALUE 184,320 3.2%
JUMP_BACKWARD 61,800 1.1%
ENTER_EXECUTOR 61,440 1.1%

PUSH_EXC_INFO

Successors and predecessors for PUSH_EXC_INFO
Predecessors Count Percentage
RAISE_VARARGS 2,764,800 100.0%
Successors Count Percentage
LOAD_GLOBAL_BUILTIN 2,764,800 100.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_FAST 3,072,900 100.0%
LOAD_ATTR_MODULE 240 0.0%
LOAD_DEREF 60 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 3,072,060 100.0%
CALL_NON_PY_GENERAL 940 0.0%
LOAD_FAST 120 0.0%
CALL 80 0.0%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
CALL_FUNCTION_EX 12,708,864 44.3%
CALL_BUILTIN_FAST 3,993,600 13.9%
LOAD_CONST_IMMORTAL 3,697,355 12.9%
ENTER_EXECUTOR 3,694,357 12.9%
CALL_METHOD_DESCRIPTOR_FAST 3,581,952 12.5%
Successors Count Percentage
STORE_FAST 11,563,188 40.3%
LOAD_GLOBAL_MODULE 9,126,912 31.8%
INTERPRETER_EXIT 3,993,900 13.9%
TO_BOOL_BOOL 3,993,600 13.9%
POP_TOP 180 0.0%

TO_BOOL

Successors and predecessors for TO_BOOL
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 60 60.0%
TO_BOOL 20 20.0%
LOAD_FAST 20 20.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 60 60.0%
TO_BOOL 20 20.0%
TO_BOOL_BOOL 20 20.0%

BINARY_OP

Successors and predecessors for BINARY_OP
Predecessors Count Percentage
LOAD_FAST 20 100.0%
Successors Count Percentage
BINARY_OP_SUBTRACT_FLOAT 20 100.0%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
SWAP 6,654,012 100.0%
LOAD_FAST 60 0.0%
LOAD_GLOBAL_MODULE 60 0.0%
Successors Count Percentage
SWAP 6,654,012 100.0%
LOAD_DEREF 60 0.0%
STORE_FAST 60 0.0%

BUILD_MAP

Successors and predecessors for BUILD_MAP
Predecessors Count Percentage
RESUME_CHECK 3,581,952 100.0%
Successors Count Percentage
STORE_FAST 3,581,952 100.0%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST 60 33.3%
LOAD_FAST_LOAD_FAST 60 33.3%
LOAD_GLOBAL_MODULE 60 33.3%
Successors Count Percentage
GET_ITER 60 33.3%
LOAD_CONST 60 33.3%
CALL_METHOD_DESCRIPTOR_O 40 22.2%
CALL 20 11.1%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
PUSH_NULL 80 30.8%
LOAD_FAST_LOAD_FAST 60 23.1%
LOAD_CONST_IMMORTAL 40 15.4%
BUILD_TUPLE 20 7.7%
LOAD_FAST 20 7.7%
Successors Count Percentage
CALL_NON_PY_GENERAL 100 38.5%
CALL_PY_EXACT_ARGS 80 30.8%
CALL_BUILTIN_CLASS 20 7.7%
CALL_METHOD_DESCRIPTOR_NOARGS 20 7.7%
CALL_METHOD_DESCRIPTOR_O 20 7.7%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
ENTER_EXECUTOR 12,708,864 100.0%
CALL_INTRINSIC_1 60 0.0%
LOAD_FAST 60 0.0%
Successors Count Percentage
RETURN_VALUE 12,708,864 100.0%
RESUME_CHECK 60 0.0%

CALL_INTRINSIC_1

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

CONTAINS_OP

Successors and predecessors for CONTAINS_OP
Predecessors Count Percentage
LOAD_ATTR 9,126,912 74.8%
CALL_NON_PY_GENERAL 3,072,000 25.2%
CONTAINS_OP 2,978 0.0%
Successors Count Percentage
POP_JUMP_IF_TRUE 9,126,912 74.8%
POP_JUMP_IF_FALSE 3,072,000 25.2%
CONTAINS_OP 2,978 0.0%

COPY_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 60 100.0%
Successors Count Percentage
RESUME_CHECK 60 100.0%

FOR_ITER

Successors and predecessors for FOR_ITER
Predecessors Count Percentage
GET_ITER 3,072,060 100.0%
FOR_ITER 780 0.0%
JUMP_BACKWARD 360 0.0%
Successors Count Percentage
STORE_FAST 3,072,300 100.0%
FOR_ITER 780 0.0%
LOAD_FAST 60 0.0%
LOAD_CONST_IMMORTAL 60 0.0%

IS_OP

Successors and predecessors for IS_OP
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 30,213,120 91.6%
LOAD_FAST_LOAD_FAST 2,764,800 8.4%
LOAD_CONST_IMMORTAL 60 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 20,269,056 61.5%
POP_JUMP_IF_TRUE 12,708,864 38.5%
STORE_FAST 60 0.0%

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
POP_TOP 61,800 98.8%
LIST_APPEND 780 1.2%
Successors Count Percentage
FOR_ITER_RANGE 61,420 98.1%
FOR_ITER_TUPLE 780 1.2%
FOR_ITER 360 0.6%
POP_TOP 20 0.0%

JUMP_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
STORE_FAST 3,582,012 100.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 3,581,952 100.0%
LOAD_FAST 60 0.0%

LIST_APPEND

Successors and predecessors for LIST_APPEND
Predecessors Count Percentage
CALL_NON_PY_GENERAL 6,654,732 100.0%
Successors Count Percentage
ENTER_EXECUTOR 6,653,952 100.0%
JUMP_BACKWARD 780 0.0%

LIST_EXTEND

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

LOAD_ATTR

Successors and predecessors for LOAD_ATTR
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 9,126,932 98.0%
LOAD_FAST 184,460 2.0%
LOAD_ATTR 2,318 0.0%
LOAD_GLOBAL_MODULE 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 40 0.0%
Successors Count Percentage
CONTAINS_OP 9,126,912 98.0%
LOAD_FAST 184,320 2.0%
LOAD_ATTR 2,318 0.0%
LOAD_ATTR_MODULE 80 0.0%
LOAD_FAST_LOAD_FAST 60 0.0%

LOAD_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
BUILD_TUPLE 60 33.3%
POP_JUMP_IF_NOT_NONE 60 33.3%
RESUME_CHECK 60 33.3%
Successors Count Percentage
GET_ITER 60 33.3%
MAKE_FUNCTION 60 33.3%
STORE_FAST 60 33.3%

LOAD_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
BUILD_LIST 60 50.0%
RESUME_CHECK 60 50.0%
Successors Count Percentage
PUSH_NULL 60 50.0%
LIST_EXTEND 60 50.0%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 23,033,856 30.1%
LOAD_GLOBAL_BUILTIN 17,406,012 22.8%
POP_JUMP_IF_FALSE 13,817,916 18.1%
STORE_FAST 11,176,956 14.6%
RESUME_CHECK 3,993,780 5.2%
Successors Count Percentage
CALL_NON_PY_GENERAL 22,726,656 29.7%
LOAD_GLOBAL_MODULE 21,086,208 27.6%
LOAD_CONST_IMMORTAL 11,569,272 15.1%
CALL_TYPE_1 6,653,952 8.7%
PUSH_NULL 3,072,900 4.0%

LOAD_FAST_AND_CLEAR

Successors and predecessors for LOAD_FAST_AND_CLEAR
Predecessors Count Percentage
GET_ITER 6,654,012 100.0%
Successors Count Percentage
SWAP 6,654,012 100.0%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 15,151,164 44.9%
POP_JUMP_IF_TRUE 9,126,912 27.0%
LOAD_ATTR_CLASS 3,581,952 10.6%
PUSH_NULL 3,072,060 9.1%
POP_JUMP_IF_FALSE 2,764,800 8.2%
Successors Count Percentage
CALL_PY_EXACT_ARGS 11,157,584 33.1%
LOAD_ATTR 9,126,932 27.0%
CALL_BUILTIN_FAST 3,993,600 11.8%
LOAD_GLOBAL_MODULE 3,581,952 10.6%
CALL_PY_GENERAL 3,072,000 9.1%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 320 66.7%
STORE_FAST 80 16.7%
RESUME_CHECK 60 12.5%
FOR_ITER_RANGE 20 4.2%
Successors Count Percentage
LOAD_GLOBAL_MODULE 460 95.8%
LOAD_GLOBAL_BUILTIN 20 4.2%

LOAD_SMALL_INT

Successors and predecessors for LOAD_SMALL_INT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 300 50.0%
RESUME_CHECK 240 40.0%
LOAD_FAST 60 10.0%
Successors Count Percentage
CALL_BUILTIN_FAST 300 50.0%
LOAD_FAST 240 40.0%
BINARY_SUBSCR_TUPLE_INT 40 6.7%
BINARY_SUBSCR 20 3.3%

MAKE_CELL

Successors and predecessors for MAKE_CELL
Predecessors Count Percentage
CALL_PY_GENERAL 60 100.0%
Successors Count Percentage
RESUME_CHECK 60 100.0%

POP_JUMP_IF_FALSE

Successors and predecessors for POP_JUMP_IF_FALSE
Predecessors Count Percentage
IS_OP 20,269,056 67.3%
TO_BOOL_BOOL 3,993,600 13.3%
CONTAINS_OP 3,072,000 10.2%
CHECK_EXC_MATCH 2,764,800 9.2%
TO_BOOL 60 0.0%
Successors Count Percentage
LOAD_FAST 13,817,916 45.9%
LOAD_GLOBAL_BUILTIN 6,758,400 22.5%
LOAD_GLOBAL_MODULE 3,072,000 10.2%
POP_TOP 2,764,800 9.2%
LOAD_FAST_LOAD_FAST 2,764,800 9.2%

POP_JUMP_IF_NONE

Successors and predecessors for POP_JUMP_IF_NONE
Predecessors Count Percentage
LOAD_FAST 817,152 100.0%
Successors Count Percentage
ENTER_EXECUTOR 817,152 100.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 60 100.0%
Successors Count Percentage
LOAD_CONST 60 100.0%

POP_JUMP_IF_TRUE

Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors Count Percentage
IS_OP 12,708,864 42.6%
CONTAINS_OP 9,126,912 30.6%
TO_BOOL_BOOL 7,987,260 26.8%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 9,126,912 30.6%
ENTER_EXECUTOR 8,942,592 30.0%
LOAD_GLOBAL_MODULE 7,575,552 25.4%
LOAD_GLOBAL_BUILTIN 3,993,600 13.4%
LOAD_FAST 184,320 0.6%

RAISE_VARARGS

Successors and predecessors for RAISE_VARARGS
Predecessors Count Percentage
CALL_NON_PY_GENERAL 2,764,800 100.0%
Successors Count Percentage
PUSH_EXC_INFO 2,764,800 100.0%

SET_FUNCTION_ATTRIBUTE

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

STORE_ATTR

Successors and predecessors for STORE_ATTR
Predecessors Count Percentage
LOAD_FAST 80 100.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 80 100.0%

STORE_DEREF

Successors and predecessors for STORE_DEREF
Predecessors Count Percentage
CALL_NON_PY_GENERAL 60 100.0%
Successors Count Percentage
LOAD_FAST 60 100.0%

STORE_FAST

Successors and predecessors for STORE_FAST
Predecessors Count Percentage
RETURN_VALUE 11,563,188 26.0%
FOR_ITER_TUPLE 10,236,744 23.0%
CALL_NON_PY_GENERAL 6,654,012 14.9%
BUILD_MAP 3,581,952 8.0%
FOR_ITER 3,072,300 6.9%
Successors Count Percentage
LOAD_GLOBAL_MODULE 13,308,024 29.9%
LOAD_FAST 11,176,956 25.1%
LOAD_GLOBAL_BUILTIN 9,787,732 22.0%
NOP 6,653,952 14.9%
JUMP_FORWARD 3,582,012 8.0%

STORE_FAST_STORE_FAST

Successors and predecessors for STORE_FAST_STORE_FAST
Predecessors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 60 100.0%
Successors Count Percentage
LOAD_FAST 60 100.0%

SWAP

Successors and predecessors for SWAP
Predecessors Count Percentage
BUILD_LIST 6,654,012 49.3%
LOAD_FAST_AND_CLEAR 6,654,012 49.3%
BINARY_SUBSCR 184,320 1.4%
Successors Count Percentage
GET_ITER 6,654,012 49.3%
BUILD_LIST 6,654,012 49.3%
POP_TOP 184,320 1.4%

UNPACK_SEQUENCE

Successors and predecessors for UNPACK_SEQUENCE
Predecessors Count Percentage
CALL_METHOD_DESCRIPTOR_NOARGS 20 100.0%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 20 100.0%

BINARY_OP_SUBTRACT_FLOAT

Successors and predecessors for BINARY_OP_SUBTRACT_FLOAT
Predecessors Count Percentage
LOAD_FAST 40 66.7%
BINARY_OP 20 33.3%
Successors Count Percentage
RETURN_VALUE 60 100.0%

BINARY_SUBSCR_TUPLE_INT

Successors and predecessors for BINARY_SUBSCR_TUPLE_INT
Predecessors Count Percentage
LOAD_SMALL_INT 40 66.7%
BINARY_SUBSCR 20 33.3%
Successors Count Percentage
STORE_FAST 60 100.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
LOAD_FAST 40 66.7%
CALL 20 33.3%
Successors Count Percentage
GET_ITER 60 100.0%

CALL_BUILTIN_FAST

Successors and predecessors for CALL_BUILTIN_FAST
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 7,987,200 66.7%
LOAD_FAST_LOAD_FAST 3,993,600 33.3%
LOAD_SMALL_INT 300 0.0%
Successors Count Percentage
TO_BOOL_BOOL 7,987,200 66.7%
RETURN_VALUE 3,993,600 33.3%
POP_TOP 300 0.0%

CALL_ISINSTANCE

Successors and predecessors for CALL_ISINSTANCE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 61,440 100.0%
Successors Count Percentage
POP_TOP 61,440 100.0%

CALL_METHOD_DESCRIPTOR_FAST

Successors and predecessors for CALL_METHOD_DESCRIPTOR_FAST
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 3,581,952 100.0%
Successors Count Percentage
RETURN_VALUE 3,581,952 100.0%

CALL_METHOD_DESCRIPTOR_NOARGS

Successors and predecessors for CALL_METHOD_DESCRIPTOR_NOARGS
Predecessors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 40 66.7%
CALL 20 33.3%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 40 66.7%
UNPACK_SEQUENCE 20 33.3%

CALL_METHOD_DESCRIPTOR_O

Successors and predecessors for CALL_METHOD_DESCRIPTOR_O
Predecessors Count Percentage
BUILD_TUPLE 40 66.7%
CALL 20 33.3%
Successors Count Percentage
POP_TOP 60 100.0%

CALL_NON_PY_GENERAL

Successors and predecessors for CALL_NON_PY_GENERAL
Predecessors Count Percentage
LOAD_FAST 22,726,656 77.3%
LOAD_CONST_IMMORTAL 3,581,952 12.2%
LOAD_GLOBAL_MODULE 3,072,000 10.5%
PUSH_NULL 940 0.0%
CALL 100 0.0%
Successors Count Percentage
GET_ITER 10,235,904 34.8%
LIST_APPEND 6,654,732 22.6%
STORE_FAST 6,654,012 22.6%
CONTAINS_OP 3,072,000 10.5%
RAISE_VARARGS 2,764,800 9.4%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 11,157,584 62.6%
CALL_TYPE_1 3,581,952 20.1%
LOAD_FAST 3,072,000 17.2%
CALL 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 40 0.0%
Successors Count Percentage
RESUME_CHECK 17,811,636 100.0%
COPY_FREE_VARS 60 0.0%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 3,072,000 100.0%
LOAD_CONST_IMMORTAL 40 0.0%
CALL 20 0.0%
Successors Count Percentage
RESUME_CHECK 3,072,000 100.0%
MAKE_CELL 60 0.0%

CALL_TYPE_1

Successors and predecessors for CALL_TYPE_1
Predecessors Count Percentage
LOAD_FAST 6,653,952 100.0%
Successors Count Percentage
CALL_PY_EXACT_ARGS 3,581,952 53.8%
STORE_FAST 3,072,000 46.2%

FOR_ITER_LIST

Successors and predecessors for FOR_ITER_LIST
Predecessors Count Percentage
GET_ITER 122,880 100.0%
Successors Count Percentage
STORE_FAST 122,880 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
JUMP_BACKWARD 61,420 99.9%
GET_ITER 60 0.1%
Successors Count Percentage
STORE_FAST 61,440 99.9%
LOAD_GLOBAL 20 0.0%
LOAD_GLOBAL_MODULE 20 0.0%

FOR_ITER_TUPLE

Successors and predecessors for FOR_ITER_TUPLE
Predecessors Count Percentage
GET_ITER 10,235,964 100.0%
JUMP_BACKWARD 780 0.0%
Successors Count Percentage
STORE_FAST 10,236,744 100.0%

LOAD_ATTR_CLASS

Successors and predecessors for LOAD_ATTR_CLASS
Predecessors Count Percentage
LOAD_GLOBAL_BUILTIN 7,163,904 100.0%
Successors Count Percentage
LOAD_FAST 3,581,952 50.0%
LOAD_FAST_LOAD_FAST 3,581,952 50.0%

LOAD_ATTR_CLASS_WITH_METACLASS_CHECK

Successors and predecessors for LOAD_ATTR_CLASS_WITH_METACLASS_CHECK
Predecessors Count Percentage
LOAD_FAST 3,072,000 98.5%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 46,080 1.5%
Successors Count Percentage
GET_ITER 3,072,000 98.5%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 46,080 1.5%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 140 58.3%
LOAD_ATTR 60 25.0%
LOAD_FAST_LOAD_FAST 40 16.7%
Successors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 80 33.3%
TO_BOOL 60 25.0%
LOAD_ATTR 40 16.7%
CALL_PY_EXACT_ARGS 40 16.7%
CALL 20 8.3%

LOAD_ATTR_METHOD_NO_DICT

Successors and predecessors for LOAD_ATTR_METHOD_NO_DICT
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 80 66.7%
LOAD_ATTR 40 33.3%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 60 50.0%
CALL_METHOD_DESCRIPTOR_NOARGS 40 33.3%
CALL 20 16.7%

LOAD_ATTR_METHOD_WITH_VALUES

Successors and predecessors for LOAD_ATTR_METHOD_WITH_VALUES
Predecessors Count Percentage
LOAD_FAST 80 66.7%
LOAD_ATTR 40 33.3%
Successors Count Percentage
LOAD_FAST 60 50.0%
LOAD_FAST_LOAD_FAST 60 50.0%

LOAD_ATTR_MODULE

Successors and predecessors for LOAD_ATTR_MODULE
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 160 66.7%
LOAD_ATTR 80 33.3%
Successors Count Percentage
PUSH_NULL 240 100.0%

LOAD_CONST_IMMORTAL

Successors and predecessors for LOAD_CONST_IMMORTAL
Predecessors Count Percentage
LOAD_FAST 11,569,272 49.8%
LOAD_CONST_IMMORTAL 7,987,320 34.3%
POP_TOP 2,775,455 11.9%
POP_JUMP_IF_FALSE 921,600 4.0%
STORE_ATTR_INSTANCE_VALUE 240 0.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 7,987,320 34.3%
CALL_BUILTIN_FAST 7,987,200 34.3%
RETURN_VALUE 3,697,355 15.9%
CALL_NON_PY_GENERAL 3,581,952 15.4%
STORE_FAST 120 0.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 9,787,732 32.1%
POP_JUMP_IF_FALSE 6,758,400 22.2%
POP_JUMP_IF_TRUE 3,993,600 13.1%
NOP 3,581,952 11.8%
LOAD_GLOBAL_MODULE 3,581,952 11.8%
Successors Count Percentage
LOAD_FAST 17,406,012 57.1%
LOAD_ATTR_CLASS 7,163,904 23.5%
LOAD_GLOBAL_MODULE 3,072,000 10.1%
CHECK_EXC_MATCH 2,764,800 9.1%
LOAD_FAST_LOAD_FAST 61,740 0.2%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
LOAD_FAST 21,086,208 23.9%
RESUME_CHECK 17,301,624 19.6%
STORE_FAST 13,308,024 15.1%
RETURN_VALUE 9,126,912 10.3%
POP_JUMP_IF_TRUE 7,575,552 8.6%
Successors Count Percentage
IS_OP 30,213,120 34.2%
LOAD_FAST 23,033,856 26.1%
LOAD_FAST_LOAD_FAST 15,151,164 17.1%
LOAD_GLOBAL_MODULE 6,654,592 7.5%
CALL_METHOD_DESCRIPTOR_FAST 3,581,952 4.1%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 17,811,636 71.6%
CACHE 3,993,960 16.1%
CALL_PY_GENERAL 3,072,000 12.3%
CALL_FUNCTION_EX 60 0.0%
COPY_FREE_VARS 60 0.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 17,301,624 69.5%
LOAD_FAST 3,993,780 16.1%
BUILD_MAP 3,581,952 14.4%
LOAD_SMALL_INT 240 0.0%
LOAD_CONST 60 0.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 160 66.7%
STORE_ATTR 80 33.3%
Successors Count Percentage
LOAD_CONST_IMMORTAL 240 100.0%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
CALL_BUILTIN_FAST 7,987,200 66.7%
RETURN_VALUE 3,993,600 33.3%
LOAD_FAST 40 0.0%
TO_BOOL 20 0.0%
Successors Count Percentage
POP_JUMP_IF_TRUE 7,987,260 66.7%
POP_JUMP_IF_FALSE 3,993,600 33.3%

UNPACK_SEQUENCE_TWO_TUPLE

Successors and predecessors for UNPACK_SEQUENCE_TWO_TUPLE
Predecessors Count Percentage
CALL_METHOD_DESCRIPTOR_NOARGS 40 66.7%
UNPACK_SEQUENCE 20 33.3%
Successors Count Percentage
STORE_FAST_STORE_FAST 60 100.0%

ENTER_EXECUTOR

Successors and predecessors for ENTER_EXECUTOR
Predecessors Count Percentage
POP_JUMP_IF_TRUE 8,942,592 53.8%
LIST_APPEND 6,653,952 40.1%
POP_JUMP_IF_NONE 817,152 4.9%
ENTER_EXECUTOR 133,200 0.8%
POP_TOP 61,440 0.4%
Successors Count Percentage
CALL_FUNCTION_EX 12,708,864 76.5%
RETURN_VALUE 3,694,357 22.2%
ENTER_EXECUTOR 133,200 0.8%
POP_TOP 71,915 0.4%

Specialization stats

Specialization stats by family

BINARY_OP

specialization stats for BINARY_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

60 75.0%
Success Count Ratio
Success 20 100.0%
Failure 0 0.0%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
deferred

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

184,320 99.9%
hit

Specialized instructions that complete.

60 0.0%
Success Count Ratio
Success 20 25.0%
Failure 60 75.0%
Failure kind Count Ratio
other 60 100.0%

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

40,090,320 100.0%
Success Count Ratio
Success 260 100.0%
Failure 0 0.0%

CONTAINS_OP

specialization stats for CONTAINS_OP family
Kind Count Ratio
deferred

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

12,198,912 100.0%
Success Count Ratio
Success 0 0.0%
Failure 2,978 100.0%
Failure kind Count Ratio
other 2,238 75.2%
tuple 740 24.8%

FOR_ITER

specialization stats for FOR_ITER family
Kind Count Ratio
deferred

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

3,072,420 22.8%
hit

Specialized instructions that complete.

10,421,104 77.2%
Success Count Ratio
Success 0 0.0%
Failure 780 100.0%
Failure kind Count Ratio
set 760 97.4%
ascii string 20 2.6%

LOAD_ATTR

specialization stats for LOAD_ATTR family
Kind Count Ratio
deferred

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

9,311,292 47.5%
hit

Specialized instructions that complete.

7,840,464 40.0%
miss

Specialized instructions that deopt.

2,442,240 12.5%
Success Count Ratio
Success 46,300 95.2%
Failure 2,318 4.8%
Failure kind Count Ratio
metaclass attribute 2,298 99.1%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

118,829,772 100.0%
Success Count Ratio
Success 480 100.0%
Failure 0 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

240 75.0%
Success Count Ratio
Success 160 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.

60 0.0%
hit

Specialized instructions that complete.

11,980,860 100.0%
Success Count Ratio
Success 20 50.0%
Failure 20 50.0%
Failure kind Count Ratio
sequence 20 100.0%

UNPACK_SEQUENCE

specialization stats for UNPACK_SEQUENCE family
Kind Count Ratio
hit

Specialized instructions that complete.

60 75.0%
Success Count Ratio
Success 20 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.

397,829,167 57.3%
Not specialized

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

24,774,280 3.6%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

269,748,591 38.8%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

2,442,240 0.4%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
CONTAINS_OP 12,198,912 49.3%
LOAD_ATTR 9,311,292 37.6%
FOR_ITER 3,072,420 12.4%
BINARY_SUBSCR 184,320 0.7%
TO_BOOL 60 0.0%
BINARY_SLICE 0 0.0%
STORE_SLICE 0 0.0%
CACHE 0 0.0%
CHECK_EXC_MATCH 0 0.0%
GET_ITER 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 2,442,240 100.0%
CACHE 0 0.0%
CHECK_EXC_MATCH 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 0 0.0%
POP_EXCEPT 0 0.0%
POP_TOP 0 0.0%
PUSH_EXC_INFO 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 3,993,960 12.7%
Calls to Python functions inlined 27,448,680 87.3%
Calls via PyEval_EvalFrame (total) 3,993,960 12.7%
Calls via PyEval_EvalFrame (vector) 3,993,960 12.7%
Calls via PyEval_EvalFrame (generator) 0 0.0%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 3,993,960 12.7%
Calls via PyEval_EvalFrame (build class) 0 0.0%
Calls via PyEval_EvalFrame (slot) 0 0.0%
Calls via PyEval_EvalFrame (function ex) 60 0.0%
Calls via PyEval_EvalFrame (api) 0 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 5,529,600 17.6%
Frames pushed 31,442,640 100.0%

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 90,816,490 66.0%
Frees to freelist 90,816,450
Allocations 46,862,468 34.0%
Allocations to 512 bytes 46,862,448 34.0%
Allocations to 4 kbytes 20 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 59,571,279
Inline values 780
Interpreter mortal increfs 373,036,469 40.0%
Interpreter mortal decrefs 465,011,989 42.5%
Mortal increfs 268,977,417 28.8%
Mortal decrefs 314,679,643 28.8%
Interpreter immortal increfs 128,674,872 13.8%
Interpreter immortal decrefs 196,466,780 18.0%
Immortal increfs 161,669,259 17.3%
Immortal decrefs 116,920,327 10.7%
Materialize dict (on request) 780 100.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 23,762,306
Method cache misses 199,894
Method cache collisions 399,753
Method cache dunder hits 25,567,589
Method cache dunder misses 199,933

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 0 0 0 0 0
2 0 0 0 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.

4,024
Traces created

The number of traces that were successfully created.

40 1.0%
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.

906 22.5%
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.

3,984 99.0%
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

39,793,449
Uops executed

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

977,636,361 2,456.8%
Count Ratio
Optimizer attempts

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

40
Optimizer successes

The number of traces that were successfully optimized.

40 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 20 50.0%
<= 16 0 0.0%
<= 32 0 0.0%
<= 64 20 50.0%

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 1 0 0.0%
<= 2 0 0.0%
<= 4 0 0.0%
<= 8 20 50.0%
<= 16 0 0.0%
<= 32 0 0.0%
<= 64 20 50.0%

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 94,703,636 9.7% 9.7%
_CHECK_VALIDITY 88,341,524 9.0% 18.7%
_CHECK_PERIODIC 77,905,940 8.0% 26.7%
_MAKE_WARM 62,738,217 6.4% 33.1%
_GUARD_NOT_EXHAUSTED_TUPLE 46,964,736 4.8% 37.9% 34.3%
_ITER_CHECK_TUPLE 46,964,736 4.8% 42.7%
_EXIT_TRACE 39,793,449 4.1% 46.8%
_START_EXECUTOR 39,793,449 4.1% 50.9%
_CHECK_FUNCTION 38,697,984 4.0% 54.8%
_STORE_FAST_1 38,022,144 3.9% 58.7%
_CALL_NON_PY_GENERAL 31,878,144 3.3% 62.0%
_CHECK_IS_NOT_PY_CALLABLE 31,878,144 3.3% 65.2%
_LOAD_CONST_INLINE_BORROW_WITH_NULL 31,368,192 3.2% 68.4%
_ITER_NEXT_TUPLE 30,858,240 3.2% 71.6%
_LOAD_FAST_1 25,823,232 2.6% 74.2%
_LIST_APPEND 25,313,280 2.6% 76.8%
_SWAP 24,818,688 2.5% 79.4%
_JUMP_TO_TOP 22,944,768 2.3% 81.7%
_LOAD_CONST_INLINE_WITH_NULL 22,606,848 2.3% 84.0%
_POP_TOP 20,642,581 2.1% 86.1%
_GET_ITER 12,355,584 1.3% 87.4%
_CHECK_VALIDITY_AND_SET_IP 7,382,016 0.8% 88.2%
_RESUME_CHECK 6,564,864 0.7% 88.8%
_LOAD_FAST_0 6,564,864 0.7% 89.5%
_PUSH_FRAME 6,564,864 0.7% 90.2%
_SAVE_RETURN_OFFSET 6,564,864 0.7% 90.8%
_BUILD_LIST 6,054,912 0.6% 91.5%
_LOAD_FAST_AND_CLEAR 6,054,912 0.6% 92.1%
_CALL_TYPE_1 6,054,912 0.6% 92.7%
_CHECK_FUNCTION_VERSION_INLINE 6,054,912 0.6% 93.3%
_CHECK_STACK_SPACE_OPERAND 6,054,912 0.6% 93.9%
_INIT_CALL_PY_EXACT_ARGS_1 6,054,912 0.6% 94.6%
_LOAD_FAST_2 6,054,912 0.6% 95.2%
_STORE_FAST_2 5,544,960 0.6% 95.7%
_GUARD_NOT_EXHAUSTED_LIST 4,546,560 0.5% 96.2% 8.1%
_ITER_CHECK_LIST 4,546,560 0.5% 96.7%
_ITER_NEXT_LIST 4,177,920 0.4% 97.1%
_CALL_ISINSTANCE 3,932,160 0.4% 97.5%
_LOAD_FAST_6 3,932,160 0.4% 97.9%
_LOAD_FAST_7 3,932,160 0.4% 98.3%
_STORE_FAST_7 3,932,160 0.4% 98.7%
_LOAD_CONST_INLINE 3,907,584 0.4% 99.1%
_LOAD_FAST_4 1,019,904 0.1% 99.2%
_STORE_FAST_3 1,019,904 0.1% 99.3%
_FOR_ITER_TIER_TWO 817,152 0.1% 99.4% 37.6%
_LOAD_CONST_INLINE_BORROW 806,677 0.1% 99.5%
_LOAD_FAST_3 755,712 0.1% 99.6%
_PUSH_NULL 509,952 0.1% 99.6%
_CHECK_FUNCTION_VERSION 509,952 0.1% 99.7%
_CONTAINS_OP 509,952 0.1% 99.7%
_GUARD_IS_TRUE_POP 509,952 0.1% 99.8%
_LOAD_FAST_5 509,952 0.1% 99.8%
_PY_FRAME_GENERAL 509,952 0.1% 99.9%
_STORE_FAST_4 509,952 0.1% 99.9%
_STORE_FAST_5 509,952 0.1% 100.0%
_STORE_FAST_6 245,760 0.0% 100.0%
_GUARD_NOT_EXHAUSTED_RANGE 20 0.0% 100.0% 100.0%
_ITER_CHECK_RANGE 20 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.

Pair Count Self Cumulative
_CHECK_PERIODIC _CHECK_VALIDITY 70,523,924 7.2% 7.2%
_CHECK_VALIDITY _ITER_CHECK_TUPLE 46,964,736 4.8% 12.0%
_ITER_CHECK_TUPLE _GUARD_NOT_EXHAUSTED_TUPLE 46,964,736 4.8% 16.8%
_SET_IP _CHECK_PERIODIC 46,027,796 4.7% 21.5%
_MAKE_WARM _SET_IP 46,027,796 4.7% 26.2%
_START_EXECUTOR _MAKE_WARM 39,793,449 4.1% 30.3%
_SET_IP _CHECK_IS_NOT_PY_CALLABLE 31,878,144 3.3% 33.6%
_CALL_NON_PY_GENERAL _CHECK_PERIODIC 31,878,144 3.3% 36.8%
_CHECK_IS_NOT_PY_CALLABLE _CALL_NON_PY_GENERAL 31,878,144 3.3% 40.1%
_GUARD_NOT_EXHAUSTED_TUPLE _ITER_NEXT_TUPLE 30,858,240 3.2% 43.2%
_CHECK_VALIDITY _LIST_APPEND 25,313,280 2.6% 45.8%
_ITER_NEXT_TUPLE _STORE_FAST_1 25,313,280 2.6% 48.4%
_LOAD_CONST_INLINE_BORROW_WITH_NULL _LOAD_FAST_1 25,313,280 2.6% 51.0%
_LOAD_FAST_1 _SET_IP 25,313,280 2.6% 53.6%
_JUMP_TO_TOP _MAKE_WARM 22,944,768 2.3% 56.0%
_LIST_APPEND _JUMP_TO_TOP 19,258,368 2.0% 57.9%
_CHECK_FUNCTION _LOAD_CONST_INLINE_BORROW_WITH_NULL 19,258,368 2.0% 59.9%
_STORE_FAST_1 _CHECK_FUNCTION 19,258,368 2.0% 61.9%
_MAKE_WARM _POP_TOP 16,710,421 1.7% 63.6%
_GUARD_NOT_EXHAUSTED_TUPLE _EXIT_TRACE 16,106,496 1.6% 65.2%
_CHECK_FUNCTION _LOAD_CONST_INLINE_WITH_NULL 15,532,032 1.6% 66.8%
_POP_TOP _SWAP 12,708,864 1.3% 68.1%
_SWAP _STORE_FAST_1 12,708,864 1.3% 69.4%
_STORE_FAST_1 _EXIT_TRACE 12,708,864 1.3% 70.7%
_GET_ITER _CHECK_VALIDITY 12,355,584 1.3% 72.0%
_CHECK_PERIODIC _CHECK_VALIDITY_AND_SET_IP 7,382,016 0.8% 72.7%
_RESUME_CHECK _CHECK_FUNCTION 6,564,864 0.7% 73.4%
_SAVE_RETURN_OFFSET _PUSH_FRAME 6,564,864 0.7% 74.1%
_SET_IP _GET_ITER 6,300,672 0.6% 74.7%
_BUILD_LIST _SWAP 6,054,912 0.6% 75.3%
_LIST_APPEND _EXIT_TRACE 6,054,912 0.6% 76.0%
_LOAD_FAST_AND_CLEAR _SWAP 6,054,912 0.6% 76.6%
_SWAP _BUILD_LIST 6,054,912 0.6% 77.2%
_SWAP _SET_IP 6,054,912 0.6% 77.8%
_SET_IP _CHECK_FUNCTION_VERSION_INLINE 6,054,912 0.6% 78.4%
_CHECK_FUNCTION_VERSION_INLINE _CHECK_STACK_SPACE_OPERAND 6,054,912 0.6% 79.0%
_CHECK_STACK_SPACE_OPERAND _INIT_CALL_PY_EXACT_ARGS_1 6,054,912 0.6% 79.7%
_CHECK_VALIDITY _LOAD_FAST_AND_CLEAR 6,054,912 0.6% 80.3%
_CHECK_VALIDITY_AND_SET_IP _GET_ITER 6,054,912 0.6% 80.9%
_INIT_CALL_PY_EXACT_ARGS_1 _SAVE_RETURN_OFFSET 6,054,912 0.6% 81.5%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_CONST_INLINE_WITH_NULL 6,054,912 0.6% 82.1%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_0 6,054,912 0.6% 82.8%
_LOAD_FAST_0 _SET_IP 6,054,912 0.6% 83.4%
_PUSH_FRAME _RESUME_CHECK 6,054,912 0.6% 84.0%
_STORE_FAST_1 _LOAD_CONST_INLINE_BORROW_WITH_NULL 6,054,912 0.6% 84.6%
_CALL_TYPE_1 _SET_IP 5,544,960 0.6% 85.2%
_ITER_NEXT_TUPLE _STORE_FAST_2 5,544,960 0.6% 85.8%
_LOAD_CONST_INLINE_BORROW_WITH_NULL _LOAD_FAST_2 5,544,960 0.6% 86.3%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_CONST_INLINE_BORROW_WITH_NULL 5,544,960 0.6% 86.9%
_LOAD_FAST_2 _CALL_TYPE_1 5,544,960 0.6% 87.5%
_STORE_FAST_2 _CHECK_FUNCTION 5,544,960 0.6% 88.0%
_CHECK_VALIDITY _ITER_CHECK_LIST 4,546,560 0.5% 88.5%
_ITER_CHECK_LIST _GUARD_NOT_EXHAUSTED_LIST 4,546,560 0.5% 89.0%
_GUARD_NOT_EXHAUSTED_LIST _ITER_NEXT_LIST 4,177,920 0.4% 89.4%
_CALL_ISINSTANCE _CHECK_VALIDITY 3,932,160 0.4% 89.8%
_SET_IP _CALL_ISINSTANCE 3,932,160 0.4% 90.2%
_CHECK_VALIDITY _POP_TOP 3,932,160 0.4% 90.6%
_ITER_NEXT_LIST _STORE_FAST_7 3,932,160 0.4% 91.0%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_7 3,932,160 0.4% 91.4%
_LOAD_FAST_6 _SET_IP 3,932,160 0.4% 91.8%
_LOAD_FAST_7 _LOAD_FAST_6 3,932,160 0.4% 92.2%
_STORE_FAST_7 _CHECK_FUNCTION 3,932,160 0.4% 92.6%
_CHECK_FUNCTION _LOAD_CONST_INLINE 3,907,584 0.4% 93.0%
_POP_TOP _JUMP_TO_TOP 3,686,400 0.4% 93.4%
_POP_TOP _CHECK_FUNCTION 3,397,632 0.3% 93.7%
_LOAD_CONST_INLINE _EXIT_TRACE 3,397,632 0.3% 94.1%
_CHECK_VALIDITY_AND_SET_IP _FOR_ITER_TIER_TWO 817,152 0.1% 94.2%
_LOAD_FAST_3 _SET_IP 755,712 0.1% 94.2%
_POP_TOP _EXIT_TRACE 552,960 0.1% 94.3%
_PUSH_NULL _LOAD_FAST_1 509,952 0.1% 94.3%
_CALL_TYPE_1 _STORE_FAST_4 509,952 0.1% 94.4%
_SET_IP _CHECK_FUNCTION_VERSION 509,952 0.1% 94.4%
_CHECK_FUNCTION_VERSION _PY_FRAME_GENERAL 509,952 0.1% 94.5%
_CHECK_VALIDITY _RESUME_CHECK 509,952 0.1% 94.5%
_CHECK_VALIDITY _GUARD_IS_TRUE_POP 509,952 0.1% 94.6%
_CHECK_VALIDITY _STORE_FAST_3 509,952 0.1% 94.7%
_CHECK_VALIDITY_AND_SET_IP _CONTAINS_OP 509,952 0.1% 94.7%
_CONTAINS_OP _CHECK_VALIDITY 509,952 0.1% 94.8%
_FOR_ITER_TIER_TWO _CHECK_VALIDITY 509,952 0.1% 94.8%
_GUARD_IS_TRUE_POP _LOAD_FAST_4 509,952 0.1% 94.9%
_LOAD_CONST_INLINE _STORE_FAST_3 509,952 0.1% 94.9%
_LOAD_CONST_INLINE_BORROW _LOAD_CONST_INLINE_WITH_NULL 509,952 0.1% 95.0%
_LOAD_CONST_INLINE_BORROW_WITH_NULL _LOAD_FAST_0 509,952 0.1% 95.0%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_4 509,952 0.1% 95.1%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_5 509,952 0.1% 95.1%
_LOAD_FAST_0 _CALL_TYPE_1 509,952 0.1% 95.2%
_LOAD_FAST_1 _LOAD_FAST_3 509,952 0.1% 95.2%
_LOAD_FAST_2 _PUSH_NULL 509,952 0.1% 95.3%
_LOAD_FAST_4 _SET_IP 509,952 0.1% 95.3%
_LOAD_FAST_4 _STORE_FAST_5 509,952 0.1% 95.4%
_LOAD_FAST_5 _SET_IP 509,952 0.1% 95.4%
_PUSH_FRAME _CHECK_VALIDITY 509,952 0.1% 95.5%
_PY_FRAME_GENERAL _SAVE_RETURN_OFFSET 509,952 0.1% 95.5%
_STORE_FAST_3 _LOAD_CONST_INLINE_BORROW_WITH_NULL 509,952 0.1% 95.6%
_STORE_FAST_3 _LOAD_FAST_2 509,952 0.1% 95.6%
_STORE_FAST_4 _LOAD_CONST_INLINE_BORROW 509,952 0.1% 95.7%
_STORE_FAST_5 _LOAD_CONST_INLINE_WITH_NULL 509,952 0.1% 95.7%
_GUARD_NOT_EXHAUSTED_LIST _EXIT_TRACE 368,640 0.0% 95.8%
_FOR_ITER_TIER_TWO _EXIT_TRACE 307,200 0.0% 95.8%
_POP_TOP _LOAD_CONST_INLINE_BORROW 296,725 0.0% 95.8%

Unsupported opcodes

unsupported opcodes
Opcode Count
CALL_FUNCTION_EX 3,098

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 20

Stats gathered on: 2024-12-15