Skip to content

Latest commit

 

History

History
8490 lines (7790 loc) · 156 KB

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

File metadata and controls

8490 lines (7790 loc) · 156 KB

Pystats results

  • benchmark: comprehensions
  • 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
ENTER_EXECUTOR 21,235,300 12.5% 12.5%
LOAD_FAST 15,244,980 9.0% 21.5%
POP_TOP 15,238,200 9.0% 30.5%
RESUME_CHECK 14,748,240 8.7% 39.1% 0.0%
INTERPRETER_EXIT 14,745,780 8.7% 47.8%
YIELD_VALUE 14,254,440 8.4% 56.2%
FOR_ITER_LIST 8,857,200 5.2% 61.4%
STORE_FAST_LOAD_FAST 8,855,220 5.2% 66.7%
GET_ITER 8,851,980 5.2% 71.9%
POP_JUMP_IF_TRUE 8,847,480 5.2% 77.1%
TO_BOOL_NONE 8,847,360 5.2% 82.3%
RETURN_VALUE 7,868,040 4.6% 86.9%
POP_JUMP_IF_FALSE 6,389,820 3.8% 90.7%
LIST_APPEND 5,906,100 3.5% 94.2%
TO_BOOL_BOOL 5,898,300 3.5% 97.6%
STORE_FAST 499,800 0.3% 97.9%
LOAD_ATTR_INSTANCE_VALUE 499,620 0.3% 98.2%
LOAD_CONST_IMMORTAL 496,620 0.3% 98.5%
LOAD_SMALL_INT 494,700 0.3% 98.8%
EXIT_INIT_CHECK 492,960 0.3% 99.1%
LOAD_GLOBAL_BUILTIN 491,700 0.3% 99.4%
CALL_LEN 491,580 0.3% 99.7%
COMPARE_OP_INT 491,580 0.3% 100.0%
LOAD_FAST_LOAD_FAST 13,260 0.0% 100.0%
JUMP_BACKWARD 10,980 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE 8,640 0.0% 100.0%
FOR_ITER_TUPLE 3,240 0.0% 100.0%
SWAP 2,880 0.0% 100.0%
BINARY_OP_ADD_INT 2,880 0.0% 100.0%
LOAD_GLOBAL_MODULE 2,040 0.0% 100.0%
BUILD_LIST 1,560 0.0% 100.0%
LOAD_ATTR_METHOD_NO_DICT 1,560 0.0% 100.0%
BINARY_SUBSCR 1,500 0.0% 100.0%
CALL_ALLOC_AND_ENTER_INIT 1,500 0.0% 100.0%
BUILD_SLICE 1,440 0.0% 100.0%
LOAD_FAST_AND_CLEAR 1,440 0.0% 100.0%
CALL_LIST_APPEND 1,440 0.0% 100.0%
LOAD_CONST 1,380 0.0% 100.0%
LOAD_DEREF 660 0.0% 100.0%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 540 0.0% 100.0% 100.0%
FOR_ITER_GEN 540 0.0% 100.0%
CALL_PY_EXACT_ARGS 480 0.0% 100.0%
PUSH_NULL 420 0.0% 100.0%
BINARY_SUBSCR_DICT 360 0.0% 100.0%
CALL 320 0.0% 100.0%
BUILD_TUPLE 300 0.0% 100.0%
LOAD_ATTR 300 0.0% 100.0%
CALL_NON_PY_GENERAL 300 0.0% 100.0%
FOR_ITER_RANGE 300 0.0% 100.0%
MAKE_FUNCTION 240 0.0% 100.0%
COPY_FREE_VARS 240 0.0% 100.0%
MAKE_CELL 240 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 240 0.0% 100.0%
LOAD_ATTR_MODULE 240 0.0% 100.0%
END_FOR 180 0.0% 100.0%
RETURN_GENERATOR 180 0.0% 100.0%
LOAD_GLOBAL 180 0.0% 100.0%
CALL_FUNCTION_EX 120 0.0% 100.0%
CALL_BUILTIN_CLASS 120 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES 120 0.0% 100.0%
TO_BOOL 100 0.0% 100.0%
NOP 60 0.0% 100.0%
CALL_INTRINSIC_1 60 0.0% 100.0%
FOR_ITER 60 0.0% 100.0%
IS_OP 60 0.0% 100.0%
JUMP_FORWARD 60 0.0% 100.0%
LIST_EXTEND 60 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 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_METHOD_DESCRIPTOR_NOARGS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0% 100.0%
CALL_PY_GENERAL 60 0.0% 100.0%
UNPACK_SEQUENCE_TWO_TUPLE 60 0.0% 100.0%
BINARY_OP 20 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
YIELD_VALUE INTERPRETER_EXIT 14,254,080 8.4% 8.4%
ENTER_EXECUTOR YIELD_VALUE 14,254,080 8.4% 16.8%
FOR_ITER_LIST STORE_FAST_LOAD_FAST 8,855,220 5.2% 22.0%
GET_ITER FOR_ITER_LIST 8,848,980 5.2% 27.2%
RESUME_CHECK LOAD_FAST 8,847,900 5.2% 32.4%
LOAD_FAST GET_ITER 8,847,600 5.2% 37.6%
POP_TOP RESUME_CHECK 8,847,540 5.2% 42.8%
CACHE POP_TOP 8,847,360 5.2% 48.1%
POP_JUMP_IF_TRUE ENTER_EXECUTOR 8,847,360 5.2% 53.3%
STORE_FAST_LOAD_FAST TO_BOOL_NONE 8,847,360 5.2% 58.5%
TO_BOOL_NONE POP_JUMP_IF_TRUE 8,847,360 5.2% 63.7%
ENTER_EXECUTOR RETURN_VALUE 6,881,280 4.1% 67.7%
RESUME_CHECK POP_TOP 5,898,600 3.5% 71.2%
CACHE RESUME_CHECK 5,898,300 3.5% 74.7%
POP_JUMP_IF_FALSE LOAD_FAST 5,898,300 3.5% 78.2%
POP_TOP ENTER_EXECUTOR 5,898,240 3.5% 81.6%
RETURN_VALUE TO_BOOL_BOOL 5,898,240 3.5% 85.1%
LIST_APPEND ENTER_EXECUTOR 5,898,240 3.5% 88.6%
LOAD_FAST LIST_APPEND 5,898,240 3.5% 92.1%
TO_BOOL_BOOL POP_JUMP_IF_FALSE 5,898,240 3.5% 95.5%
LOAD_CONST_IMMORTAL RETURN_VALUE 493,320 0.3% 95.8%
EXIT_INIT_CHECK RETURN_VALUE 492,960 0.3% 96.1%
RETURN_VALUE EXIT_INIT_CHECK 492,960 0.3% 96.4%
RETURN_VALUE STORE_FAST 491,760 0.3% 96.7%
POP_TOP LOAD_CONST_IMMORTAL 491,700 0.3% 97.0%
RETURN_VALUE INTERPRETER_EXIT 491,700 0.3% 97.3%
RETURN_VALUE POP_TOP 491,700 0.3% 97.6%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 491,660 0.3% 97.8%
LOAD_GLOBAL_BUILTIN LOAD_FAST 491,640 0.3% 98.1%
CALL_LEN LOAD_SMALL_INT 491,580 0.3% 98.4%
LOAD_SMALL_INT COMPARE_OP_INT 491,560 0.3% 98.7%
STORE_FAST LOAD_GLOBAL_BUILTIN 491,560 0.3% 99.0%
POP_JUMP_IF_FALSE ENTER_EXECUTOR 491,520 0.3% 99.3%
COMPARE_OP_INT POP_JUMP_IF_FALSE 491,520 0.3% 99.6%
LOAD_ATTR_INSTANCE_VALUE CALL_LEN 491,520 0.3% 99.9%
ENTER_EXECUTOR ENTER_EXECUTOR 99,880 0.1% 99.9%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 8,640 0.0% 99.9%
JUMP_BACKWARD FOR_ITER_LIST 8,220 0.0% 99.9%
LIST_APPEND JUMP_BACKWARD 7,860 0.0% 99.9%
STORE_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 7,860 0.0% 99.9%
LOAD_ATTR_INSTANCE_VALUE LIST_APPEND 7,860 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST_LOAD_FAST 7,200 0.0% 100.0%
STORE_FAST LOAD_FAST 3,180 0.0% 100.0%
LOAD_FAST LOAD_SMALL_INT 2,940 0.0% 100.0%
LOAD_FAST_LOAD_FAST LOAD_FAST_LOAD_FAST 2,880 0.0% 100.0%
LOAD_SMALL_INT BINARY_OP_ADD_INT 2,880 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_TUPLE 2,160 0.0% 100.0%
FOR_ITER_TUPLE STORE_FAST 2,160 0.0% 100.0%
FOR_ITER_LIST STORE_FAST 1,800 0.0% 100.0%
LOAD_FAST LOAD_CONST_IMMORTAL 1,560 0.0% 100.0%
LOAD_CONST_IMMORTAL LOAD_CONST_IMMORTAL 1,560 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 1,500 0.0% 100.0%
BINARY_SUBSCR GET_ITER 1,440 0.0% 100.0%
GET_ITER LOAD_FAST_AND_CLEAR 1,440 0.0% 100.0%
RETURN_VALUE CALL_LIST_APPEND 1,440 0.0% 100.0%
BUILD_LIST SWAP 1,440 0.0% 100.0%
BUILD_SLICE BINARY_SUBSCR 1,440 0.0% 100.0%
LOAD_FAST LOAD_ATTR_METHOD_NO_DICT 1,440 0.0% 100.0%
LOAD_FAST_AND_CLEAR SWAP 1,440 0.0% 100.0%
LOAD_FAST_LOAD_FAST CALL_ALLOC_AND_ENTER_INIT 1,440 0.0% 100.0%
STORE_FAST JUMP_BACKWARD 1,440 0.0% 100.0%
STORE_FAST STORE_FAST 1,440 0.0% 100.0%
SWAP GET_ITER 1,440 0.0% 100.0%
SWAP BUILD_LIST 1,440 0.0% 100.0%
BINARY_OP_ADD_INT BUILD_SLICE 1,440 0.0% 100.0%
BINARY_OP_ADD_INT STORE_FAST 1,440 0.0% 100.0%
CALL_ALLOC_AND_ENTER_INIT RESUME_CHECK 1,440 0.0% 100.0%
CALL_LIST_APPEND LOAD_FAST 1,440 0.0% 100.0%
LOAD_ATTR_METHOD_NO_DICT LOAD_GLOBAL_MODULE 1,440 0.0% 100.0%
LOAD_CONST_IMMORTAL LOAD_FAST 1,440 0.0% 100.0%
RESUME_CHECK LOAD_FAST_LOAD_FAST 1,440 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE LOAD_CONST_IMMORTAL 1,440 0.0% 100.0%
GET_ITER FOR_ITER_TUPLE 1,080 0.0% 100.0%
LOAD_CONST GET_ITER 1,080 0.0% 100.0%
STORE_FAST LOAD_CONST 1,080 0.0% 100.0%
FOR_ITER_TUPLE JUMP_BACKWARD 1,080 0.0% 100.0%
POP_TOP JUMP_BACKWARD 600 0.0% 100.0%
LOAD_DEREF LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 540 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_GEN 360 0.0% 100.0%
LOAD_FAST BINARY_SUBSCR_DICT 360 0.0% 100.0%
STORE_FAST LOAD_DEREF 360 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_MODULE 360 0.0% 100.0%
YIELD_VALUE STORE_FAST 360 0.0% 100.0%
BINARY_SUBSCR_DICT YIELD_VALUE 360 0.0% 100.0%
FOR_ITER_GEN RESUME_CHECK 360 0.0% 100.0%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK LOAD_FAST 360 0.0% 100.0%
MAKE_FUNCTION SET_FUNCTION_ATTRIBUTE 240 0.0% 100.0%
BUILD_TUPLE LOAD_CONST 240 0.0% 100.0%
LOAD_CONST MAKE_FUNCTION 240 0.0% 100.0%
LOAD_FAST BUILD_TUPLE 240 0.0% 100.0%
MAKE_CELL RESUME_CHECK 240 0.0% 100.0%
CALL_PY_EXACT_ARGS COPY_FREE_VARS 240 0.0% 100.0%
CALL_PY_EXACT_ARGS RESUME_CHECK 240 0.0% 100.0%
FOR_ITER_RANGE STORE_FAST 240 0.0% 100.0%
LOAD_ATTR_MODULE PUSH_NULL 240 0.0% 100.0%
CACHE MAKE_CELL 180 0.0% 100.0%
END_FOR POP_TOP 180 0.0% 100.0%
GET_ITER CALL_PY_EXACT_ARGS 180 0.0% 100.0%
GET_ITER FOR_ITER_GEN 180 0.0% 100.0%
RETURN_GENERATOR RETURN_VALUE 180 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
POP_TOP 8,847,360 60.0%
RESUME_CHECK 5,898,300 40.0%
MAKE_CELL 180 0.0%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
BUILD_SLICE 1,440 96.0%
BINARY_SUBSCR 40 2.7%
LOAD_SMALL_INT 20 1.3%
Successors Count Percentage
GET_ITER 1,440 96.0%
BINARY_SUBSCR 40 2.7%
BINARY_SUBSCR_TUPLE_INT 20 1.3%

