Skip to content

Latest commit

 

History

History
8251 lines (7582 loc) · 152 KB

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

File metadata and controls

8251 lines (7582 loc) · 152 KB

Pystats results

  • benchmark: nqueens
  • 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
POP_TOP 93,977,900 14.9% 14.9%
RESUME_CHECK 89,385,140 14.1% 29.0% 0.0%
INTERPRETER_EXIT 89,384,520 14.1% 43.2%
YIELD_VALUE 84,292,320 13.3% 56.5%
ENTER_EXECUTOR 84,280,440 13.3% 69.8%
LOAD_FAST 39,979,020 6.3% 76.2%
GET_ITER 15,022,740 2.4% 78.6%
LOAD_GLOBAL_BUILTIN 10,185,300 1.6% 80.2%
LOAD_DEREF 9,942,420 1.6% 81.7%
STORE_FAST 9,932,880 1.6% 83.3%
BINARY_SUBSCR_TUPLE_INT 9,931,260 1.6% 84.9%
RETURN_VALUE 9,931,080 1.6% 86.5%
CALL_BUILTIN_CLASS 5,092,980 0.8% 87.3%
CALL_PY_EXACT_ARGS 5,092,440 0.8% 88.1%
RETURN_GENERATOR 5,092,320 0.8% 88.9%
LOAD_CONST 5,092,320 0.8% 89.7%
FOR_ITER_RANGE 5,092,260 0.8% 90.5%
BUILD_TUPLE 5,092,200 0.8% 91.3%
MAKE_FUNCTION 5,092,140 0.8% 92.1%
COPY_FREE_VARS 5,092,140 0.8% 92.9%
SET_FUNCTION_ATTRIBUTE 5,092,140 0.8% 93.7%
COMPARE_OP_INT 5,092,140 0.8% 94.5%
CALL_LEN 5,092,080 0.8% 95.3%
FOR_ITER_LIST 4,839,360 0.8% 96.1%
BINARY_OP_ADD_INT 4,838,880 0.8% 96.8%
POP_JUMP_IF_FALSE 4,838,760 0.8% 97.6%
COPY 4,838,640 0.8% 98.4%
SWAP 4,838,640 0.8% 99.1%
STORE_DEREF 4,838,580 0.8% 99.9%
BINARY_OP_SUBTRACT_INT 253,920 0.0% 100.0%
POP_JUMP_IF_TRUE 253,620 0.0% 100.0%
JUMP_BACKWARD 13,260 0.0% 100.0%
FOR_ITER_GEN 12,220 0.0% 100.0%
JUMP_FORWARD 11,100 0.0% 100.0%
LOAD_CONST_IMMORTAL 9,040 0.0% 100.0%
LOAD_FAST_LOAD_FAST 1,260 0.0% 100.0%
LOAD_SMALL_INT 840 0.0% 100.0%
PUSH_NULL 480 0.0% 100.0%
LOAD_GLOBAL_MODULE 480 0.0% 100.0%
CALL_NON_PY_GENERAL 420 0.0% 100.0%
BINARY_SLICE 360 0.0% 100.0%
MAKE_CELL 300 0.0% 100.0%
LOAD_ATTR 280 0.0% 100.0%
CALL 260 0.0% 100.0%
BINARY_SUBSCR_LIST_INT 240 0.0% 100.0%
CALL_TUPLE_1 240 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
STORE_SUBSCR_LIST_INT 240 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 180 0.0% 100.0%
CALL_PY_GENERAL 180 0.0% 100.0%
LOAD_ATTR_MODULE 180 0.0% 100.0%
BINARY_SUBSCR 160 0.0% 100.0%
BINARY_OP 140 0.0% 100.0%
STORE_SLICE 120 0.0% 100.0%
END_FOR 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_INT 120 0.0% 100.0%
TO_BOOL 100 0.0% 100.0%
LOAD_GLOBAL 100 0.0% 100.0%
NOP 60 0.0% 100.0%
CALL_FUNCTION_EX 60 0.0% 100.0%
FOR_ITER 60 0.0% 100.0%
IS_OP 60 0.0% 100.0%
STORE_FAST_STORE_FAST 60 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_NOARGS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0% 100.0%
TO_BOOL_BOOL 60 0.0% 100.0%
UNPACK_SEQUENCE_TWO_TUPLE 60 0.0% 100.0%
COMPARE_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
POP_TOP ENTER_EXECUTOR 84,026,780 13.3% 13.3%
CACHE RESUME_CHECK 79,454,100 12.6% 25.9%
RESUME_CHECK POP_TOP 79,454,060 12.6% 38.4%
YIELD_VALUE INTERPRETER_EXIT 79,453,920 12.6% 51.0%
ENTER_EXECUTOR YIELD_VALUE 74,349,940 11.8% 62.8%
LOAD_FAST GET_ITER 15,022,380 2.4% 65.2%
STORE_FAST LOAD_DEREF 9,931,260 1.6% 66.7%
LOAD_DEREF LOAD_FAST 9,931,200 1.6% 68.3%
LOAD_FAST BINARY_SUBSCR_TUPLE_INT 9,931,200 1.6% 69.9%
POP_TOP RESUME_CHECK 9,930,600 1.6% 71.5%
RETURN_VALUE INTERPRETER_EXIT 9,930,600 1.6% 73.0%
RESUME_CHECK LOAD_FAST 9,930,540 1.6% 74.6%
CACHE POP_TOP 9,930,480 1.6% 76.2%
ENTER_EXECUTOR RETURN_VALUE 9,922,640 1.6% 77.7%
LOAD_GLOBAL_BUILTIN LOAD_FAST 5,092,620 0.8% 78.5%
LOAD_GLOBAL_BUILTIN LOAD_GLOBAL_BUILTIN 5,092,320 0.8% 79.4%
FOR_ITER_RANGE STORE_FAST 5,092,200 0.8% 80.2%
GET_ITER FOR_ITER_RANGE 5,092,140 0.8% 81.0%
MAKE_FUNCTION SET_FUNCTION_ATTRIBUTE 5,092,140 0.8% 81.8%
BUILD_TUPLE LOAD_CONST 5,092,140 0.8% 82.6%
LOAD_CONST MAKE_FUNCTION 5,092,140 0.8% 83.4%
LOAD_FAST BUILD_TUPLE 5,092,140 0.8% 84.2%
CALL_PY_EXACT_ARGS COPY_FREE_VARS 5,092,140 0.8% 85.0%
GET_ITER CALL_PY_EXACT_ARGS 5,092,080 0.8% 85.8%
RETURN_GENERATOR CALL_BUILTIN_CLASS 5,092,080 0.8% 86.6%
COPY_FREE_VARS RETURN_GENERATOR 5,092,080 0.8% 87.4%
SET_FUNCTION_ATTRIBUTE LOAD_FAST 5,092,080 0.8% 88.2%
BINARY_SUBSCR_TUPLE_INT LOAD_FAST 5,091,960 0.8% 89.0%
CALL_BUILTIN_CLASS CALL_LEN 5,091,960 0.8% 89.8%
BINARY_SUBSCR_TUPLE_INT YIELD_VALUE 4,839,240 0.8% 90.6%
FOR_ITER_LIST STORE_FAST 4,839,240 0.8% 91.4%
COMPARE_OP_INT POP_JUMP_IF_FALSE 4,838,580 0.8% 92.1%
STORE_DEREF LOAD_FAST 4,838,460 0.8% 92.9%
GET_ITER FOR_ITER_LIST 4,838,400 0.8% 93.7%
COPY COMPARE_OP_INT 4,838,400 0.8% 94.4%
LOAD_FAST BINARY_OP_ADD_INT 4,838,400 0.8% 95.2%
LOAD_FAST LOAD_GLOBAL_BUILTIN 4,838,400 0.8% 96.0%
SWAP COPY 4,838,400 0.8% 96.7%
YIELD_VALUE STORE_DEREF 4,838,400 0.8% 97.5%
BINARY_OP_ADD_INT YIELD_VALUE 4,838,400 0.8% 98.3%
CALL_LEN SWAP 4,838,400 0.8% 99.0%
POP_JUMP_IF_FALSE POP_TOP 4,584,840 0.7% 99.7%
POP_JUMP_IF_FALSE LOAD_GLOBAL_BUILTIN 253,720 0.0% 99.8%
LOAD_FAST BINARY_OP_SUBTRACT_INT 253,560 0.0% 99.8%
BINARY_OP_SUBTRACT_INT YIELD_VALUE 253,560 0.0% 99.9%
CALL_LEN COMPARE_OP_INT 253,560 0.0% 99.9%
COMPARE_OP_INT POP_JUMP_IF_TRUE 253,560 0.0% 99.9%
POP_JUMP_IF_TRUE ENTER_EXECUTOR 241,440 0.0% 100.0%
POP_TOP JUMP_BACKWARD 12,180 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_GEN 12,100 0.0% 100.0%
FOR_ITER_GEN ENTER_EXECUTOR 12,080 0.0% 100.0%
JUMP_FORWARD LOAD_DEREF 11,040 0.0% 100.0%
LOAD_DEREF YIELD_VALUE 11,040 0.0% 100.0%
POP_JUMP_IF_TRUE JUMP_FORWARD 11,040 0.0% 100.0%
LOAD_CONST_IMMORTAL RETURN_VALUE 8,260 0.0% 100.0%
POP_TOP LOAD_CONST_IMMORTAL 8,140 0.0% 100.0%
ENTER_EXECUTOR POP_TOP 7,720 0.0% 100.0%
POP_JUMP_IF_TRUE JUMP_BACKWARD 1,080 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_LIST 960 0.0% 100.0%
STORE_FAST LOAD_FAST 720 0.0% 100.0%
LOAD_SMALL_INT BINARY_OP_ADD_INT 480 0.0% 100.0%
LOAD_FAST CALL_BUILTIN_CLASS 400 0.0% 100.0%
LOAD_FAST PUSH_NULL 360 0.0% 100.0%
LOAD_FAST LOAD_SMALL_INT 360 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_BUILTIN 360 0.0% 100.0%
CALL_BUILTIN_CLASS CALL_BUILTIN_CLASS 360 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL_BUILTIN 360 0.0% 100.0%
CALL_BUILTIN_CLASS STORE_FAST 300 0.0% 100.0%
PUSH_NULL CALL_NON_PY_GENERAL 280 0.0% 100.0%
LOAD_FAST LOAD_CONST_IMMORTAL 240 0.0% 100.0%
LOAD_FAST_LOAD_FAST BINARY_OP_SUBTRACT_INT 240 0.0% 100.0%
MAKE_CELL RETURN_GENERATOR 240 0.0% 100.0%
BINARY_SUBSCR_LIST_INT LOAD_SMALL_INT 240 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_FAST 240 0.0% 100.0%
POP_TOP LOAD_FAST 180 0.0% 100.0%
RETURN_VALUE POP_TOP 180 0.0% 100.0%
RETURN_VALUE STORE_FAST 180 0.0% 100.0%
LOAD_FAST POP_JUMP_IF_NOT_NONE 180 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 180 0.0% 100.0%
CALL_NON_PY_GENERAL POP_TOP 180 0.0% 100.0%
CALL_PY_EXACT_ARGS RESUME_CHECK 180 0.0% 100.0%
CALL_PY_GENERAL MAKE_CELL 180 0.0% 100.0%
LOAD_SMALL_INT COMPARE_OP_INT 160 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_MODULE 160 0.0% 100.0%
LOAD_FAST LOAD_ATTR 140 0.0% 100.0%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 140 0.0% 100.0%
BINARY_SLICE GET_ITER 120 0.0% 100.0%
BINARY_SLICE BINARY_OP 120 0.0% 100.0%
BINARY_SLICE LOAD_FAST_LOAD_FAST 120 0.0% 100.0%
STORE_SLICE LOAD_FAST_LOAD_FAST 120 0.0% 100.0%
BINARY_SUBSCR STORE_FAST 120 0.0% 100.0%
END_FOR POP_TOP 120 0.0% 100.0%
GET_ITER FOR_ITER_GEN 120 0.0% 100.0%
RETURN_GENERATOR GET_ITER 120 0.0% 100.0%
RETURN_GENERATOR CALL_TUPLE_1 120 0.0% 100.0%
RETURN_VALUE END_FOR 120 0.0% 100.0%
BINARY_OP LOAD_FAST_LOAD_FAST 120 0.0% 100.0%
COPY COPY 120 0.0% 100.0%
COPY BINARY_SUBSCR_LIST_INT 120 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_RANGE 120 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.

