Skip to content

Latest commit

 

History

History
7536 lines (6917 loc) · 138 KB

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

File metadata and controls

7536 lines (6917 loc) · 138 KB

Pystats results

  • benchmark: spectral_norm
  • 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_FAST 41,323,780 16.6% 16.6%
ENTER_EXECUTOR 41,100,000 16.5% 33.1%
RETURN_VALUE 40,876,020 16.4% 49.5%
STORE_FAST 40,807,440 16.4% 65.9%
BINARY_OP_ADD_FLOAT 40,575,600 16.3% 82.2% 0.8%
BINARY_OP_MULTIPLY_FLOAT 39,347,880 15.8% 98.1% 0.0%
BINARY_OP 1,241,540 0.5% 98.6%
STORE_FAST_STORE_FAST 461,640 0.2% 98.7%
UNPACK_SEQUENCE_TWO_TUPLE 461,580 0.2% 98.9%
CALL_PY_EXACT_ARGS 387,940 0.2% 99.1% 0.6%
LIST_APPEND 312,000 0.1% 99.2%
LOAD_FAST_LOAD_FAST 246,160 0.1% 99.3%
FOR_ITER 234,880 0.1% 99.4%
LOAD_GLOBAL_BUILTIN 234,240 0.1% 99.5%
LOAD_GLOBAL_MODULE 233,220 0.1% 99.6%
GET_ITER 231,840 0.1% 99.7%
CALL_BUILTIN_CLASS 231,780 0.1% 99.8%
RESUME_CHECK 231,380 0.1% 99.9% 0.2%
LOAD_SMALL_INT 228,600 0.1% 100.0%
POP_TOP 63,740 0.0% 100.0%
JUMP_BACKWARD 8,520 0.0% 100.0%
SWAP 7,200 0.0% 100.0%
FOR_ITER_RANGE 3,180 0.0% 100.0%
PUSH_NULL 2,820 0.0% 100.0%
BUILD_LIST 2,520 0.0% 100.0%
BUILD_TUPLE 2,520 0.0% 100.0%
BINARY_OP_ADD_INT 2,500 0.0% 100.0%
LOAD_FAST_AND_CLEAR 2,400 0.0% 100.0%
STORE_FAST_LOAD_FAST 2,400 0.0% 100.0%
CALL_LEN 2,400 0.0% 100.0%
LOAD_CONST 620 0.0% 100.0%
LOAD_CONST_IMMORTAL 600 0.0% 100.0%
BINARY_OP_MULTIPLY_INT 500 0.0% 100.0%
CALL_NON_PY_GENERAL 360 0.0% 100.0%
CALL 300 0.0% 100.0%
LOAD_ATTR 300 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
LOAD_ATTR_MODULE 240 0.0% 100.0%
LOAD_GLOBAL 180 0.0% 100.0%
CALL_FUNCTION_EX 120 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%
MAKE_FUNCTION 60 0.0% 100.0%
NOP 60 0.0% 100.0%
CALL_INTRINSIC_1 60 0.0% 100.0%
COPY 60 0.0% 100.0%
COPY_FREE_VARS 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%
LOAD_FAST_CHECK 60 0.0% 100.0%
MAKE_CELL 60 0.0% 100.0%
POP_JUMP_IF_FALSE 60 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 60 0.0% 100.0%
POP_JUMP_IF_TRUE 60 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
STORE_DEREF 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%
TO_BOOL_BOOL 60 0.0% 100.0%
BINARY_SUBSCR 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
ENTER_EXECUTOR RETURN_VALUE 40,810,460 16.4% 16.4%
BINARY_OP_ADD_FLOAT STORE_FAST 40,569,720 16.3% 32.7%
RETURN_VALUE LOAD_FAST 40,560,000 16.3% 49.0%
STORE_FAST ENTER_EXECUTOR 40,560,000 16.3% 65.3%
LOAD_FAST BINARY_OP_MULTIPLY_FLOAT 39,347,820 15.8% 81.1%
BINARY_OP_MULTIPLY_FLOAT BINARY_OP_ADD_FLOAT 39,342,120 15.8% 96.9%
BINARY_OP BINARY_OP_ADD_FLOAT 1,233,480 0.5% 97.4%
LOAD_FAST BINARY_OP 1,227,800 0.5% 97.9%
UNPACK_SEQUENCE_TWO_TUPLE STORE_FAST_STORE_FAST 461,580 0.2% 98.1%
RETURN_VALUE LIST_APPEND 312,000 0.1% 98.2%
LIST_APPEND ENTER_EXECUTOR 312,000 0.1% 98.3%
FOR_ITER UNPACK_SEQUENCE_TWO_TUPLE 234,660 0.1% 98.4%
LOAD_GLOBAL_BUILTIN LOAD_FAST 229,380 0.1% 98.5%
CALL_BUILTIN_CLASS GET_ITER 229,320 0.1% 98.6%
LOAD_FAST CALL_BUILTIN_CLASS 229,300 0.1% 98.7%
CALL_PY_EXACT_ARGS ENTER_EXECUTOR 227,500 0.1% 98.8%
RESUME_CHECK LOAD_FAST 227,040 0.1% 98.9%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 226,940 0.1% 99.0%
GET_ITER FOR_ITER 226,920 0.1% 99.1%
STORE_FAST_STORE_FAST LOAD_FAST 226,920 0.1% 99.2%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 226,920 0.1% 99.3%
STORE_FAST LOAD_GLOBAL_BUILTIN 226,900 0.1% 99.3%
LOAD_FAST LOAD_GLOBAL_MODULE 226,860 0.1% 99.4%
LOAD_FAST UNPACK_SEQUENCE_TWO_TUPLE 226,860 0.1% 99.5%
LOAD_SMALL_INT STORE_FAST 226,860 0.1% 99.6%
STORE_FAST_STORE_FAST LOAD_SMALL_INT 226,860 0.1% 99.7%
CALL_PY_EXACT_ARGS RESUME_CHECK 160,340 0.1% 99.8%
ENTER_EXECUTOR CALL_PY_EXACT_ARGS 154,800 0.1% 99.8%
ENTER_EXECUTOR RESUME_CHECK 70,800 0.0% 99.9%
ENTER_EXECUTOR POP_TOP 63,440 0.0% 99.9%
POP_TOP LOAD_FAST 61,100 0.0% 99.9%
LOAD_FAST RETURN_VALUE 61,100 0.0% 99.9%
LOAD_FAST_LOAD_FAST LOAD_FAST 15,600 0.0% 99.9%
STORE_FAST JUMP_BACKWARD 8,400 0.0% 100.0%
JUMP_BACKWARD FOR_ITER 7,860 0.0% 100.0%
STORE_FAST LOAD_FAST_LOAD_FAST 7,800 0.0% 100.0%
STORE_FAST_STORE_FAST LOAD_FAST_LOAD_FAST 7,800 0.0% 100.0%
BINARY_OP STORE_FAST 5,940 0.0% 100.0%
BINARY_OP_ADD_FLOAT BINARY_OP 5,880 0.0% 100.0%
BINARY_OP_MULTIPLY_FLOAT BINARY_OP 5,760 0.0% 100.0%
LOAD_GLOBAL_BUILTIN LOAD_GLOBAL_BUILTIN 4,800 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_GLOBAL_MODULE 3,600 0.0% 100.0%
GET_ITER FOR_ITER_RANGE 2,520 0.0% 100.0%
PUSH_NULL LOAD_FAST_LOAD_FAST 2,460 0.0% 100.0%
LOAD_FAST_LOAD_FAST BUILD_TUPLE 2,460 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL_BUILTIN 2,440 0.0% 100.0%
GET_ITER LOAD_FAST_AND_CLEAR 2,400 0.0% 100.0%
POP_TOP SWAP 2,400 0.0% 100.0%
BUILD_LIST SWAP 2,400 0.0% 100.0%
BUILD_TUPLE CALL_PY_EXACT_ARGS 2,400 0.0% 100.0%
LOAD_FAST CALL_PY_EXACT_ARGS 2,400 0.0% 100.0%
LOAD_FAST_AND_CLEAR SWAP 2,400 0.0% 100.0%
STORE_FAST RETURN_VALUE 2,400 0.0% 100.0%
STORE_FAST_LOAD_FAST PUSH_NULL 2,400 0.0% 100.0%
SWAP GET_ITER 2,400 0.0% 100.0%
SWAP BUILD_LIST 2,400 0.0% 100.0%
SWAP STORE_FAST 2,400 0.0% 100.0%
CALL_BUILTIN_CLASS CALL_LEN 2,400 0.0% 100.0%
CALL_LEN CALL_BUILTIN_CLASS 2,400 0.0% 100.0%
FOR_ITER_RANGE STORE_FAST_LOAD_FAST 2,400 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_FAST 2,400 0.0% 100.0%
RETURN_VALUE STORE_FAST 1,380 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_MODULE 1,280 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL_MODULE 1,280 0.0% 100.0%
RETURN_VALUE RETURN_VALUE 1,260 0.0% 100.0%
RETURN_VALUE CALL_PY_EXACT_ARGS 1,200 0.0% 100.0%
BINARY_OP BINARY_OP 1,040 0.0% 100.0%
LOAD_FAST_LOAD_FAST BINARY_OP_ADD_INT 1,000 0.0% 100.0%
LOAD_SMALL_INT BINARY_OP_ADD_INT 1,000 0.0% 100.0%
BINARY_OP_ADD_INT LOAD_SMALL_INT 1,000 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_RANGE 660 0.0% 100.0%
FOR_ITER_RANGE STORE_FAST 660 0.0% 100.0%
BINARY_OP RETURN_VALUE 500 0.0% 100.0%
BINARY_OP LOAD_FAST 500 0.0% 100.0%
LOAD_CONST LOAD_FAST_LOAD_FAST 500 0.0% 100.0%
LOAD_FAST BINARY_OP_ADD_INT 500 0.0% 100.0%
LOAD_SMALL_INT BINARY_OP 500 0.0% 100.0%
BINARY_OP_ADD_INT BINARY_OP 500 0.0% 100.0%
BINARY_OP_ADD_INT LOAD_FAST_LOAD_FAST 500 0.0% 100.0%
BINARY_OP_ADD_INT BINARY_OP_MULTIPLY_INT 500 0.0% 100.0%
BINARY_OP_MULTIPLY_INT LOAD_SMALL_INT 500 0.0% 100.0%
RESUME_CHECK LOAD_CONST 500 0.0% 100.0%
ENTER_EXECUTOR ENTER_EXECUTOR 500 0.0% 100.0%
STORE_FAST LOAD_FAST 300 0.0% 100.0%
LOAD_ATTR_MODULE PUSH_NULL 240 0.0% 100.0%
POP_TOP LOAD_CONST_IMMORTAL 180 0.0% 100.0%
RETURN_VALUE POP_TOP 180 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 180 0.0% 100.0%
LOAD_CONST_IMMORTAL RETURN_VALUE 180 0.0% 100.0%
PUSH_NULL CALL_NON_PY_GENERAL 160 0.0% 100.0%
LOAD_GLOBAL_MODULE LOAD_ATTR_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%
PUSH_NULL LOAD_FAST 120 0.0% 100.0%
CALL CALL_NON_PY_GENERAL 120 0.0% 100.0%
LOAD_FAST PUSH_NULL 120 0.0% 100.0%
LOAD_FAST LOAD_CONST_IMMORTAL 120 0.0% 100.0%
LOAD_GLOBAL LOAD_GLOBAL_MODULE 120 0.0% 100.0%
LOAD_CONST_IMMORTAL STORE_FAST 120 0.0% 100.0%
LOAD_CONST_IMMORTAL LOAD_CONST_IMMORTAL 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.