END_FOR

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

EXIT_INIT_CHECK

Successors and predecessors for EXIT_INIT_CHECK
Predecessors Count Percentage
RETURN_VALUE 492,960 100.0%
Successors Count Percentage
RETURN_VALUE 492,960 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_FAST 8,847,600 100.0%
BINARY_SUBSCR 1,440 0.0%
SWAP 1,440 0.0%
LOAD_CONST 1,080 0.0%
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 180 0.0%
Successors Count Percentage
FOR_ITER_LIST 8,848,980 100.0%
LOAD_FAST_AND_CLEAR 1,440 0.0%
FOR_ITER_TUPLE 1,080 0.0%
CALL_PY_EXACT_ARGS 180 0.0%
FOR_ITER_GEN 180 0.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
YIELD_VALUE 14,254,080 96.7%
RETURN_VALUE 491,700 3.3%

MAKE_FUNCTION

Successors and predecessors for MAKE_FUNCTION
Predecessors Count Percentage
LOAD_CONST 240 100.0%
Successors Count Percentage
SET_FUNCTION_ATTRIBUTE 240 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
CACHE 8,847,360 58.1%
RESUME_CHECK 5,898,600 38.7%
RETURN_VALUE 491,700 3.2%
END_FOR 180 0.0%
FOR_ITER_GEN 180 0.0%
Successors Count Percentage
RESUME_CHECK 8,847,540 58.1%
ENTER_EXECUTOR 5,898,240 38.7%
LOAD_CONST_IMMORTAL 491,700 3.2%
JUMP_BACKWARD 600 0.0%
LOAD_FAST 60 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_ATTR_MODULE 240 57.1%
LOAD_FAST 120 28.6%
LOAD_DEREF 60 14.3%
Successors Count Percentage
CALL_NON_PY_GENERAL 160 38.1%
LOAD_FAST 120 28.6%
CALL 80 19.0%
LOAD_FAST_LOAD_FAST 60 14.3%