BINARY_SLICE

Successors and predecessors for BINARY_SLICE
Predecessors Count Percentage
LOAD_FAST 120 33.3%
BINARY_OP_ADD_INT 120 33.3%
LOAD_CONST_IMMORTAL 120 33.3%
Successors Count Percentage
GET_ITER 120 33.3%
BINARY_OP 120 33.3%
LOAD_FAST_LOAD_FAST 120 33.3%

STORE_SLICE

Successors and predecessors for STORE_SLICE
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 120 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 120 100.0%

CACHE

Successors and predecessors for CACHE
Successors Count Percentage
RESUME_CHECK 79,454,100 88.9%
POP_TOP 9,930,480 11.1%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_CONST 120 75.0%
BINARY_SUBSCR 20 12.5%
LOAD_SMALL_INT 20 12.5%
Successors Count Percentage
STORE_FAST 120 75.0%
BINARY_SUBSCR 20 12.5%
BINARY_SUBSCR_TUPLE_INT 20 12.5%

END_FOR

Successors and predecessors for END_FOR
Predecessors Count Percentage
RETURN_VALUE 120 100.0%
Successors Count Percentage
POP_TOP 120 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_FAST 15,022,380 100.0%
BINARY_SLICE 120 0.0%
RETURN_GENERATOR 120 0.0%
CALL_BUILTIN_CLASS 120 0.0%
Successors Count Percentage
FOR_ITER_RANGE 5,092,140 33.9%
CALL_PY_EXACT_ARGS 5,092,080 33.9%
FOR_ITER_LIST 4,838,400 32.2%
FOR_ITER_GEN 120 0.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
YIELD_VALUE 79,453,920 88.9%
RETURN_VALUE 9,930,600 11.1%