CACHE

Successors and predecessors for CACHE
Successors Count Percentage
RESUME_CHECK 60 100.0%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_SMALL_INT 20 100.0%
Successors Count Percentage
BINARY_SUBSCR_TUPLE_INT 20 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
CALL_BUILTIN_CLASS 229,320 98.9%
SWAP 2,400 1.0%
LOAD_FAST 60 0.0%
CALL_NON_PY_GENERAL 60 0.0%
Successors Count Percentage
FOR_ITER 226,920 97.9%
FOR_ITER_RANGE 2,520 1.1%
LOAD_FAST_AND_CLEAR 2,400 1.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
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
ENTER_EXECUTOR 63,440 99.5%
RETURN_VALUE 180 0.3%
CALL_METHOD_DESCRIPTOR_O 60 0.1%
CALL_NON_PY_GENERAL 60 0.1%
Successors Count Percentage
LOAD_FAST 61,100 95.9%
SWAP 2,400 3.8%
LOAD_CONST_IMMORTAL 180 0.3%
JUMP_BACKWARD 60 0.1%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
STORE_FAST_LOAD_FAST 2,400 85.1%
LOAD_ATTR_MODULE 240 8.5%
LOAD_FAST 120 4.3%
LOAD_DEREF 60 2.1%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 2,460 87.2%
CALL_NON_PY_GENERAL 160 5.7%
LOAD_FAST 120 4.3%
CALL 80 2.8%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
ENTER_EXECUTOR 40,810,460 99.8%
LOAD_FAST 61,100 0.1%
STORE_FAST 2,400 0.0%
RETURN_VALUE 1,260 0.0%
BINARY_OP 500 0.0%
Successors Count Percentage
LOAD_FAST 40,560,000 99.2%
LIST_APPEND 312,000 0.8%
STORE_FAST 1,380 0.0%
RETURN_VALUE 1,260 0.0%
CALL_PY_EXACT_ARGS 1,200 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 1,227,800 98.9%
BINARY_OP_ADD_FLOAT 5,880 0.5%
BINARY_OP_MULTIPLY_FLOAT 5,760 0.5%
BINARY_OP 1,040 0.1%
LOAD_SMALL_INT 500 0.0%
Successors Count Percentage
BINARY_OP_ADD_FLOAT 1,233,480 99.4%
STORE_FAST 5,940 0.5%
BINARY_OP 1,040 0.1%
RETURN_VALUE 500 0.0%
LOAD_FAST 500 0.0%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
SWAP 2,400 95.2%
LOAD_FAST 60 2.4%
LOAD_SMALL_INT 60 2.4%
Successors Count Percentage
SWAP 2,400 95.2%
LOAD_DEREF 60 2.4%
LOAD_GLOBAL_MODULE 40 1.6%
LOAD_GLOBAL 20 0.8%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 2,460 97.6%
LOAD_FAST 60 2.4%
Successors Count Percentage
CALL_PY_EXACT_ARGS 2,400 95.2%
LOAD_CONST 60 2.4%
CALL_METHOD_DESCRIPTOR_O 40 1.6%
CALL 20 0.8%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
PUSH_NULL 80 26.7%
LOAD_FAST_LOAD_FAST 60 20.0%
LOAD_CONST_IMMORTAL 40 13.3%
BUILD_TUPLE 20 6.7%
LOAD_FAST 20 6.7%
Successors Count Percentage
CALL_NON_PY_GENERAL 120 40.0%
CALL_PY_EXACT_ARGS 80 26.7%
CALL_BUILTIN_CLASS 40 13.3%
CALL_METHOD_DESCRIPTOR_NOARGS 20 6.7%
CALL_METHOD_DESCRIPTOR_O 20 6.7%

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%