RETURN_GENERATOR

Successors and predecessors for RETURN_GENERATOR
Predecessors Count Percentage
COPY_FREE_VARS 180 100.0%
Successors Count Percentage
RETURN_VALUE 180 100.0%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
ENTER_EXECUTOR 6,881,280 87.5%
LOAD_CONST_IMMORTAL 493,320 6.3%
EXIT_INIT_CHECK 492,960 6.3%
RETURN_GENERATOR 180 0.0%
LOAD_FAST 120 0.0%
Successors Count Percentage
TO_BOOL_BOOL 5,898,240 75.0%
EXIT_INIT_CHECK 492,960 6.3%
STORE_FAST 491,760 6.3%
INTERPRETER_EXIT 491,700 6.2%
POP_TOP 491,700 6.2%

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 1,440 92.3%
LOAD_FAST 60 3.8%
STORE_FAST 60 3.8%
Successors Count Percentage
SWAP 1,440 92.3%
LOAD_DEREF 60 3.8%
STORE_FAST 60 3.8%

BUILD_SLICE

Successors and predecessors for BUILD_SLICE
Predecessors Count Percentage
BINARY_OP_ADD_INT 1,440 100.0%
Successors Count Percentage
BINARY_SUBSCR 1,440 100.0%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST 240 80.0%
LOAD_FAST_LOAD_FAST 60 20.0%
Successors Count Percentage
LOAD_CONST 240 80.0%
CALL_METHOD_DESCRIPTOR_O 40 13.3%
CALL 20 6.7%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
PUSH_NULL 80 25.0%
LOAD_FAST_LOAD_FAST 60 18.8%
LOAD_FAST 40 12.5%
LOAD_CONST_IMMORTAL 40 12.5%
BUILD_TUPLE 20 6.2%
Successors Count Percentage
CALL_NON_PY_GENERAL 100 31.2%
CALL_PY_EXACT_ARGS 100 31.2%
CALL_BUILTIN_CLASS 40 12.5%
CALL_LEN 20 6.2%
CALL_METHOD_DESCRIPTOR_NOARGS 20 6.2%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
CALL_INTRINSIC_1 60 50.0%
LOAD_FAST 60 50.0%
Successors Count Percentage
RESUME_CHECK 60 100.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%

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_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 240 100.0%
Successors Count Percentage
RETURN_GENERATOR 180 75.0%
RESUME_CHECK 60 25.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
LIST_APPEND 7,860 71.6%
STORE_FAST 1,440 13.1%
FOR_ITER_TUPLE 1,080 9.8%
POP_TOP 600 5.5%
Successors Count Percentage
FOR_ITER_LIST 8,220 74.9%
FOR_ITER_TUPLE 2,160 19.7%
FOR_ITER_GEN 360 3.3%
FOR_ITER_RANGE 180 1.6%
FOR_ITER 60 0.5%

JUMP_FORWARD

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

LIST_APPEND

Successors and predecessors for LIST_APPEND
Predecessors Count Percentage
LOAD_FAST 5,898,240 99.9%
LOAD_ATTR_INSTANCE_VALUE 7,860 0.1%
Successors Count Percentage
ENTER_EXECUTOR 5,898,240 99.9%
JUMP_BACKWARD 7,860 0.1%

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 140 46.7%
LOAD_GLOBAL_MODULE 80 26.7%
LOAD_ATTR_INSTANCE_VALUE 40 13.3%
LOAD_ATTR 20 6.7%
LOAD_FAST_LOAD_FAST 20 6.7%
Successors Count Percentage
LOAD_ATTR_MODULE 80 26.7%
LOAD_FAST_LOAD_FAST 60 20.0%
LOAD_ATTR_INSTANCE_VALUE 60 20.0%
LOAD_ATTR_METHOD_NO_DICT 40 13.3%
LOAD_ATTR_METHOD_WITH_VALUES 40 13.3%

LOAD_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
STORE_FAST 1,080 78.3%
BUILD_TUPLE 240 17.4%
POP_JUMP_IF_NOT_NONE 60 4.3%
Successors Count Percentage
GET_ITER 1,080 78.3%
MAKE_FUNCTION 240 17.4%
STORE_FAST 60 4.3%