MAKE_FUNCTION

Successors and predecessors for MAKE_FUNCTION
Predecessors Count Percentage
LOAD_CONST 5,092,140 100.0%
Successors Count Percentage
SET_FUNCTION_ATTRIBUTE 5,092,140 100.0%

NOP

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

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RESUME_CHECK 79,454,060 84.5%
CACHE 9,930,480 10.6%
POP_JUMP_IF_FALSE 4,584,840 4.9%
ENTER_EXECUTOR 7,720 0.0%
RETURN_VALUE 180 0.0%
Successors Count Percentage
ENTER_EXECUTOR 84,026,780 89.4%
RESUME_CHECK 9,930,600 10.6%
JUMP_BACKWARD 12,180 0.0%
LOAD_CONST_IMMORTAL 8,140 0.0%
LOAD_FAST 180 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_FAST 360 75.0%
LOAD_ATTR_MODULE 120 25.0%
Successors Count Percentage
CALL_NON_PY_GENERAL 280 58.3%
CALL 80 16.7%
LOAD_FAST 60 12.5%
LOAD_FAST_LOAD_FAST 60 12.5%

RETURN_GENERATOR

Successors and predecessors for RETURN_GENERATOR
Predecessors Count Percentage
COPY_FREE_VARS 5,092,080 100.0%
MAKE_CELL 240 0.0%
Successors Count Percentage
CALL_BUILTIN_CLASS 5,092,080 100.0%
GET_ITER 120 0.0%
CALL_TUPLE_1 120 0.0%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
ENTER_EXECUTOR 9,922,640 99.9%
LOAD_CONST_IMMORTAL 8,260 0.1%
LOAD_FAST 120 0.0%
CALL_NON_PY_GENERAL 60 0.0%
Successors Count Percentage
INTERPRETER_EXIT 9,930,600 100.0%
POP_TOP 180 0.0%
STORE_FAST 180 0.0%
END_FOR 120 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
BINARY_SLICE 120 85.7%
LOAD_FAST 20 14.3%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 120 85.7%
BINARY_OP_SUBTRACT_FLOAT 20 14.3%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST 5,092,140 100.0%
LOAD_FAST_LOAD_FAST 60 0.0%
Successors Count Percentage
LOAD_CONST 5,092,140 100.0%
CALL_METHOD_DESCRIPTOR_O 40 0.0%
CALL 20 0.0%

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
LOAD_FAST 60 100.0%

COMPARE_OP

Successors and predecessors for COMPARE_OP
Predecessors Count Percentage
LOAD_SMALL_INT 20 100.0%
Successors Count Percentage
COMPARE_OP_INT 20 100.0%

COPY

Successors and predecessors for COPY
Predecessors Count Percentage
SWAP 4,838,400 100.0%
COPY 120 0.0%
LOAD_FAST_LOAD_FAST 120 0.0%
Successors Count Percentage
COMPARE_OP_INT 4,838,400 100.0%
COPY 120 0.0%
BINARY_SUBSCR_LIST_INT 120 0.0%

COPY_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 5,092,140 100.0%
Successors Count Percentage
RETURN_GENERATOR 5,092,080 100.0%
RESUME_CHECK 60 0.0%

FOR_ITER

Successors and predecessors for FOR_ITER
Predecessors Count Percentage
JUMP_BACKWARD 60 100.0%
Successors Count Percentage
LOAD_FAST 60 100.0%

IS_OP

Successors and predecessors for IS_OP
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 60 100.0%
Successors Count Percentage
STORE_FAST 60 100.0%

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
POP_TOP 12,180 91.9%
POP_JUMP_IF_TRUE 1,080 8.1%
Successors Count Percentage
FOR_ITER_GEN 12,100 91.3%
FOR_ITER_LIST 960 7.2%
FOR_ITER_RANGE 120 0.9%
FOR_ITER 60 0.5%
YIELD_VALUE 20 0.2%

JUMP_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
POP_JUMP_IF_TRUE 11,040 99.5%
STORE_FAST 60 0.5%
Successors Count Percentage
LOAD_DEREF 11,040 99.5%
LOAD_FAST 60 0.5%

LOAD_ATTR

Successors and predecessors for LOAD_ATTR
Predecessors Count Percentage
LOAD_FAST 140 50.0%
LOAD_GLOBAL_MODULE 60 21.4%
LOAD_ATTR_INSTANCE_VALUE 40 14.3%
LOAD_ATTR 20 7.1%
LOAD_FAST_LOAD_FAST 20 7.1%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 60 21.4%
LOAD_ATTR_INSTANCE_VALUE 60 21.4%
LOAD_ATTR_MODULE 60 21.4%
LOAD_ATTR_METHOD_NO_DICT 40 14.3%
LOAD_ATTR_METHOD_WITH_VALUES 40 14.3%

LOAD_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
BUILD_TUPLE 5,092,140 100.0%
CALL_BUILTIN_CLASS 120 0.0%
POP_JUMP_IF_NOT_NONE 60 0.0%
Successors Count Percentage
MAKE_FUNCTION 5,092,140 100.0%
BINARY_SUBSCR 120 0.0%
STORE_FAST 60 0.0%