COPY

Successors and predecessors for COPY
Predecessors Count Percentage
LOAD_SMALL_INT 60 100.0%
Successors Count Percentage
STORE_FAST_STORE_FAST 60 100.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 226,920 96.6%
JUMP_BACKWARD 7,860 3.3%
FOR_ITER 100 0.0%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 234,660 99.9%
FOR_ITER 100 0.0%
JUMP_BACKWARD 60 0.0%
LOAD_FAST 60 0.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
STORE_FAST 8,400 98.6%
POP_TOP 60 0.7%
FOR_ITER 60 0.7%
Successors Count Percentage
FOR_ITER 7,860 92.3%
FOR_ITER_RANGE 660 7.7%

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
RETURN_VALUE 312,000 100.0%
Successors Count Percentage
ENTER_EXECUTOR 312,000 100.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 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
RESUME_CHECK 500 80.6%
BUILD_TUPLE 60 9.7%
POP_JUMP_IF_NOT_NONE 60 9.7%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 500 80.6%
MAKE_FUNCTION 60 9.7%
STORE_FAST 60 9.7%

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
RETURN_VALUE 40,560,000 98.2%
LOAD_GLOBAL_BUILTIN 229,380 0.6%
RESUME_CHECK 227,040 0.5%
STORE_FAST_STORE_FAST 226,920 0.5%
POP_TOP 61,100 0.1%
Successors Count Percentage
BINARY_OP_MULTIPLY_FLOAT 39,347,820 95.2%
BINARY_OP 1,227,800 3.0%
CALL_BUILTIN_CLASS 229,300 0.6%
LOAD_GLOBAL_MODULE 226,860 0.5%
UNPACK_SEQUENCE_TWO_TUPLE 226,860 0.5%