LOAD_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
STORE_FAST 360 54.5%
SET_FUNCTION_ATTRIBUTE 180 27.3%
BUILD_LIST 60 9.1%
RESUME_CHECK 60 9.1%
Successors Count Percentage
LOAD_ATTR_CLASS_WITH_METACLASS_CHECK 540 81.8%
PUSH_NULL 60 9.1%
LIST_EXTEND 60 9.1%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
RESUME_CHECK 8,847,900 58.0%
POP_JUMP_IF_FALSE 5,898,300 38.7%
LOAD_GLOBAL_BUILTIN 491,640 3.2%
STORE_FAST 3,180 0.0%
CALL_LIST_APPEND 1,440 0.0%
Successors Count Percentage
GET_ITER 8,847,600 58.0%
LIST_APPEND 5,898,240 38.7%
LOAD_ATTR_INSTANCE_VALUE 491,660 3.2%
LOAD_SMALL_INT 2,940 0.0%
LOAD_CONST_IMMORTAL 1,560 0.0%

LOAD_FAST_AND_CLEAR

Successors and predecessors for LOAD_FAST_AND_CLEAR
Predecessors Count Percentage
GET_ITER 1,440 100.0%
Successors Count Percentage
SWAP 1,440 100.0%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
STORE_ATTR_INSTANCE_VALUE 7,200 54.3%
LOAD_FAST_LOAD_FAST 2,880 21.7%
LOAD_GLOBAL_MODULE 1,500 11.3%
RESUME_CHECK 1,440 10.9%
PUSH_NULL 60 0.5%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 8,640 65.2%
LOAD_FAST_LOAD_FAST 2,880 21.7%
CALL_ALLOC_AND_ENTER_INIT 1,440 10.9%
CALL_PY_EXACT_ARGS 80 0.6%
BUILD_TUPLE 60 0.5%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
STORE_FAST 80 44.4%
RESUME_CHECK 60 33.3%
POP_TOP 20 11.1%
FOR_ITER_RANGE 20 11.1%
Successors Count Percentage
LOAD_GLOBAL_MODULE 120 66.7%
LOAD_GLOBAL_BUILTIN 60 33.3%

LOAD_SMALL_INT

Successors and predecessors for LOAD_SMALL_INT
Predecessors Count Percentage
CALL_LEN 491,580 99.4%
LOAD_FAST 2,940 0.6%
LOAD_GLOBAL_BUILTIN 60 0.0%
LOAD_GLOBAL_MODULE 60 0.0%
RESUME_CHECK 60 0.0%
Successors Count Percentage
COMPARE_OP_INT 491,560 99.4%
BINARY_OP_ADD_INT 2,880 0.6%
LOAD_FAST 60 0.0%
STORE_FAST 60 0.0%
BINARY_SUBSCR_TUPLE_INT 40 0.0%

MAKE_CELL

Successors and predecessors for MAKE_CELL
Predecessors Count Percentage
CACHE 180 75.0%
CALL_PY_GENERAL 60 25.0%
Successors Count Percentage
RESUME_CHECK 240 100.0%

POP_JUMP_IF_FALSE

Successors and predecessors for POP_JUMP_IF_FALSE
Predecessors Count Percentage
TO_BOOL_BOOL 5,898,240 92.3%
COMPARE_OP_INT 491,520 7.7%
TO_BOOL 60 0.0%
Successors Count Percentage
LOAD_FAST 5,898,300 92.3%
ENTER_EXECUTOR 491,520 7.7%

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
TO_BOOL_NONE 8,847,360 100.0%
COMPARE_OP_INT 60 0.0%
TO_BOOL_BOOL 60 0.0%
Successors Count Percentage
ENTER_EXECUTOR 8,847,360 100.0%
NOP 60 0.0%
LOAD_FAST 60 0.0%

SET_FUNCTION_ATTRIBUTE

Successors and predecessors for SET_FUNCTION_ATTRIBUTE
Predecessors Count Percentage
MAKE_FUNCTION 240 100.0%
Successors Count Percentage
LOAD_DEREF 180 75.0%
STORE_FAST 60 25.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 491,760 98.4%
FOR_ITER_TUPLE 2,160 0.4%
FOR_ITER_LIST 1,800 0.4%
STORE_FAST 1,440 0.3%
BINARY_OP_ADD_INT 1,440 0.3%
Successors Count Percentage
LOAD_GLOBAL_BUILTIN 491,560 98.4%
LOAD_FAST 3,180 0.6%
JUMP_BACKWARD 1,440 0.3%
STORE_FAST 1,440 0.3%
LOAD_CONST 1,080 0.2%

STORE_FAST_LOAD_FAST

Successors and predecessors for STORE_FAST_LOAD_FAST
Predecessors Count Percentage
FOR_ITER_LIST 8,855,220 100.0%
Successors Count Percentage
TO_BOOL_NONE 8,847,360 99.9%
LOAD_ATTR_INSTANCE_VALUE 7,860 0.1%

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 1,440 50.0%
LOAD_FAST_AND_CLEAR 1,440 50.0%
Successors Count Percentage
GET_ITER 1,440 50.0%
BUILD_LIST 1,440 50.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 14,254,080 100.0%
BINARY_SUBSCR_DICT 360 0.0%
Successors Count Percentage
INTERPRETER_EXIT 14,254,080 100.0%
STORE_FAST 360 0.0%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_SMALL_INT 2,880 100.0%
Successors Count Percentage
BUILD_SLICE 1,440 50.0%
STORE_FAST 1,440 50.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_DICT

Successors and predecessors for BINARY_SUBSCR_DICT
Predecessors Count Percentage
LOAD_FAST 360 100.0%
Successors Count Percentage
YIELD_VALUE 360 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_ALLOC_AND_ENTER_INIT

Successors and predecessors for CALL_ALLOC_AND_ENTER_INIT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 1,440 96.0%
LOAD_FAST 60 4.0%
Successors Count Percentage
RESUME_CHECK 1,440 96.0%
ENTER_EXECUTOR 60 4.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
CALL 40 33.3%
LOAD_FAST 40 33.3%
LOAD_SMALL_INT 40 33.3%
Successors Count Percentage
GET_ITER 60 50.0%
STORE_FAST 60 50.0%

CALL_LEN

Successors and predecessors for CALL_LEN
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 491,520 100.0%
LOAD_FAST 40 0.0%
CALL 20 0.0%
Successors Count Percentage
LOAD_SMALL_INT 491,580 100.0%

CALL_LIST_APPEND