LOAD_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
STORE_FAST 9,931,260 99.9%
JUMP_FORWARD 11,040 0.1%
LOAD_GLOBAL_BUILTIN 120 0.0%
Successors Count Percentage
LOAD_FAST 9,931,200 99.9%
YIELD_VALUE 11,040 0.1%
CALL_LEN 120 0.0%
STORE_FAST 60 0.0%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
LOAD_DEREF 9,931,200 24.8%
RESUME_CHECK 9,930,540 24.8%
LOAD_GLOBAL_BUILTIN 5,092,620 12.7%
SET_FUNCTION_ATTRIBUTE 5,092,080 12.7%
BINARY_SUBSCR_TUPLE_INT 5,091,960 12.7%
Successors Count Percentage
GET_ITER 15,022,380 37.6%
BINARY_SUBSCR_TUPLE_INT 9,931,200 24.8%
BUILD_TUPLE 5,092,140 12.7%
BINARY_OP_ADD_INT 4,838,400 12.1%
LOAD_GLOBAL_BUILTIN 4,838,400 12.1%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
BINARY_SLICE 120 9.5%
STORE_SLICE 120 9.5%
BINARY_OP 120 9.5%
POP_JUMP_IF_FALSE 120 9.5%
STORE_FAST 120 9.5%
Successors Count Percentage
BINARY_OP_SUBTRACT_INT 240 19.0%
COPY 120 9.5%
LOAD_FAST 120 9.5%
LOAD_SMALL_INT 120 9.5%
BINARY_SUBSCR_LIST_INT 120 9.5%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
RESUME_CHECK 60 60.0%
POP_JUMP_IF_FALSE 20 20.0%
STORE_FAST 20 20.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 80 80.0%
LOAD_GLOBAL_BUILTIN 20 20.0%

LOAD_SMALL_INT

Successors and predecessors for LOAD_SMALL_INT
Predecessors Count Percentage
LOAD_FAST 360 42.9%
BINARY_SUBSCR_LIST_INT 240 28.6%
LOAD_FAST_LOAD_FAST 120 14.3%
BINARY_OP_SUBTRACT_INT 120 14.3%
Successors Count Percentage
BINARY_OP_ADD_INT 480 57.1%
COMPARE_OP_INT 160 19.0%
BINARY_OP_SUBTRACT_INT 120 14.3%
BINARY_SUBSCR_TUPLE_INT 40 4.8%
BINARY_SUBSCR 20 2.4%

MAKE_CELL

Successors and predecessors for MAKE_CELL
Predecessors Count Percentage
CALL_PY_GENERAL 180 60.0%
CALL_PY_EXACT_ARGS 120 40.0%
Successors Count Percentage
RETURN_GENERATOR 240 80.0%
RESUME_CHECK 60 20.0%

POP_JUMP_IF_FALSE

Successors and predecessors for POP_JUMP_IF_FALSE
Predecessors Count Percentage
COMPARE_OP_INT 4,838,580 100.0%
TO_BOOL_INT 120 0.0%
TO_BOOL 60 0.0%
Successors Count Percentage
POP_TOP 4,584,840 94.8%
LOAD_GLOBAL_BUILTIN 253,720 5.2%
LOAD_FAST_LOAD_FAST 120 0.0%
LOAD_FAST 60 0.0%
LOAD_GLOBAL 20 0.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 180 100.0%
Successors Count Percentage
LOAD_FAST 120 66.7%
LOAD_CONST 60 33.3%

POP_JUMP_IF_TRUE

Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors Count Percentage
COMPARE_OP_INT 253,560 100.0%
TO_BOOL_BOOL 60 0.0%
Successors Count Percentage
ENTER_EXECUTOR 241,440 95.2%
JUMP_FORWARD 11,040 4.4%
JUMP_BACKWARD 1,080 0.4%
NOP 60 0.0%

SET_FUNCTION_ATTRIBUTE

Successors and predecessors for SET_FUNCTION_ATTRIBUTE
Predecessors Count Percentage
MAKE_FUNCTION 5,092,140 100.0%
Successors Count Percentage
LOAD_FAST 5,092,080 100.0%
STORE_FAST 60 0.0%

STORE_DEREF

Successors and predecessors for STORE_DEREF
Predecessors Count Percentage
YIELD_VALUE 4,838,400 100.0%
CALL_TUPLE_1 120 0.0%
CALL_NON_PY_GENERAL 60 0.0%
Successors Count Percentage
LOAD_FAST 4,838,460 100.0%
LOAD_GLOBAL_BUILTIN 120 0.0%

STORE_FAST

Successors and predecessors for STORE_FAST
Predecessors Count Percentage
FOR_ITER_RANGE 5,092,200 51.3%
FOR_ITER_LIST 4,839,240 48.7%
CALL_BUILTIN_CLASS 300 0.0%
RETURN_VALUE 180 0.0%
BINARY_SUBSCR 120 0.0%
Successors Count Percentage
LOAD_DEREF 9,931,260 100.0%
LOAD_FAST 720 0.0%
LOAD_GLOBAL_BUILTIN 360 0.0%
LOAD_CONST_IMMORTAL 180 0.0%
LOAD_GLOBAL_MODULE 160 0.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
CALL_LEN 4,838,400 100.0%
SWAP 120 0.0%
BINARY_OP_SUBTRACT_INT 120 0.0%
Successors Count Percentage
COPY 4,838,400 100.0%
SWAP 120 0.0%
STORE_SUBSCR_LIST_INT 120 0.0%

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%

YIELD_VALUE

Successors and predecessors for YIELD_VALUE
Predecessors Count Percentage
ENTER_EXECUTOR 74,349,940 88.2%
BINARY_SUBSCR_TUPLE_INT 4,839,240 5.7%
BINARY_OP_ADD_INT 4,838,400 5.7%
BINARY_OP_SUBTRACT_INT 253,560 0.3%
LOAD_DEREF 11,040 0.0%
Successors Count Percentage
INTERPRETER_EXIT 79,453,920 94.3%
STORE_DEREF 4,838,400 5.7%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_FAST 4,838,400 100.0%
LOAD_SMALL_INT 480 0.0%
Successors Count Percentage
YIELD_VALUE 4,838,400 100.0%
BINARY_SLICE 120 0.0%
LOAD_FAST 120 0.0%
CALL_BUILTIN_CLASS 120 0.0%
LOAD_CONST_IMMORTAL 120 0.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
STORE_FAST 60 100.0%

BINARY_OP_SUBTRACT_INT

Successors and predecessors for BINARY_OP_SUBTRACT_INT
Predecessors Count Percentage
LOAD_FAST 253,560 99.9%
LOAD_FAST_LOAD_FAST 240 0.1%
LOAD_SMALL_INT 120 0.0%
Successors Count Percentage
YIELD_VALUE 253,560 99.9%
LOAD_FAST_LOAD_FAST 120 0.0%
LOAD_SMALL_INT 120 0.0%
SWAP 120 0.0%