LOAD_FAST_AND_CLEAR

Successors and predecessors for LOAD_FAST_AND_CLEAR
Predecessors Count Percentage
GET_ITER 2,400 100.0%
Successors Count Percentage
SWAP 2,400 100.0%

LOAD_FAST_CHECK

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

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 226,920 92.2%
STORE_FAST 7,800 3.2%
STORE_FAST_STORE_FAST 7,800 3.2%
PUSH_NULL 2,460 1.0%
LOAD_CONST 500 0.2%
Successors Count Percentage
CALL_PY_EXACT_ARGS 226,940 92.2%
LOAD_FAST 15,600 6.3%
BUILD_TUPLE 2,460 1.0%
BINARY_OP_ADD_INT 1,000 0.4%
CALL 60 0.0%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
STORE_FAST 60 33.3%
RESUME_CHECK 60 33.3%
BUILD_LIST 20 11.1%
STORE_FAST_STORE_FAST 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
STORE_FAST_STORE_FAST 226,860 99.2%
BINARY_OP_ADD_INT 1,000 0.4%
BINARY_OP_MULTIPLY_INT 500 0.2%
LOAD_FAST 60 0.0%
STORE_FAST 60 0.0%
Successors Count Percentage
STORE_FAST 226,860 99.2%
BINARY_OP_ADD_INT 1,000 0.4%
BINARY_OP 500 0.2%
BUILD_LIST 60 0.0%
COPY 60 0.0%

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
TO_BOOL 60 100.0%
Successors Count Percentage
LOAD_FAST 60 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
TO_BOOL_BOOL 60 100.0%
Successors Count Percentage
NOP 60 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_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
BINARY_OP_ADD_FLOAT 40,569,720 99.4%
LOAD_SMALL_INT 226,860 0.6%
BINARY_OP 5,940 0.0%
SWAP 2,400 0.0%
RETURN_VALUE 1,380 0.0%
Successors Count Percentage
ENTER_EXECUTOR 40,560,000 99.4%
LOAD_GLOBAL_BUILTIN 226,900 0.6%
JUMP_BACKWARD 8,400 0.0%
LOAD_FAST_LOAD_FAST 7,800 0.0%
RETURN_VALUE 2,400 0.0%

STORE_FAST_LOAD_FAST

Successors and predecessors for STORE_FAST_LOAD_FAST
Predecessors Count Percentage
FOR_ITER_RANGE 2,400 100.0%
Successors Count Percentage
PUSH_NULL 2,400 100.0%

STORE_FAST_STORE_FAST

Successors and predecessors for STORE_FAST_STORE_FAST
Predecessors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 461,580 100.0%
COPY 60 0.0%
Successors Count Percentage
LOAD_FAST 226,920 49.2%
LOAD_SMALL_INT 226,860 49.1%
LOAD_FAST_LOAD_FAST 7,800 1.7%
LOAD_GLOBAL_BUILTIN 40 0.0%
LOAD_GLOBAL 20 0.0%

SWAP

Successors and predecessors for SWAP
Predecessors Count Percentage
POP_TOP 2,400 33.3%
BUILD_LIST 2,400 33.3%
LOAD_FAST_AND_CLEAR 2,400 33.3%
Successors Count Percentage
GET_ITER 2,400 33.3%
BUILD_LIST 2,400 33.3%
STORE_FAST 2,400 33.3%

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_ADD_FLOAT

Successors and predecessors for BINARY_OP_ADD_FLOAT
Predecessors Count Percentage
BINARY_OP_MULTIPLY_FLOAT 39,342,120 97.0%
BINARY_OP 1,233,480 3.0%
Successors Count Percentage
STORE_FAST 40,569,720 100.0%
BINARY_OP 5,880 0.0%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 1,000 40.0%
LOAD_SMALL_INT 1,000 40.0%
LOAD_FAST 500 20.0%
Successors Count Percentage
LOAD_SMALL_INT 1,000 40.0%
BINARY_OP 500 20.0%
LOAD_FAST_LOAD_FAST 500 20.0%
BINARY_OP_MULTIPLY_INT 500 20.0%