Successors and predecessors for CALL_LIST_APPEND
Predecessors Count Percentage
RETURN_VALUE 1,440 100.0%
Successors Count Percentage
LOAD_FAST 1,440 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
PUSH_NULL 160 53.3%
CALL 100 33.3%
LOAD_FAST_LOAD_FAST 40 13.3%
Successors Count Percentage
POP_TOP 60 20.0%
RETURN_VALUE 60 20.0%
LOAD_FAST 60 20.0%
STORE_DEREF 60 20.0%
STORE_FAST 60 20.0%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
GET_ITER 180 37.5%
CALL 100 20.8%
LOAD_FAST_LOAD_FAST 80 16.7%
LOAD_ATTR_INSTANCE_VALUE 40 8.3%
LOAD_CONST_IMMORTAL 40 8.3%
Successors Count Percentage
COPY_FREE_VARS 240 50.0%
RESUME_CHECK 240 50.0%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 40 66.7%
CALL 20 33.3%
Successors Count Percentage
MAKE_CELL 60 100.0%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
LOAD_SMALL_INT 491,560 100.0%
COMPARE_OP 20 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 491,520 100.0%
POP_JUMP_IF_TRUE 60 0.0%

FOR_ITER_GEN

Successors and predecessors for FOR_ITER_GEN
Predecessors Count Percentage
JUMP_BACKWARD 360 66.7%
GET_ITER 180 33.3%
Successors Count Percentage
RESUME_CHECK 360 66.7%
POP_TOP 180 33.3%

FOR_ITER_LIST

Successors and predecessors for FOR_ITER_LIST
Predecessors Count Percentage
GET_ITER 8,848,980 99.9%
JUMP_BACKWARD 8,220 0.1%
Successors Count Percentage
STORE_FAST_LOAD_FAST 8,855,220 100.0%
STORE_FAST 1,800 0.0%
LOAD_CONST_IMMORTAL 180 0.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
JUMP_BACKWARD 180 60.0%
GET_ITER 120 40.0%
Successors Count Percentage
STORE_FAST 240 80.0%
LOAD_GLOBAL_BUILTIN 40 13.3%
LOAD_GLOBAL 20 6.7%

FOR_ITER_TUPLE

Successors and predecessors for FOR_ITER_TUPLE
Predecessors Count Percentage
JUMP_BACKWARD 2,160 66.7%
GET_ITER 1,080 33.3%
Successors Count Percentage
STORE_FAST 2,160 66.7%
JUMP_BACKWARD 1,080 33.3%

LOAD_ATTR_CLASS_WITH_METACLASS_CHECK

Successors and predecessors for LOAD_ATTR_CLASS_WITH_METACLASS_CHECK
Predecessors Count Percentage
LOAD_DEREF 540 100.0%
Successors Count Percentage
LOAD_FAST 360 66.7%
GET_ITER 180 33.3%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 491,660 98.4%
STORE_FAST_LOAD_FAST 7,860 1.6%
LOAD_ATTR 60 0.0%
LOAD_FAST_LOAD_FAST 40 0.0%
Successors Count Percentage
CALL_LEN 491,520 98.4%
LIST_APPEND 7,860 1.6%
LOAD_ATTR_METHOD_NO_DICT 80 0.0%
TO_BOOL 60 0.0%
LOAD_ATTR 40 0.0%

LOAD_ATTR_METHOD_NO_DICT

Successors and predecessors for LOAD_ATTR_METHOD_NO_DICT
Predecessors Count Percentage
LOAD_FAST 1,440 92.3%
LOAD_ATTR_INSTANCE_VALUE 80 5.1%
LOAD_ATTR 40 2.6%
Successors Count Percentage
LOAD_GLOBAL_MODULE 1,440 92.3%
LOAD_FAST_LOAD_FAST 60 3.8%
CALL_METHOD_DESCRIPTOR_NOARGS 40 2.6%
CALL 20 1.3%

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
POP_TOP 491,700 99.0%
LOAD_FAST 1,560 0.3%
LOAD_CONST_IMMORTAL 1,560 0.3%
STORE_ATTR_INSTANCE_VALUE 1,440 0.3%
STORE_FAST 180 0.0%
Successors Count Percentage
RETURN_VALUE 493,320 99.3%
LOAD_CONST_IMMORTAL 1,560 0.3%
LOAD_FAST 1,440 0.3%
STORE_FAST 120 0.0%
IS_OP 60 0.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 491,560 100.0%
LOAD_GLOBAL 60 0.0%
FOR_ITER_RANGE 40 0.0%
RESUME_CHECK 40 0.0%
Successors Count Percentage
LOAD_FAST 491,640 100.0%
LOAD_SMALL_INT 60 0.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 1,440 70.6%
STORE_FAST 360 17.6%
LOAD_GLOBAL 120 5.9%
RESUME_CHECK 80 3.9%
POP_TOP 40 2.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 1,500 73.5%
GET_ITER 180 8.8%
LOAD_ATTR_MODULE 160 7.8%
LOAD_ATTR 80 3.9%
LOAD_SMALL_INT 60 2.9%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
POP_TOP 8,847,540 60.0%
CACHE 5,898,300 40.0%
CALL_ALLOC_AND_ENTER_INIT 1,440 0.0%
FOR_ITER_GEN 360 0.0%
MAKE_CELL 240 0.0%
Successors Count Percentage
LOAD_FAST 8,847,900 60.0%
POP_TOP 5,898,600 40.0%
LOAD_FAST_LOAD_FAST 1,440 0.0%
LOAD_GLOBAL_MODULE 80 0.0%
LOAD_DEREF 60 0.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 8,640 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 7,200 83.3%
LOAD_CONST_IMMORTAL 1,440 16.7%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
RETURN_VALUE 5,898,240 100.0%
LOAD_FAST 40 0.0%
TO_BOOL 20 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 5,898,240 100.0%
POP_JUMP_IF_TRUE 60 0.0%

TO_BOOL_NONE

Successors and predecessors for TO_BOOL_NONE
Predecessors Count Percentage
STORE_FAST_LOAD_FAST 8,847,360 100.0%
Successors Count Percentage
POP_JUMP_IF_TRUE 8,847,360 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_JUMP_IF_TRUE 8,847,360 41.7%
POP_TOP 5,898,240 27.8%
LIST_APPEND 5,898,240 27.8%
POP_JUMP_IF_FALSE 491,520 2.3%
ENTER_EXECUTOR 99,880 0.5%
Successors Count Percentage
YIELD_VALUE 14,254,080 67.1%
RETURN_VALUE 6,881,280 32.4%
ENTER_EXECUTOR 99,880 0.5%
POP_TOP 60 0.0%

Specialization stats

Specialization stats by family

BINARY_OP

specialization stats for BINARY_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

2,940 99.3%
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.

1,440 75.0%
hit

Specialized instructions that complete.

420 21.9%
Success Count Ratio
Success 20 33.3%
Failure 40 66.7%
Failure kind Count Ratio
list slice 40 100.0%

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

495,240 99.9%
Success Count Ratio
Success 320 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

491,580 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.

8,861,280 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 0.0%
hit

Specialized instructions that complete.

501,540 99.8%
miss

Specialized instructions that deopt.