BINARY_SUBSCR_LIST_INT

Successors and predecessors for BINARY_SUBSCR_LIST_INT
Predecessors Count Percentage
COPY 120 50.0%
LOAD_FAST_LOAD_FAST 120 50.0%
Successors Count Percentage
LOAD_SMALL_INT 240 100.0%

BINARY_SUBSCR_TUPLE_INT

Successors and predecessors for BINARY_SUBSCR_TUPLE_INT
Predecessors Count Percentage
LOAD_FAST 9,931,200 100.0%
LOAD_SMALL_INT 40 0.0%
BINARY_SUBSCR 20 0.0%
Successors Count Percentage
LOAD_FAST 5,091,960 51.3%
YIELD_VALUE 4,839,240 48.7%
STORE_FAST 60 0.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
RETURN_GENERATOR 5,092,080 100.0%
LOAD_FAST 400 0.0%
CALL_BUILTIN_CLASS 360 0.0%
BINARY_OP_ADD_INT 120 0.0%
CALL 20 0.0%
Successors Count Percentage
CALL_LEN 5,091,960 100.0%
CALL_BUILTIN_CLASS 360 0.0%
STORE_FAST 300 0.0%
GET_ITER 120 0.0%
POP_TOP 120 0.0%

CALL_LEN

Successors and predecessors for CALL_LEN
Predecessors Count Percentage
CALL_BUILTIN_CLASS 5,091,960 100.0%
LOAD_DEREF 120 0.0%
Successors Count Percentage
SWAP 4,838,400 95.0%
COMPARE_OP_INT 253,560 5.0%
STORE_FAST 120 0.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
PUSH_NULL 280 66.7%
CALL 100 23.8%
LOAD_FAST_LOAD_FAST 40 9.5%
Successors Count Percentage
POP_TOP 180 42.9%
RETURN_VALUE 60 14.3%
LOAD_FAST 60 14.3%
STORE_DEREF 60 14.3%
STORE_FAST 60 14.3%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
GET_ITER 5,092,080 100.0%
LOAD_FAST 120 0.0%
CALL 80 0.0%
LOAD_FAST_LOAD_FAST 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 40 0.0%
Successors Count Percentage
COPY_FREE_VARS 5,092,140 100.0%
RESUME_CHECK 180 0.0%
MAKE_CELL 120 0.0%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_FAST 120 66.7%
LOAD_CONST_IMMORTAL 40 22.2%
CALL 20 11.1%
Successors Count Percentage
MAKE_CELL 180 100.0%

CALL_TUPLE_1

Successors and predecessors for CALL_TUPLE_1
Predecessors Count Percentage
RETURN_GENERATOR 120 50.0%
LOAD_FAST 120 50.0%
Successors Count Percentage
STORE_DEREF 120 50.0%
YIELD_VALUE 120 50.0%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
COPY 4,838,400 95.0%
CALL_LEN 253,560 5.0%
LOAD_SMALL_INT 160 0.0%
COMPARE_OP 20 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 4,838,580 95.0%
POP_JUMP_IF_TRUE 253,560 5.0%

FOR_ITER_GEN

Successors and predecessors for FOR_ITER_GEN
Predecessors Count Percentage
JUMP_BACKWARD 12,100 99.0%
GET_ITER 120 1.0%
Successors Count Percentage
ENTER_EXECUTOR 12,080 98.9%
POP_TOP 120 1.0%
RESUME_CHECK 20 0.2%

FOR_ITER_LIST

Successors and predecessors for FOR_ITER_LIST
Predecessors Count Percentage
GET_ITER 4,838,400 100.0%
JUMP_BACKWARD 960 0.0%
Successors Count Percentage
STORE_FAST 4,839,240 100.0%
LOAD_CONST_IMMORTAL 120 0.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
GET_ITER 5,092,140 100.0%
JUMP_BACKWARD 120 0.0%
Successors Count Percentage
STORE_FAST 5,092,200 100.0%
LOAD_FAST 60 0.0%

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 120 66.7%
LOAD_ATTR 60 33.3%
Successors Count Percentage
PUSH_NULL 120 66.7%
STORE_FAST 60 33.3%

LOAD_CONST_IMMORTAL

Successors and predecessors for LOAD_CONST_IMMORTAL
Predecessors Count Percentage
POP_TOP 8,140 90.0%
LOAD_FAST 240 2.7%
STORE_FAST 180 2.0%
LOAD_FAST_LOAD_FAST 120 1.3%
BINARY_OP_ADD_INT 120 1.3%
Successors Count Percentage
RETURN_VALUE 8,260 91.4%
BINARY_SLICE 120 1.3%
STORE_SLICE 120 1.3%
LOAD_FAST 120 1.3%
STORE_FAST 120 1.3%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
LOAD_GLOBAL_BUILTIN 5,092,320 50.0%
LOAD_FAST 4,838,400 47.5%
POP_JUMP_IF_FALSE 253,720 2.5%
STORE_FAST 360 0.0%
RESUME_CHECK 360 0.0%
Successors Count Percentage
LOAD_FAST 5,092,620 50.0%
LOAD_GLOBAL_BUILTIN 5,092,320 50.0%
LOAD_DEREF 120 0.0%
LOAD_FAST_LOAD_FAST 120 0.0%
LOAD_GLOBAL_MODULE 120 0.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 160 33.3%
LOAD_GLOBAL_BUILTIN 120 25.0%
RESUME_CHECK 120 25.0%
LOAD_GLOBAL 80 16.7%
Successors Count Percentage
LOAD_FAST 240 50.0%
LOAD_ATTR_MODULE 120 25.0%
LOAD_ATTR 60 12.5%
LOAD_FAST_LOAD_FAST 60 12.5%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CACHE 79,454,100 88.9%
POP_TOP 9,930,600 11.1%
CALL_PY_EXACT_ARGS 180 0.0%
ENTER_EXECUTOR 120 0.0%
COPY_FREE_VARS 60 0.0%
Successors Count Percentage
POP_TOP 79,454,060 88.9%
LOAD_FAST 9,930,540 11.1%
LOAD_GLOBAL_BUILTIN 360 0.0%
LOAD_GLOBAL_MODULE 120 0.0%
LOAD_GLOBAL 60 0.0%

STORE_SUBSCR_LIST_INT

Successors and predecessors for STORE_SUBSCR_LIST_INT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 120 50.0%
SWAP 120 50.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 120 50.0%
ENTER_EXECUTOR 120 50.0%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
LOAD_FAST 40 66.7%
TO_BOOL 20 33.3%
Successors Count Percentage
POP_JUMP_IF_TRUE 60 100.0%