BINARY_OP_MULTIPLY_FLOAT

Successors and predecessors for BINARY_OP_MULTIPLY_FLOAT
Predecessors Count Percentage
LOAD_FAST 39,347,820 100.0%
BINARY_OP 60 0.0%
Successors Count Percentage
BINARY_OP_ADD_FLOAT 39,342,120 100.0%
BINARY_OP 5,760 0.0%

BINARY_OP_MULTIPLY_INT

Successors and predecessors for BINARY_OP_MULTIPLY_INT
Predecessors Count Percentage
BINARY_OP_ADD_INT 500 100.0%
Successors Count Percentage
LOAD_SMALL_INT 500 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 229,300 98.9%
CALL_LEN 2,400 1.0%
CALL 40 0.0%
LOAD_SMALL_INT 40 0.0%
Successors Count Percentage
GET_ITER 229,320 98.9%
CALL_LEN 2,400 1.0%
STORE_FAST 60 0.0%

CALL_LEN

Successors and predecessors for CALL_LEN
Predecessors Count Percentage
CALL_BUILTIN_CLASS 2,400 100.0%
Successors Count Percentage
CALL_BUILTIN_CLASS 2,400 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 44.4%
CALL 120 33.3%
LOAD_FAST_CHECK 40 11.1%
LOAD_FAST_LOAD_FAST 40 11.1%
Successors Count Percentage
GET_ITER 60 16.7%
POP_TOP 60 16.7%
RETURN_VALUE 60 16.7%
LOAD_FAST 60 16.7%
STORE_DEREF 60 16.7%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 226,940 58.5%
ENTER_EXECUTOR 154,800 39.9%
BUILD_TUPLE 2,400 0.6%
LOAD_FAST 2,400 0.6%
RETURN_VALUE 1,200 0.3%
Successors Count Percentage
ENTER_EXECUTOR 227,500 58.6%
RESUME_CHECK 160,340 41.3%
COPY_FREE_VARS 60 0.0%
CALL_PY_EXACT_ARGS 40 0.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%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
GET_ITER 2,520 79.2%
JUMP_BACKWARD 660 20.8%
Successors Count Percentage
STORE_FAST_LOAD_FAST 2,400 75.5%
STORE_FAST 660 20.8%
LOAD_SMALL_INT 60 1.9%
LOAD_GLOBAL_MODULE 40 1.3%
LOAD_GLOBAL 20 0.6%

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
POP_TOP 180 30.0%
STORE_FAST 180 30.0%
LOAD_FAST 120 20.0%
LOAD_CONST_IMMORTAL 120 20.0%
Successors Count Percentage
RETURN_VALUE 180 30.0%
STORE_FAST 120 20.0%
LOAD_CONST_IMMORTAL 120 20.0%
IS_OP 60 10.0%
CALL 40 6.7%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 226,900 96.9%
LOAD_GLOBAL_BUILTIN 4,800 2.0%
RESUME_CHECK 2,440 1.0%
LOAD_GLOBAL 60 0.0%
STORE_FAST_STORE_FAST 40 0.0%
Successors Count Percentage
LOAD_FAST 229,380 97.9%
LOAD_GLOBAL_BUILTIN 4,800 2.0%
LOAD_SMALL_INT 60 0.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
LOAD_FAST 226,860 97.3%
LOAD_GLOBAL_MODULE 3,600 1.5%
STORE_FAST 1,280 0.5%
RESUME_CHECK 1,280 0.5%
LOAD_GLOBAL 120 0.1%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 226,920 97.3%
LOAD_GLOBAL_MODULE 3,600 1.5%
LOAD_FAST 2,400 1.0%
LOAD_ATTR_MODULE 160 0.1%
LOAD_ATTR 80 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 160,340 69.3%
ENTER_EXECUTOR 70,800 30.6%
CACHE 60 0.0%
CALL_FUNCTION_EX 60 0.0%
COPY_FREE_VARS 60 0.0%
Successors Count Percentage
LOAD_FAST 227,040 98.1%
LOAD_GLOBAL_BUILTIN 2,440 1.1%
LOAD_GLOBAL_MODULE 1,280 0.6%
LOAD_CONST 500 0.2%
LOAD_DEREF 60 0.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%

UNPACK_SEQUENCE_TWO_TUPLE

Successors and predecessors for UNPACK_SEQUENCE_TWO_TUPLE
Predecessors Count Percentage
FOR_ITER 234,660 50.8%
LOAD_FAST 226,860 49.1%
CALL_METHOD_DESCRIPTOR_NOARGS 40 0.0%
UNPACK_SEQUENCE 20 0.0%
Successors Count Percentage
STORE_FAST_STORE_FAST 461,580 100.0%

ENTER_EXECUTOR

Successors and predecessors for ENTER_EXECUTOR
Predecessors Count Percentage
STORE_FAST 40,560,000 98.7%
LIST_APPEND 312,000 0.8%
CALL_PY_EXACT_ARGS 227,500 0.6%
ENTER_EXECUTOR 500 0.0%
Successors Count Percentage
RETURN_VALUE 40,810,460 99.3%
CALL_PY_EXACT_ARGS 154,800 0.4%
RESUME_CHECK 70,800 0.2%
POP_TOP 63,440 0.2%
ENTER_EXECUTOR 500 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.