540 0.1%
Success Count Ratio
Success 220 91.7%
Failure 20 8.3%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

493,740 100.0%
Success Count Ratio
Success 180 100.0%
Failure 0 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

8,640 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 0.0%
hit

Specialized instructions that complete.

14,745,660 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.

128,961,040 75.9%
Not specialized

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

2,520 0.0%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

40,846,260 24.1%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

600 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_SUBSCR 1,440 88.9%
TO_BOOL 60 3.7%
FOR_ITER 60 3.7%
LOAD_ATTR 60 3.7%
BINARY_SLICE 0 0.0%
STORE_SLICE 0 0.0%
CACHE 0 0.0%
END_FOR 0 0.0%
EXIT_INIT_CHECK 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 540 81.8%
RESUME 60 9.1%
RESUME_CHECK 60 9.1%
CACHE 0 0.0%
END_FOR 0 0.0%
EXIT_INIT_CHECK 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 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 14,745,840 32.6%
Calls to Python functions inlined 30,476,820 67.4%
Calls via PyEval_EvalFrame (total) 14,745,840 32.6%
Calls via PyEval_EvalFrame (vector) 240 0.0%
Calls via PyEval_EvalFrame (generator) 14,745,600 32.6%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 240 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) 60 0.0%
Calls via PyEval_EvalFrame (api) 180 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 0 0.0%
Frames pushed 30,969,480 68.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 21,126,540 33.8%
Frees to freelist 21,126,500
Allocations 41,294,260 66.2%
Allocations to 512 bytes 40,311,220 64.6%
Allocations to 4 kbytes 983,040 1.6%
Allocations over 4 kbytes 0 0.0%
Frees 51,617,464
Inline values 492,960
Interpreter mortal increfs 601,176,220 52.7%
Interpreter mortal decrefs 674,407,660 53.9%
Mortal increfs 163,201,159 14.3%
Mortal decrefs 149,439,544 11.9%
Interpreter immortal increfs 248,245,380 21.8%
Interpreter immortal decrefs 237,053,380 18.9%
Immortal increfs 128,297,299 11.2%
Immortal decrefs 191,222,434 15.3%
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 23,594,222
Method cache misses 38
Method cache collisions 33
Method cache dunder hits 179
Method cache dunder misses 1

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.

5,160
Traces created

The number of traces that were successfully created.

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

5,160 100.0%
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.

5,160 100.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
Traces executed

The number of traces that were executed

84,541,440
Uops executed

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

3,218,472,360 3,807.0%
Count Ratio
Optimizer attempts

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

0
Optimizer successes

The number of traces that were successfully optimized.

0
Optimizer no memory

The number of optimizations that failed due to no memory.

0
Remove globals builtins changed

The builtins changed during optimization

0
Remove globals incorrect keys

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

0

Trace length histogram