TO_BOOL_INT

Successors and predecessors for TO_BOOL_INT
Predecessors Count Percentage
LOAD_FAST 120 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 120 100.0%

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_TOP 84,026,780 99.7%
POP_JUMP_IF_TRUE 241,440 0.3%
FOR_ITER_GEN 12,080 0.0%
STORE_SUBSCR_LIST_INT 120 0.0%
ENTER_EXECUTOR 20 0.0%
Successors Count Percentage
YIELD_VALUE 74,349,940 88.2%
RETURN_VALUE 9,922,640 11.8%
POP_TOP 7,720 0.0%
RESUME_CHECK 120 0.0%
ENTER_EXECUTOR 20 0.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.

120 0.0%
hit

Specialized instructions that complete.

5,092,860 100.0%
Success Count Ratio
Success 20 100.0%
Failure 0 0.0%

BINARY_SLICE

specialization stats for BINARY_SLICE family
Kind Count Ratio
deferred

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

360 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.

120 0.0%
hit

Specialized instructions that complete.

9,931,500 100.0%
Success Count Ratio
Success 20 50.0%
Failure 20 50.0%
Failure kind Count Ratio
list slice 20 100.0%

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

15,277,860 100.0%
Success Count Ratio
Success 260 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

5,092,140 100.0%
Success Count Ratio
Success 20 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.

60 0.0%
hit

Specialized instructions that complete.

9,943,840 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.

60 6.4%
hit

Specialized instructions that complete.

660 70.2%
Success Count Ratio
Success 200 90.9%
Failure 20 9.1%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

10,185,780 100.0%
Success Count Ratio
Success 100 100.0%
Failure 0 0.0%

STORE_SLICE

specialization stats for STORE_SLICE family
Kind Count Ratio
deferred

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

120 100.0%

STORE_SUBSCR

specialization stats for STORE_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

240 100.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 21.4%
hit

Specialized instructions that complete.

180 64.3%
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.

486,932,600 77.1%
Not specialized

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

1,620 0.0%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

144,919,840 22.9%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

60 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_SLICE 360 40.0%
STORE_SLICE 120 13.3%
BINARY_SUBSCR 120 13.3%
BINARY_OP 120 13.3%
TO_BOOL 60 6.7%
FOR_ITER 60 6.7%
LOAD_ATTR 60 6.7%
CACHE 0 0.0%
END_FOR 0 0.0%
GET_ITER 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 60 50.0%
RESUME_CHECK 60 50.0%
CACHE 0 0.0%
END_FOR 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 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 89,384,580 85.8%
Calls to Python functions inlined 14,769,420 14.2%
Calls via PyEval_EvalFrame (total) 89,384,580 85.8%
Calls via PyEval_EvalFrame (vector) 180 0.0%
Calls via PyEval_EvalFrame (generator) 89,384,400 85.8%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 180 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) 0 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 9,931,080 9.5%

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 79,218,520 48.6%
Frees to freelist 79,218,840
Allocations 83,920,700 51.4%
Allocations to 512 bytes 79,180,340 48.5%
Allocations to 4 kbytes 4,740,360 2.9%
Allocations over 4 kbytes 0 0.0%
Frees 83,920,200
Inline values 0
Interpreter mortal increfs 364,509,320 28.4%
Interpreter mortal decrefs 478,298,420 27.7%
Mortal increfs 105,545,566 8.2%
Mortal decrefs 120,374,847 7.0%
Interpreter immortal increfs 524,755,140 40.8%
Interpreter immortal decrefs 711,198,120 41.1%
Immortal increfs 290,885,406 22.6%
Immortal decrefs 419,074,485 24.2%
Materialize dict (on request) 0
Materialize dict (new key) 0
Materialize dict (too big) 0
Materialize dict (str subclass) 0
Method cache hits 194
Method cache misses 26
Method cache collisions 21
Method cache dunder hits 4,838,520
Method cache dunder misses 0

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.

20,640
Traces created

The number of traces that were successfully created.

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

20,620 99.9%
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.

20,600 99.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

113,544,100
Uops executed

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

2,393,956,480 2,108.4%
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 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 40 100.0%