1,234,720 1.5%
hit

Specialized instructions that complete.

79,611,240 98.1%
miss

Specialized instructions that deopt.

315,300 0.4%
Success Count Ratio
Success 5,960 46.7%
Failure 6,800 53.3%
Failure kind Count Ratio
add different types 5,880 86.5%
multiply different types 920 13.5%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

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

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

619,980 99.6%
miss

Specialized instructions that deopt.

2,260 0.4%
Success Count Ratio
Success 340 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.

234,780 98.6%
hit

Specialized instructions that complete.

3,180 1.3%
Success Count Ratio
Success 0 0.0%
Failure 100 100.0%
Failure kind Count Ratio
enumerate 60 60.0%
zip 40 40.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 5.9%
hit

Specialized instructions that complete.

720 70.6%
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.

467,460 100.0%
Success Count Ratio
Success 180 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 37.5%
hit

Specialized instructions that complete.

60 37.5%
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.

461,580 100.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.

165,681,360 66.6%
Not specialized

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

1,477,340 0.6%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

81,396,180 32.7%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

318,060 0.1%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_OP 1,234,720 84.0%
FOR_ITER 234,780 16.0%
TO_BOOL 60 0.0%
LOAD_ATTR 60 0.0%
BINARY_SLICE 0 0.0%
STORE_SLICE 0 0.0%
CACHE 0 0.0%
BINARY_SUBSCR 0 0.0%
GET_ITER 0 0.0%
MAKE_FUNCTION 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
BINARY_OP_ADD_FLOAT 312,120 98.0%
BINARY_OP_MULTIPLY_FLOAT 3,180 1.0%
CALL_PY_EXACT_ARGS 2,260 0.7%
RESUME 500 0.2%
RESUME_CHECK 500 0.2%
CACHE 0 0.0%
GET_ITER 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 0 0.0%
POP_TOP 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 60 0.0%
Calls to Python functions inlined 40,875,960 100.0%
Calls via PyEval_EvalFrame (total) 60 0.0%
Calls via PyEval_EvalFrame (vector) 60 0.0%
Calls via PyEval_EvalFrame (generator) 0 0.0%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 60 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) 0 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 0 0.0%
Frames pushed 40,876,020 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 202,602,120 99.6%
Frees to freelist 202,602,440
Allocations 827,740 0.4%
Allocations to 512 bytes 825,260 0.4%
Allocations to 4 kbytes 2,480 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 829,620
Inline values 0
Interpreter mortal increfs 325,054,460 44.1%
Interpreter mortal decrefs 488,490,920 38.6%
Mortal increfs 81,063,672 11.0%
Mortal decrefs 121,054,152 9.6%
Interpreter immortal increfs 327,677,040 44.5%
Interpreter immortal decrefs 614,728,000 48.5%
Immortal increfs 2,476,492 0.3%
Immortal decrefs 42,851,052 3.4%
Materialize dict (on request) 0
Materialize dict (new key) 0
Materialize dict (too big) 0
Materialize dict (str subclass) 0
Method cache hits 188
Method cache misses 32
Method cache collisions 19
Method cache dunder hits 0
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.

10,040
Traces created

The number of traces that were successfully created.

60 0.6%
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.

9,980 99.4%
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.

9,980 99.4%
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

81,768,100
Uops executed

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

1,952,394,960 2,387.7%
Count Ratio
Optimizer attempts

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

60
Optimizer successes

The number of traces that were successfully optimized.

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

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