trace length histogram
Range Count Ratio
<= 1 0

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 1 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 290,979,780 9.0% 9.0%
_CHECK_VALIDITY 242,810,880 7.5% 16.6%
_CHECK_PERIODIC 180,879,360 5.6% 22.2%
_MAKE_WARM 153,845,760 4.8% 27.0%
_GUARD_TYPE_VERSION 144,998,400 4.5% 31.5% 2.0%
_GUARD_NOT_EXHAUSTED_LIST 129,269,760 4.0% 35.5% 9.1%
_ITER_CHECK_LIST 129,269,760 4.0% 39.5%
_ITER_NEXT_LIST 117,473,280 3.6% 43.2%
_CHECK_MANAGED_OBJECT_HAS_VALUES 102,727,680 3.2% 46.4%
_LOAD_ATTR_INSTANCE_VALUE_0 102,727,680 3.2% 49.6%
_LOAD_FAST_2 86,507,460 2.7% 52.2%
_START_EXECUTOR 84,541,440 2.6% 54.9%
_EXIT_TRACE 84,049,980 2.6% 57.5%
_LIST_APPEND 73,728,000 2.3% 59.8%
_JUMP_TO_TOP 69,304,320 2.2% 61.9%
_STORE_FAST_4 62,914,500 2.0% 63.9%
_LOAD_FAST_3 61,931,520 1.9% 65.8%
_LOAD_FAST_1 60,456,960 1.9% 67.7%
_CHECK_VALIDITY_AND_SET_IP 56,033,280 1.7% 69.4%
_LOAD_ATTR_METHOD_NO_DICT 53,575,680 1.7% 71.1%
_CALL_METHOD_DESCRIPTOR_FAST 53,084,160 1.6% 72.7%
_LOAD_FAST_4 53,084,160 1.6% 74.4%
_STORE_FAST_2 40,304,640 1.3% 75.6%
_SWAP 31,948,800 1.0% 76.6%
_GET_ITER 31,457,280 1.0% 77.6%
_LOAD_FAST_0 31,457,280 1.0% 78.6%
_PUSH_FRAME 30,474,180 0.9% 79.5%
_CHECK_FUNCTION_EXACT_ARGS 29,982,720 0.9% 80.5%
_CHECK_FUNCTION_VERSION 29,982,720 0.9% 81.4%
_SAVE_RETURN_OFFSET 29,982,720 0.9% 82.3%
_BINARY_SUBSCR_DICT 26,542,080 0.8% 83.2%
_POP_TOP 21,135,360 0.7% 83.8%
_RESUME_CHECK 21,135,360 0.7% 84.5%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 21,135,360 0.7% 85.1%
_GUARD_KEYS_VERSION 21,135,360 0.7% 85.8%
_INIT_CALL_PY_EXACT_ARGS_1 21,135,360 0.7% 86.4%
_LOAD_ATTR_METHOD_WITH_VALUES 21,135,360 0.7% 87.1%
_CHECK_FUNCTION 21,135,300 0.7% 87.8%
_CHECK_STACK_SPACE_OPERAND 20,643,840 0.6% 88.4%
_LOAD_CONST_INLINE 20,643,840 0.6% 89.0%
_GUARD_IS_FALSE_POP 20,152,320 0.6% 89.7% 85.4%
_MAP_ADD 17,694,720 0.5% 90.2%
_TO_BOOL_BOOL 17,694,720 0.5% 90.8%
_LOAD_FAST_5 17,694,720 0.5% 91.3%
_STORE_FAST_1 17,694,720 0.5% 91.9%
_RETURN_VALUE 14,745,600 0.5% 92.3%
_REPLACE_WITH_TRUE 14,254,080 0.4% 92.8%
_GUARD_IS_TRUE_POP 11,796,480 0.4% 93.1% 50.0%
_COPY 11,796,480 0.4% 93.5%
_LOAD_FAST_AND_CLEAR 11,796,480 0.4% 93.9%
_COMPARE_OP 11,796,480 0.4% 94.2%
_LOAD_ATTR 11,796,480 0.4% 94.6%
_BUILD_LIST 10,813,440 0.3% 94.9%
_LOAD_CONST_INLINE_BORROW 9,830,400 0.3% 95.2%
_STORE_FAST_7 9,338,880 0.3% 95.5%
_LOAD_CONST_INLINE_WITH_NULL 9,338,820 0.3% 95.8%
_TO_BOOL_NONE 8,847,360 0.3% 96.1% 66.7%
_MAKE_FUNCTION 8,847,360 0.3% 96.4%
_RETURN_GENERATOR 8,847,360 0.3% 96.6%
_BUILD_TUPLE 8,847,360 0.3% 96.9%
_CALL_LEN 8,847,360 0.3% 97.2%
_BINARY_SUBSCR 8,847,360 0.3% 97.5%
_CALL_BUILTIN_O 8,847,360 0.3% 97.7%
_COMPARE_OP_INT 8,847,360 0.3% 98.0%
_GUARD_BOTH_INT 8,847,360 0.3% 98.3%
_GUARD_BUILTINS_VERSION_PUSH_KEYS 8,847,360 0.3% 98.6%
_GUARD_GLOBALS_VERSION 8,847,360 0.3% 98.8%
_INIT_CALL_PY_EXACT_ARGS_0 8,847,360 0.3% 99.1%
_LOAD_FAST_7 8,847,360 0.3% 99.4%
_LOAD_GLOBAL_BUILTINS_FROM_KEYS 8,847,360 0.3% 99.7%
_GUARD_DORV_NO_DICT 1,474,560 0.0% 99.7%
_STORE_ATTR_INSTANCE_VALUE 1,474,560 0.0% 99.8%
_BUILD_MAP 983,040 0.0% 99.8%
_LOAD_FAST_6 983,040 0.0% 99.8%
_GUARD_NOT_EXHAUSTED_RANGE 491,520 0.0% 99.8% 0.0%
_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 491,520 0.0% 99.8%
_ITER_CHECK_RANGE 491,520 0.0% 99.9%
_STORE_FAST_3 491,520 0.0% 99.9%
_STORE_FAST_5 491,520 0.0% 99.9%
_STORE_FAST_6 491,520 0.0% 99.9%
_TIER2_RESUME_CHECK 491,520 0.0% 99.9%
_CHECK_AND_ALLOCATE_OBJECT 491,460 0.0% 99.9%
_CREATE_INIT_FRAME 491,460 0.0% 100.0%
_DYNAMIC_EXIT 491,460 0.0% 100.0%
_ITER_NEXT_RANGE 491,460 0.0% 100.0%
_LOAD_SMALL_INT_1 491,460 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 180,879,360 5.6% 5.6%
_CHECK_VALIDITY _ITER_CHECK_LIST 129,269,760 4.0% 9.6%
_ITER_CHECK_LIST _GUARD_NOT_EXHAUSTED_LIST 129,269,760 4.0% 13.7%
_SET_IP _CHECK_PERIODIC 118,456,320 3.7% 17.3%
_MAKE_WARM _SET_IP 118,456,320 3.7% 21.0%
_GUARD_NOT_EXHAUSTED_LIST _ITER_NEXT_LIST 117,473,280 3.6% 24.7%
_CHECK_MANAGED_OBJECT_HAS_VALUES _LOAD_ATTR_INSTANCE_VALUE_0 102,727,680 3.2% 27.9%
_START_EXECUTOR _MAKE_WARM 84,541,440 2.6% 30.5%
_JUMP_TO_TOP _MAKE_WARM 69,304,320 2.2% 32.6%
_CHECK_VALIDITY _LIST_APPEND 61,931,520 1.9% 34.6%
_GUARD_TYPE_VERSION _CHECK_MANAGED_OBJECT_HAS_VALUES 61,440,000 1.9% 36.5%
_LIST_APPEND _JUMP_TO_TOP 60,948,480 1.9% 38.4%
_GUARD_TYPE_VERSION _LOAD_ATTR_METHOD_NO_DICT 53,575,680 1.7% 40.0%
_SET_IP _CALL_METHOD_DESCRIPTOR_FAST 53,084,160 1.6% 41.7%
_CALL_METHOD_DESCRIPTOR_FAST _CHECK_PERIODIC 53,084,160 1.6% 43.3%
_ITER_NEXT_LIST _STORE_FAST_4 53,084,160 1.6% 45.0%
_LOAD_ATTR_METHOD_NO_DICT _LOAD_FAST_4 53,084,160 1.6% 46.6%
_LOAD_FAST_3 _GUARD_TYPE_VERSION 53,084,160 1.6% 48.3%
_LOAD_FAST_4 _SET_IP 53,084,160 1.6% 49.9%
_STORE_FAST_4 _LOAD_FAST_3 53,084,160 1.6% 51.6%
_ITER_NEXT_LIST _STORE_FAST_2 38,338,560 1.2% 52.8%
_LOAD_FAST_1 _GUARD_TYPE_VERSION 37,355,520 1.2% 53.9%
_LOAD_FAST_2 _CHECK_MANAGED_OBJECT_HAS_VALUES 35,389,440 1.1% 55.0%
_SET_IP _GET_ITER 31,457,280 1.0% 56.0%
_CHECK_FUNCTION_VERSION _CHECK_FUNCTION_EXACT_ARGS 29,982,720 0.9% 56.9%
_SAVE_RETURN_OFFSET _PUSH_FRAME 29,982,720 0.9% 57.9%
_LOAD_ATTR_INSTANCE_VALUE_0 _SET_IP 26,542,080 0.8% 58.7%
_LOAD_FAST_2 _GUARD_TYPE_VERSION 26,542,080 0.8% 59.5%
_STORE_FAST_2 _LOAD_FAST_2 26,542,080 0.8% 60.3%
_GET_ITER _CHECK_VALIDITY 22,609,920 0.7% 61.0%
_LOAD_FAST_0 _GUARD_TYPE_VERSION 21,626,880 0.7% 61.7%
_LOAD_FAST_2 _SET_IP 21,626,820 0.7% 62.4%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT _GUARD_KEYS_VERSION 21,135,360 0.7% 63.0%
_GUARD_KEYS_VERSION _LOAD_ATTR_METHOD_WITH_VALUES 21,135,360 0.7% 63.7%
_INIT_CALL_PY_EXACT_ARGS_1 _SAVE_RETURN_OFFSET 21,135,360 0.7% 64.4%
_PUSH_FRAME _RESUME_CHECK 21,135,360 0.7% 65.0%
_CHECK_FUNCTION_EXACT_ARGS _CHECK_STACK_SPACE_OPERAND 20,643,840 0.6% 65.7%
_CHECK_STACK_SPACE_OPERAND _INIT_CALL_PY_EXACT_ARGS_1 20,643,840 0.6% 66.3%
_LOAD_CONST_INLINE _SET_IP 20,643,840 0.6% 66.9%
_BINARY_SUBSCR_DICT _CHECK_VALIDITY_AND_SET_IP 17,694,720 0.5% 67.5%
_SET_IP _MAP_ADD 17,694,720 0.5% 68.0%
_SET_IP _BINARY_SUBSCR_DICT 17,694,720 0.5% 68.6%
_CHECK_VALIDITY_AND_SET_IP _CHECK_FUNCTION_VERSION 17,694,720 0.5% 69.1%
_LOAD_ATTR_INSTANCE_VALUE_0 _LOAD_FAST_2 17,694,720 0.5% 69.7%
_LOAD_FAST_5 _LOAD_FAST_2 17,694,720 0.5% 70.2%
_GUARD_IS_FALSE_POP _EXIT_TRACE 17,203,200 0.5% 70.8%
_ITER_NEXT_LIST _STORE_FAST_1 17,203,200 0.5% 71.3%
_STORE_FAST_1 _LOAD_FAST_1 17,203,200 0.5% 71.8%
_GUARD_TYPE_VERSION _REPLACE_WITH_TRUE 14,254,080 0.4% 72.3%
_LOAD_ATTR_INSTANCE_VALUE_0 _EXIT_TRACE 14,254,080 0.4% 72.7%
_MAKE_WARM _LOAD_FAST_1 14,254,080 0.4% 73.2%
_REPLACE_WITH_TRUE _GUARD_IS_FALSE_POP 14,254,080 0.4% 73.6%
_LIST_APPEND _EXIT_TRACE 12,779,520 0.4% 74.0%
_SWAP _SET_IP 12,288,000 0.4% 74.4%
_RESUME_CHECK _LOAD_FAST_1 12,288,000 0.4% 74.8%
_SET_IP _CHECK_FUNCTION_VERSION 12,288,000 0.4% 75.2%
_LOAD_ATTR_METHOD_WITH_VALUES _LOAD_FAST_2 12,288,000 0.4% 75.5%
_COPY _TO_BOOL_BOOL 11,796,480 0.4% 75.9%
_TO_BOOL_BOOL _GUARD_IS_TRUE_POP 11,796,480 0.4% 76.3%
_SET_IP _LOAD_ATTR 11,796,480 0.4% 76.6%
_CHECK_FUNCTION _LOAD_CONST_INLINE 11,796,480 0.4% 77.0%
_CHECK_VALIDITY _COPY 11,796,480 0.4% 77.4%
_CHECK_VALIDITY_AND_SET_IP _COMPARE_OP 11,796,480 0.4% 77.7%
_COMPARE_OP _CHECK_VALIDITY 11,796,480 0.4% 78.1%
_GUARD_NOT_EXHAUSTED_LIST _EXIT_TRACE 11,796,480 0.4% 78.5%
_GUARD_TYPE_VERSION _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 11,796,480 0.4% 78.8%
_LOAD_ATTR _CHECK_VALIDITY_AND_SET_IP 11,796,480 0.4% 79.2%
_LOAD_ATTR_INSTANCE_VALUE_0 _CHECK_FUNCTION 11,796,480 0.4% 79.6%
_MAKE_WARM _POP_TOP 11,796,480 0.4% 79.9%
_STORE_FAST_2 _LOAD_FAST_0 11,796,480 0.4% 80.3%
_LOAD_FAST_AND_CLEAR _SWAP 11,304,960 0.4% 80.7%
_CHECK_VALIDITY _LOAD_FAST_AND_CLEAR 11,304,960 0.4% 81.0%
_LOAD_FAST_1 _SET_IP 10,813,440 0.3% 81.3%
_BUILD_LIST _SWAP 10,321,920 0.3% 81.7%
_SWAP _BUILD_LIST 10,321,920 0.3% 82.0%
_POP_TOP _SWAP 9,338,880 0.3% 82.3%
_MAP_ADD _EXIT_TRACE 9,338,880 0.3% 82.6%
_LOAD_FAST_0 _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 9,338,880 0.3% 82.8%
_CHECK_FUNCTION _LOAD_CONST_INLINE_WITH_NULL 9,338,820 0.3% 83.1%
_GET_ITER _CHECK_VALIDITY_AND_SET_IP 8,847,360 0.3% 83.4%
_MAKE_FUNCTION _CHECK_VALIDITY 8,847,360 0.3% 83.7%
_RETURN_GENERATOR _CHECK_VALIDITY_AND_SET_IP 8,847,360 0.3% 84.0%
_RETURN_VALUE _GUARD_GLOBALS_VERSION 8,847,360 0.3% 84.2%
_BUILD_TUPLE _LIST_APPEND 8,847,360 0.3% 84.5%
_SWAP _STORE_FAST_4 8,847,360 0.3% 84.8%
_BINARY_SUBSCR_DICT _CHECK_VALIDITY 8,847,360 0.3% 85.1%
_CALL_LEN _CHECK_VALIDITY 8,847,360 0.3% 85.3%
_RESUME_CHECK _CHECK_FUNCTION 8,847,360 0.3% 85.6%
_SET_IP _MAKE_FUNCTION 8,847,360 0.3% 85.9%
_SET_IP _RETURN_GENERATOR 8,847,360 0.3% 86.2%
_SET_IP _BINARY_SUBSCR 8,847,360 0.3% 86.4%
_BINARY_SUBSCR _CHECK_VALIDITY_AND_SET_IP 8,847,360 0.3% 86.7%
_CALL_BUILTIN_O _CHECK_PERIODIC 8,847,360 0.3% 87.0%
_CHECK_FUNCTION_EXACT_ARGS _INIT_CALL_PY_EXACT_ARGS_0 8,847,360 0.3% 87.3%
_CHECK_VALIDITY _RETURN_VALUE 8,847,360 0.3% 87.5%
_CHECK_VALIDITY _LOAD_FAST_1 8,847,360 0.3% 87.8%
_CHECK_VALIDITY _LOAD_FAST_2 8,847,360 0.3% 88.1%
_CHECK_VALIDITY_AND_SET_IP _BINARY_SUBSCR_DICT 8,847,360 0.3% 88.4%
_CHECK_VALIDITY_AND_SET_IP _CALL_LEN 8,847,360 0.3% 88.6%
_CHECK_VALIDITY_AND_SET_IP _CALL_BUILTIN_O 8,847,360 0.3% 88.9%

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