Trace run length histogram

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

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_SET_IP 256,882,700 10.7% 10.7%
_CHECK_VALIDITY 247,218,120 10.3% 21.1%
_MAKE_WARM 117,019,420 4.9% 25.9%
_LOAD_FAST_1 114,831,960 4.8% 30.7%
_START_EXECUTOR 113,544,100 4.7% 35.5%
_CHECK_PERIODIC 111,935,060 4.7% 40.2%
_EXIT_TRACE 108,717,780 4.5% 44.7%
_LOAD_FAST_5 90,700,200 3.8% 48.5%
_LOAD_DEREF 69,511,680 2.9% 51.4%
_BINARY_SUBSCR_TUPLE_INT 69,511,680 2.9% 54.3%
_STORE_FAST_1 69,511,680 2.9% 57.2%
_GUARD_NOS_INT 65,422,800 2.7% 59.9%
_GUARD_NOT_EXHAUSTED_RANGE 53,887,680 2.3% 62.2% 9.4%
_ITER_CHECK_RANGE 53,887,680 2.3% 64.4%
_BINARY_OP_ADD_INT 50,496,000 2.1% 66.5%
_LOAD_FAST_3 49,132,200 2.1% 68.6%
_ITER_NEXT_RANGE 48,795,600 2.0% 70.6%
_CHECK_VALIDITY_AND_SET_IP 47,007,860 2.0% 72.6%
_LOAD_FAST_4 39,455,640 1.6% 74.2%
_GUARD_NOT_EXHAUSTED_LIST 38,706,240 1.6% 75.9% 12.5%
_ITER_CHECK_LIST 38,706,240 1.6% 77.5%
_BINARY_SUBSCR_LIST_INT 35,980,320 1.5% 79.0%
_ITER_NEXT_LIST 33,867,960 1.4% 80.4%
_LOAD_CONST_INLINE_BORROW 31,388,120 1.3% 81.7%
_SWAP 31,142,040 1.3% 83.0%
_LOAD_SMALL_INT_1 29,779,080 1.2% 84.3%
_COPY 26,303,760 1.1% 85.4%
_STORE_SUBSCR_LIST_INT 26,303,760 1.1% 86.5%
_BINARY_OP_SUBTRACT_INT 23,240,400 1.0% 87.4%
_BINARY_SLICE 21,465,480 0.9% 88.3%
_POP_TOP 19,599,160 0.8% 89.1%
_GUARD_IS_TRUE_POP 17,990,160 0.8% 89.9% 26.9%
_LOAD_CONST_INLINE_BORROW_WITH_NULL 14,514,840 0.6% 90.5%
_COMPARE_OP_INT 13,151,880 0.5% 91.0%
_LOAD_FAST_2 13,151,880 0.5% 91.6%
_LOAD_SMALL_INT_0 13,151,880 0.5% 92.1%
_STORE_FAST_5 13,151,880 0.5% 92.7%
_GET_ITER 9,676,560 0.4% 93.1%
_UNARY_NEGATIVE 9,676,560 0.4% 93.5%
_CALL_BUILTIN_CLASS 9,676,560 0.4% 93.9%
_CHECK_FUNCTION 9,676,560 0.4% 94.3%
_LOAD_FAST_6 9,676,560 0.4% 94.7%
_PUSH_FRAME 9,664,580 0.4% 95.1%
_BINARY_OP 8,313,600 0.3% 95.5%
_STORE_SLICE 8,313,600 0.3% 95.8%
_TIER2_RESUME_CHECK 4,838,280 0.2% 96.0% 0.0%
_MAKE_FUNCTION 4,838,280 0.2% 96.2%
_RETURN_GENERATOR 4,838,280 0.2% 96.4%
_BUILD_TUPLE 4,838,280 0.2% 96.6%
_COPY_FREE_VARS 4,838,280 0.2% 96.8%
_SET_FUNCTION_ATTRIBUTE 4,838,280 0.2% 97.0%
_TO_BOOL_INT 4,838,280 0.2% 97.2%
_BINARY_SUBSCR 4,838,280 0.2% 97.4%
_CALL_TUPLE_1 4,838,280 0.2% 97.6%
_CHECK_FUNCTION_EXACT_ARGS 4,838,280 0.2% 97.8%
_CHECK_FUNCTION_VERSION 4,838,280 0.2% 98.0%
_CHECK_STACK_SPACE_OPERAND 4,838,280 0.2% 98.2%
_INIT_CALL_PY_EXACT_ARGS_0 4,838,280 0.2% 98.4%
_LOAD_CONST_INLINE 4,838,280 0.2% 98.6%
_LOAD_FAST_7 4,838,280 0.2% 98.8%
_SAVE_RETURN_OFFSET 4,838,280 0.2% 99.0%
_STORE_FAST_6 4,838,280 0.2% 99.2%
_STORE_SUBSCR 4,838,280 0.2% 99.5%
_DYNAMIC_EXIT 4,826,300 0.2% 99.7%
_FOR_ITER_GEN_FRAME 4,826,300 0.2% 99.9%
_JUMP_TO_TOP 3,475,320 0.1% 100.0%
_DEOPT 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
_START_EXECUTOR _MAKE_WARM 113,544,100 4.7% 4.7%
_CHECK_PERIODIC _CHECK_VALIDITY 97,432,200 4.1% 8.8%
_SET_IP _CHECK_PERIODIC 97,420,220 4.1% 12.9%
_MAKE_WARM _SET_IP 97,420,220 4.1% 17.0%
_LOAD_DEREF _CHECK_VALIDITY 69,511,680 2.9% 19.9%
_SET_IP _LOAD_DEREF 69,511,680 2.9% 22.8%
_CHECK_VALIDITY _LOAD_FAST_1 69,511,680 2.9% 25.7%
_LOAD_FAST_1 _BINARY_SUBSCR_TUPLE_INT 69,511,680 2.9% 28.6%
_STORE_FAST_1 _SET_IP 69,511,680 2.9% 31.5%
_CHECK_VALIDITY _ITER_CHECK_RANGE 53,887,680 2.3% 33.7%
_ITER_CHECK_RANGE _GUARD_NOT_EXHAUSTED_RANGE 53,887,680 2.3% 36.0%
_GUARD_NOT_EXHAUSTED_RANGE _ITER_NEXT_RANGE 48,795,600 2.0% 38.0%
_LOAD_FAST_4 _LOAD_FAST_5 39,455,640 1.6% 39.7%
_CHECK_VALIDITY _ITER_CHECK_LIST 38,706,240 1.6% 41.3%
_ITER_CHECK_LIST _GUARD_NOT_EXHAUSTED_LIST 38,706,240 1.6% 42.9%
_BINARY_SUBSCR_LIST_INT _CHECK_VALIDITY 35,980,320 1.5% 44.4%
_SET_IP _BINARY_SUBSCR_LIST_INT 35,980,320 1.5% 45.9%
_BINARY_SUBSCR_TUPLE_INT _LOAD_FAST_1 35,643,720 1.5% 47.4%
_ITER_NEXT_RANGE _STORE_FAST_1 35,643,720 1.5% 48.9%
_LOAD_FAST_1 _GUARD_NOS_INT 35,643,720 1.5% 50.4%
_LOAD_FAST_3 _LOAD_FAST_5 34,617,360 1.4% 51.8%
_BINARY_OP_ADD_INT _EXIT_TRACE 33,868,800 1.4% 53.2%
_GUARD_NOS_INT _BINARY_OP_ADD_INT 33,868,800 1.4% 54.6%
_BINARY_SUBSCR_TUPLE_INT _EXIT_TRACE 33,867,960 1.4% 56.1%
_GUARD_NOT_EXHAUSTED_LIST _ITER_NEXT_LIST 33,867,960 1.4% 57.5%
_ITER_NEXT_LIST _STORE_FAST_1 33,867,960 1.4% 58.9%
_LOAD_FAST_5 _SET_IP 22,828,440 1.0% 59.8%
_SET_IP _BINARY_SLICE 21,465,480 0.9% 60.7%
_CHECK_VALIDITY _LOAD_FAST_3 21,465,480 0.9% 61.6%
_GUARD_NOS_INT _BINARY_OP_SUBTRACT_INT 18,402,120 0.8% 62.4%
_LOAD_CONST_INLINE_BORROW _SET_IP 16,627,200 0.7% 63.1%
_LOAD_FAST_5 _LOAD_SMALL_INT_1 16,627,200 0.7% 63.8%
_LOAD_SMALL_INT_1 _BINARY_OP_ADD_INT 16,627,200 0.7% 64.5%
_CHECK_PERIODIC _CHECK_VALIDITY_AND_SET_IP 14,502,860 0.6% 65.1%
_COPY _COPY 13,151,880 0.5% 65.6%
_COPY _SET_IP 13,151,880 0.5% 66.2%
_SWAP _SWAP 13,151,880 0.5% 66.7%
_SWAP _STORE_SUBSCR_LIST_INT 13,151,880 0.5% 67.3%
_STORE_SUBSCR_LIST_INT _LOAD_FAST_4 13,151,880 0.5% 67.8%
_BINARY_OP_SUBTRACT_INT _SWAP 13,151,880 0.5% 68.4%
_BINARY_SLICE _CHECK_VALIDITY_AND_SET_IP 13,151,880 0.5% 68.9%
_CHECK_VALIDITY _LOAD_FAST_2 13,151,880 0.5% 69.5%
_CHECK_VALIDITY _LOAD_SMALL_INT_0 13,151,880 0.5% 70.0%
_CHECK_VALIDITY _LOAD_SMALL_INT_1 13,151,880 0.5% 70.6%
_COMPARE_OP_INT _GUARD_IS_TRUE_POP 13,151,880 0.5% 71.1%
_GUARD_NOS_INT _COMPARE_OP_INT 13,151,880 0.5% 71.7%
_ITER_NEXT_RANGE _STORE_FAST_5 13,151,880 0.5% 72.2%
_LOAD_FAST_5 _COPY 13,151,880 0.5% 72.8%
_LOAD_FAST_5 _STORE_SUBSCR_LIST_INT 13,151,880 0.5% 73.3%
_LOAD_SMALL_INT_0 _GUARD_NOS_INT 13,151,880 0.5% 73.9%
_LOAD_SMALL_INT_1 _GUARD_NOS_INT 13,151,880 0.5% 74.4%
_STORE_FAST_5 _LOAD_FAST_4 13,151,880 0.5% 75.0%
_POP_TOP _LOAD_CONST_INLINE_BORROW 9,922,640 0.4% 75.4%
_LOAD_CONST_INLINE_BORROW _EXIT_TRACE 9,922,640 0.4% 75.8%
_MAKE_WARM _POP_TOP 9,922,640 0.4% 76.2%
_UNARY_NEGATIVE _CHECK_VALIDITY_AND_SET_IP 9,676,560 0.4% 76.6%
_SET_IP _UNARY_NEGATIVE 9,676,560 0.4% 77.0%
_CALL_BUILTIN_CLASS _CHECK_PERIODIC 9,676,560 0.4% 77.4%
_CHECK_FUNCTION _LOAD_CONST_INLINE_BORROW_WITH_NULL 9,676,560 0.4% 77.8%
_CHECK_VALIDITY_AND_SET_IP _GET_ITER 9,676,560 0.4% 78.2%
_LOAD_FAST_1 _SET_IP 9,676,560 0.4% 78.6%
_LOAD_FAST_3 _LOAD_FAST_6 9,676,560 0.4% 79.1%
_LOAD_FAST_6 _SET_IP 9,676,560 0.4% 79.5%
_SET_IP _STORE_SLICE 8,313,600 0.3% 79.8%
_BINARY_OP _CHECK_VALIDITY 8,313,600 0.3% 80.1%
_BINARY_OP_ADD_INT _SET_IP 8,313,600 0.3% 80.5%
_BINARY_OP_ADD_INT _LOAD_CONST_INLINE_BORROW 8,313,600 0.3% 80.8%
_BINARY_OP_SUBTRACT_INT _LOAD_FAST_4 8,313,600 0.3% 81.2%
_BINARY_SLICE _CHECK_VALIDITY 8,313,600 0.3% 81.5%
_CHECK_VALIDITY_AND_SET_IP _BINARY_OP 8,313,600 0.3% 81.9%
_GUARD_IS_TRUE_POP _LOAD_FAST_3 8,313,600 0.3% 82.2%
_LOAD_FAST_2 _LOAD_FAST_5 8,313,600 0.3% 82.6%
_LOAD_FAST_5 _LOAD_CONST_INLINE_BORROW 8,313,600 0.3% 82.9%
_LOAD_FAST_5 _LOAD_FAST_5 8,313,600 0.3% 83.3%
_STORE_SLICE _CHECK_VALIDITY 8,313,600 0.3% 83.6%
_GUARD_NOT_EXHAUSTED_RANGE _EXIT_TRACE 5,092,080 0.2% 83.8%
_GET_ITER _CHECK_VALIDITY 4,838,280 0.2% 84.0%
_GET_ITER _CHECK_VALIDITY_AND_SET_IP 4,838,280 0.2% 84.2%
_MAKE_FUNCTION _CHECK_VALIDITY 4,838,280 0.2% 84.4%
_RETURN_GENERATOR _CHECK_VALIDITY_AND_SET_IP 4,838,280 0.2% 84.6%
_BUILD_TUPLE _LOAD_CONST_INLINE 4,838,280 0.2% 84.8%
_COPY_FREE_VARS _SET_IP 4,838,280 0.2% 85.0%
_SET_FUNCTION_ATTRIBUTE _LOAD_FAST_3 4,838,280 0.2% 85.3%
_SWAP _LOAD_FAST_3 4,838,280 0.2% 85.5%
_STORE_SUBSCR_LIST_INT _EXIT_TRACE 4,838,280 0.2% 85.7%
_STORE_SUBSCR_LIST_INT _LOAD_FAST_3 4,838,280 0.2% 85.9%
_TO_BOOL_INT _GUARD_IS_TRUE_POP 4,838,280 0.2% 86.1%
_SET_IP _MAKE_FUNCTION 4,838,280 0.2% 86.3%
_SET_IP _RETURN_GENERATOR 4,838,280 0.2% 86.5%
_SET_IP _CALL_BUILTIN_CLASS 4,838,280 0.2% 86.7%
_BINARY_SUBSCR _CHECK_VALIDITY 4,838,280 0.2% 86.9%
_CALL_TUPLE_1 _CHECK_PERIODIC 4,838,280 0.2% 87.1%
_CHECK_FUNCTION_EXACT_ARGS _CHECK_STACK_SPACE_OPERAND 4,838,280 0.2% 87.3%
_CHECK_FUNCTION_VERSION _CHECK_FUNCTION_EXACT_ARGS 4,838,280 0.2% 87.5%
_CHECK_STACK_SPACE_OPERAND _INIT_CALL_PY_EXACT_ARGS_0 4,838,280 0.2% 87.7%
_CHECK_VALIDITY _SET_FUNCTION_ATTRIBUTE 4,838,280 0.2% 87.9%
_CHECK_VALIDITY _SWAP 4,838,280 0.2% 88.1%
_CHECK_VALIDITY _EXIT_TRACE 4,838,280 0.2% 88.3%
_CHECK_VALIDITY _CHECK_FUNCTION 4,838,280 0.2% 88.5%
_CHECK_VALIDITY _STORE_FAST_6 4,838,280 0.2% 88.7%

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 20

Stats gathered on: 2024-12-15