Trace run length histogram

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

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_BINARY_OP_ADD_INT 202,797,500 10.4% 10.4%
_SET_IP 162,718,880 8.3% 18.7%
_LOAD_FAST_0 122,073,240 6.3% 25.0%
_CHECK_VALIDITY 121,764,140 6.2% 31.2%
_LOAD_FAST_1 121,761,740 6.2% 37.4%
_MAKE_WARM 81,768,100 4.2% 41.6%
_START_EXECUTOR 81,768,100 4.2% 45.8%
_BINARY_OP 81,119,000 4.2% 50.0%
_LOAD_SMALL_INT_1 81,119,000 4.2% 54.1%
_EXIT_TRACE 41,279,660 2.1% 56.2%
_CHECK_PERIODIC 40,957,140 2.1% 58.3%
_CHECK_VALIDITY_AND_SET_IP 40,730,280 2.1% 60.4%
_FOR_ITER_TIER_TWO 40,645,140 2.1% 62.5% 0.8%
_TIER2_RESUME_CHECK 40,645,140 2.1% 64.6% 0.0%
_LOAD_FAST_3 40,584,100 2.1% 66.7%
_BINARY_OP_MULTIPLY_INT 40,559,500 2.1% 68.8%
_GUARD_BOTH_INT 40,559,500 2.1% 70.8%
_LOAD_CONST_INLINE 40,559,500 2.1% 72.9%
_LOAD_SMALL_INT_2 40,559,500 2.1% 75.0%
_CHECK_STACK_SPACE 40,487,940 2.1% 77.1%
_DYNAMIC_EXIT 40,487,940 2.1% 79.1%
_PUSH_FRAME 40,487,940 2.1% 81.2%
_SAVE_RETURN_OFFSET 40,487,940 2.1% 83.3%
_UNPACK_SEQUENCE_TWO_TUPLE 40,418,280 2.1% 85.3%
_CHECK_FUNCTION 40,333,140 2.1% 87.4%
_CHECK_FUNCTION_VERSION_INLINE 40,333,140 2.1% 89.5%
_INIT_CALL_PY_EXACT_ARGS_2 40,333,140 2.1% 91.5%
_LOAD_CONST_INLINE_WITH_NULL 40,333,140 2.1% 93.6%
_LOAD_FAST_4 40,333,140 2.1% 95.7%
_STORE_FAST_4 40,333,140 2.1% 97.7%
_STORE_FAST_5 40,333,140 2.1% 99.8%
_LOAD_FAST_2 394,740 0.0% 99.8%
_STORE_FAST_2 394,740 0.0% 99.8%
_GUARD_NOT_EXHAUSTED_RANGE 312,000 0.0% 99.9% 0.8%
_ITER_CHECK_RANGE 312,000 0.0% 99.9%
_CHECK_FUNCTION_VERSION 309,600 0.0% 99.9% 50.0%
_PUSH_NULL 309,600 0.0% 99.9%
_BUILD_TUPLE 309,600 0.0% 99.9%
_ITER_NEXT_RANGE 309,600 0.0% 99.9%
_POP_TOP 250,960 0.0% 100.0%
_CHECK_FUNCTION_EXACT_ARGS 154,800 0.0% 100.0%
_INIT_CALL_PY_EXACT_ARGS_1 154,800 0.0% 100.0%
_GET_ITER 85,140 0.0% 100.0%
_CALL_BUILTIN_CLASS 85,140 0.0% 100.0%
_LOAD_CONST_INLINE_BORROW_WITH_NULL 85,140 0.0% 100.0%
_LOAD_SMALL_INT_0 85,140 0.0% 100.0%
_STORE_FAST_1 85,140 0.0% 100.0%
_STORE_FAST_3 85,140 0.0% 100.0%
_DEOPT 500 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 81,768,100 4.2% 4.2%
_SET_IP _BINARY_OP 81,119,000 4.2% 8.3%
_BINARY_OP _CHECK_VALIDITY 81,119,000 4.2% 12.5%
_BINARY_OP_ADD_INT _LOAD_SMALL_INT_1 81,119,000 4.2% 16.7%
_LOAD_FAST_0 _LOAD_FAST_1 81,119,000 4.2% 20.8%
_LOAD_SMALL_INT_1 _BINARY_OP_ADD_INT 81,119,000 4.2% 25.0%
_SET_IP _CHECK_PERIODIC 40,872,000 2.1% 27.1%
_MAKE_WARM _SET_IP 40,872,000 2.1% 29.1%
_CHECK_PERIODIC _CHECK_VALIDITY_AND_SET_IP 40,645,140 2.1% 31.2%
_CHECK_VALIDITY_AND_SET_IP _FOR_ITER_TIER_TWO 40,645,140 2.1% 33.3%
_MAKE_WARM _TIER2_RESUME_CHECK 40,645,140 2.1% 35.4%
_BINARY_OP_ADD_INT _SET_IP 40,559,500 2.1% 37.5%
_BINARY_OP_ADD_INT _BINARY_OP_MULTIPLY_INT 40,559,500 2.1% 39.5%
_BINARY_OP_ADD_INT _LOAD_FAST_0 40,559,500 2.1% 41.6%
_BINARY_OP_MULTIPLY_INT _LOAD_SMALL_INT_2 40,559,500 2.1% 43.7%
_CHECK_VALIDITY _EXIT_TRACE 40,559,500 2.1% 45.8%
_CHECK_VALIDITY _LOAD_FAST_0 40,559,500 2.1% 47.9%
_GUARD_BOTH_INT _BINARY_OP_ADD_INT 40,559,500 2.1% 49.9%
_LOAD_CONST_INLINE _LOAD_FAST_0 40,559,500 2.1% 52.0%
_LOAD_FAST_0 _BINARY_OP_ADD_INT 40,559,500 2.1% 54.1%
_LOAD_FAST_1 _BINARY_OP_ADD_INT 40,559,500 2.1% 56.2%
_LOAD_FAST_1 _GUARD_BOTH_INT 40,559,500 2.1% 58.2%
_LOAD_SMALL_INT_2 _SET_IP 40,559,500 2.1% 60.3%
_TIER2_RESUME_CHECK _LOAD_CONST_INLINE 40,559,500 2.1% 62.4%
_PUSH_FRAME _DYNAMIC_EXIT 40,487,940 2.1% 64.5%
_SAVE_RETURN_OFFSET _PUSH_FRAME 40,487,940 2.1% 66.5%
_UNPACK_SEQUENCE_TWO_TUPLE _STORE_FAST_4 40,333,140 2.1% 68.6%
_SET_IP _CHECK_FUNCTION_VERSION_INLINE 40,333,140 2.1% 70.7%
_CHECK_FUNCTION_VERSION_INLINE _CHECK_STACK_SPACE 40,333,140 2.1% 72.7%
_CHECK_STACK_SPACE _INIT_CALL_PY_EXACT_ARGS_2 40,333,140 2.1% 74.8%
_CHECK_VALIDITY _UNPACK_SEQUENCE_TWO_TUPLE 40,333,140 2.1% 76.9%
_FOR_ITER_TIER_TWO _CHECK_VALIDITY 40,333,140 2.1% 78.9%
_INIT_CALL_PY_EXACT_ARGS_2 _SAVE_RETURN_OFFSET 40,333,140 2.1% 81.0%
_STORE_FAST_4 _STORE_FAST_5 40,333,140 2.1% 83.1%
_STORE_FAST_5 _LOAD_FAST_3 40,333,140 2.1% 85.1%
_CHECK_FUNCTION _LOAD_CONST_INLINE_WITH_NULL 40,248,000 2.1% 87.2%
_LOAD_FAST_3 _CHECK_FUNCTION 40,248,000 2.1% 89.3%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_4 20,209,140 1.0% 90.3%
_LOAD_FAST_1 _SET_IP 20,209,140 1.0% 91.3%
_LOAD_FAST_4 _LOAD_FAST_1 20,209,140 1.0% 92.4%
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_1 20,124,000 1.0% 93.4%
_LOAD_FAST_1 _LOAD_FAST_4 20,124,000 1.0% 94.4%
_LOAD_FAST_4 _SET_IP 20,124,000 1.0% 95.5%
_CHECK_PERIODIC _CHECK_VALIDITY 312,000 0.0% 95.5%
_CHECK_VALIDITY _ITER_CHECK_RANGE 312,000 0.0% 95.5%
_FOR_ITER_TIER_TWO _EXIT_TRACE 312,000 0.0% 95.5%
_ITER_CHECK_RANGE _GUARD_NOT_EXHAUSTED_RANGE 312,000 0.0% 95.5%
_PUSH_NULL _LOAD_FAST_2 309,600 0.0% 95.5%
_BUILD_TUPLE _SET_IP 309,600 0.0% 95.6%
_SET_IP _CHECK_FUNCTION_VERSION 309,600 0.0% 95.6%
_GUARD_NOT_EXHAUSTED_RANGE _ITER_NEXT_RANGE 309,600 0.0% 95.6%
_ITER_NEXT_RANGE _STORE_FAST_2 309,600 0.0% 95.6%
_LOAD_FAST_0 _PUSH_NULL 309,600 0.0% 95.6%
_LOAD_FAST_1 _BUILD_TUPLE 309,600 0.0% 95.6%
_LOAD_FAST_2 _LOAD_FAST_1 309,600 0.0% 95.7%
_STORE_FAST_2 _LOAD_FAST_0 309,600 0.0% 95.7%
_POP_TOP _LOAD_FAST_3 250,960 0.0% 95.7%
_LOAD_FAST_3 _EXIT_TRACE 250,960 0.0% 95.7%
_MAKE_WARM _POP_TOP 250,960 0.0% 95.7%
_CHECK_FUNCTION_EXACT_ARGS _CHECK_STACK_SPACE 154,800 0.0% 95.7%
_CHECK_FUNCTION_VERSION _EXIT_TRACE 154,800 0.0% 95.7%
_CHECK_FUNCTION_VERSION _CHECK_FUNCTION_EXACT_ARGS 154,800 0.0% 95.7%
_CHECK_STACK_SPACE _INIT_CALL_PY_EXACT_ARGS_1 154,800 0.0% 95.7%
_INIT_CALL_PY_EXACT_ARGS_1 _SAVE_RETURN_OFFSET 154,800 0.0% 95.7%
_GET_ITER _CHECK_VALIDITY_AND_SET_IP 85,140 0.0% 95.8%
_UNPACK_SEQUENCE_TWO_TUPLE _STORE_FAST_1 85,140 0.0% 95.8%
_SET_IP _CALL_BUILTIN_CLASS 85,140 0.0% 95.8%
_CALL_BUILTIN_CLASS _CHECK_PERIODIC 85,140 0.0% 95.8%
_CHECK_FUNCTION _LOAD_CONST_INLINE_BORROW_WITH_NULL 85,140 0.0% 95.8%
_CHECK_VALIDITY_AND_SET_IP _GET_ITER 85,140 0.0% 95.8%
_LOAD_CONST_INLINE_BORROW_WITH_NULL _LOAD_FAST_2 85,140 0.0% 95.8%
_LOAD_FAST_0 _UNPACK_SEQUENCE_TWO_TUPLE 85,140 0.0% 95.8%
_LOAD_FAST_2 _SET_IP 85,140 0.0% 95.8%
_LOAD_FAST_3 _LOAD_CONST_INLINE_WITH_NULL 85,140 0.0% 95.8%
_LOAD_SMALL_INT_0 _STORE_FAST_3 85,140 0.0% 95.8%
_STORE_FAST_1 _STORE_FAST_2 85,140 0.0% 95.8%
_STORE_FAST_2 _LOAD_SMALL_INT_0 85,140 0.0% 95.8%
_STORE_FAST_3 _CHECK_FUNCTION 85,140 0.0% 95.8%
_TIER2_RESUME_CHECK _LOAD_FAST_0 85,140 0.0% 95.8%
_GUARD_NOT_EXHAUSTED_RANGE _EXIT_TRACE 2,400 0.0% 95.8%
_TIER2_RESUME_CHECK _DEOPT 500 0.0% 95.8%

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