Skip to content

Latest commit

 

History

History
8131 lines (7465 loc) · 152 KB

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

File metadata and controls

8131 lines (7465 loc) · 152 KB

Pystats results

  • benchmark: richards_super
  • 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 212,694,880 21.6% 21.6%
LOAD_ATTR_INSTANCE_VALUE 81,369,220 8.3% 29.8% 31.2%
RETURN_VALUE 65,658,000 6.7% 36.5%
TO_BOOL_BOOL 53,220,480 5.4% 41.9%
POP_JUMP_IF_FALSE 52,297,540 5.3% 47.2%
STORE_ATTR_INSTANCE_VALUE 51,867,360 5.3% 52.4% 22.6%
CALL_PY_EXACT_ARGS 51,034,280 5.2% 57.6% 10.3%
RESUME_CHECK 48,588,420 4.9% 62.5% 0.0%
STORE_FAST 46,860,660 4.8% 67.3%
LOAD_ATTR_METHOD_WITH_VALUES 43,389,780 4.4% 71.7% 42.8%
LOAD_CONST_IMMORTAL 34,575,480 3.5% 75.2%
LOAD_FAST_LOAD_FAST 31,141,620 3.2% 78.3%
LOAD_GLOBAL_MODULE 28,587,880 2.9% 81.2%
POP_TOP 20,839,500 2.1% 83.4%
POP_JUMP_IF_NOT_NONE 20,673,720 2.1% 85.5%
COPY 18,819,800 1.9% 87.4%
LOAD_GLOBAL_BUILTIN 15,790,500 1.6% 89.0%
ENTER_EXECUTOR 15,645,380 1.6% 90.6%
LOAD_SMALL_INT 12,205,080 1.2% 91.8%
COMPARE_OP_INT 9,762,060 1.0% 92.8%
COPY_FREE_VARS 7,895,580 0.8% 93.6%
LOAD_DEREF 7,895,580 0.8% 94.4%
LOAD_SUPER_ATTR_METHOD 7,895,520 0.8% 95.2%
POP_JUMP_IF_TRUE 7,895,060 0.8% 96.0%
CALL_ISINSTANCE 7,894,800 0.8% 96.8%
SWAP 5,985,240 0.6% 97.4%
BINARY_OP_ADD_INT 5,601,120 0.6% 98.0%
POP_JUMP_IF_NONE 4,046,500 0.4% 98.4%
JUMP_FORWARD 3,208,980 0.3% 98.7%
BINARY_OP 3,000,540 0.3% 99.0%
UNARY_NOT 2,790,000 0.3% 99.3%
BINARY_SUBSCR_LIST_INT 2,712,900 0.3% 99.6%
BINARY_OP_SUBTRACT_INT 1,500,720 0.2% 99.7%
NOP 1,394,340 0.1% 99.8%
LOAD_CONST 600,240 0.1% 99.9%
STORE_SUBSCR_LIST_INT 301,440 0.0% 99.9%
FOR_ITER_RANGE 279,660 0.0% 100.0%
GET_ITER 279,420 0.0% 100.0%
JUMP_BACKWARD 41,200 0.0% 100.0%
EXIT_INIT_CHECK 3,120 0.0% 100.0%
CALL_ALLOC_AND_ENTER_INIT 3,120 0.0% 100.0%
BUILD_LIST 960 0.0% 100.0%
PUSH_NULL 480 0.0% 100.0%
CALL_NON_PY_GENERAL 420 0.0% 100.0%
EXTENDED_ARG 360 0.0% 100.0%
LOAD_ATTR 280 0.0% 100.0%
CALL 260 0.0% 100.0%
CALL_BUILTIN_CLASS 180 0.0% 100.0%
LOAD_ATTR_MODULE 180 0.0% 100.0%
INTERPRETER_EXIT 120 0.0% 100.0%
BUILD_TUPLE 120 0.0% 100.0%
LOAD_ATTR_METHOD_NO_DICT 120 0.0% 100.0%
TO_BOOL 100 0.0% 100.0%
LOAD_GLOBAL 100 0.0% 100.0%
MAKE_FUNCTION 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%
MAKE_CELL 60 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
STORE_DEREF 60 0.0% 100.0%
STORE_FAST_STORE_FAST 60 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT 60 0.0% 100.0%
BINARY_SUBSCR_TUPLE_INT 60 0.0% 100.0%
CALL_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_SUBSCR 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
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 65,355,500 6.6% 6.6%
LOAD_FAST LOAD_ATTR_METHOD_WITH_VALUES 42,811,080 4.3% 11.0%
TO_BOOL_BOOL POP_JUMP_IF_FALSE 42,535,420 4.3% 15.3%
CALL_PY_EXACT_ARGS RESUME_CHECK 40,491,860 4.1% 19.4%
LOAD_FAST STORE_ATTR_INSTANCE_VALUE 33,098,760 3.4% 22.7%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST 30,485,280 3.1% 25.8%
RESUME_CHECK LOAD_FAST 29,982,660 3.0% 28.9%
POP_JUMP_IF_FALSE LOAD_FAST 24,510,520 2.5% 31.4%
LOAD_ATTR_METHOD_WITH_VALUES CALL_PY_EXACT_ARGS 22,551,840 2.3% 33.6%
STORE_FAST LOAD_FAST 21,859,140 2.2% 35.9%
LOAD_CONST_IMMORTAL LOAD_FAST 21,570,600 2.2% 38.0%
RETURN_VALUE TO_BOOL_BOOL 20,690,520 2.1% 40.1%
STORE_ATTR_INSTANCE_VALUE LOAD_CONST_IMMORTAL 19,157,280 1.9% 42.1%
RETURN_VALUE RETURN_VALUE 18,579,120 1.9% 44.0%
LOAD_ATTR_INSTANCE_VALUE STORE_FAST 18,563,280 1.9% 45.9%
POP_TOP LOAD_FAST 17,768,340 1.8% 47.7%
POP_JUMP_IF_NOT_NONE LOAD_FAST 16,671,780 1.7% 49.3%
ENTER_EXECUTOR RETURN_VALUE 15,132,960 1.5% 50.9%
LOAD_FAST POP_JUMP_IF_NOT_NONE 15,094,200 1.5% 52.4%
LOAD_FAST RETURN_VALUE 13,580,580 1.4% 53.8%
RETURN_VALUE POP_TOP 13,100,220 1.3% 55.1%
LOAD_ATTR_INSTANCE_VALUE LOAD_FAST 12,960,540 1.3% 56.4%
COPY TO_BOOL_BOOL 12,834,560 1.3% 57.7%
LOAD_ATTR_INSTANCE_VALUE COPY 12,834,560 1.3% 59.0%
STORE_FAST ENTER_EXECUTOR 12,795,720 1.3% 60.3%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 12,560,880 1.3% 61.6%
RETURN_VALUE STORE_FAST 11,885,340 1.2% 62.8%
LOAD_ATTR_INSTANCE_VALUE CALL_PY_EXACT_ARGS 11,383,400 1.2% 64.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 10,684,520 1.1% 65.0%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST_LOAD_FAST 10,684,380 1.1% 66.1%
LOAD_FAST LOAD_GLOBAL_MODULE 10,334,520 1.0% 67.2%
COMPARE_OP_INT POP_JUMP_IF_FALSE 9,762,060 1.0% 68.2%
LOAD_ATTR_INSTANCE_VALUE LOAD_SMALL_INT 9,263,400 0.9% 69.1%
LOAD_FAST STORE_FAST 9,150,840 0.9% 70.0%
LOAD_GLOBAL_MODULE TO_BOOL_BOOL 9,010,540 0.9% 70.9%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST 8,603,300 0.9% 71.8%
POP_JUMP_IF_FALSE LOAD_GLOBAL_MODULE 8,432,040 0.9% 72.7%
RESUME_CHECK LOAD_CONST_IMMORTAL 7,995,360 0.8% 73.5%
LOAD_CONST_IMMORTAL RETURN_VALUE 7,899,060 0.8% 74.3%
RESUME_CHECK LOAD_FAST_LOAD_FAST 7,895,760 0.8% 75.1%
COPY_FREE_VARS RESUME_CHECK 7,895,580 0.8% 75.9%
LOAD_DEREF LOAD_FAST 7,895,520 0.8% 76.7%
LOAD_FAST LOAD_SUPER_ATTR_METHOD 7,895,520 0.8% 77.5%
LOAD_GLOBAL_BUILTIN LOAD_DEREF 7,895,520 0.8% 78.3%
LOAD_SUPER_ATTR_METHOD LOAD_FAST_LOAD_FAST 7,895,400 0.8% 79.1%
TO_BOOL_BOOL POP_JUMP_IF_TRUE 7,895,060 0.8% 79.9%
LOAD_GLOBAL_BUILTIN LOAD_FAST 7,894,980 0.8% 80.7%
CALL_PY_EXACT_ARGS COPY_FREE_VARS 7,894,860 0.8% 81.5%
LOAD_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 7,894,840 0.8% 82.3%
POP_JUMP_IF_TRUE LOAD_GLOBAL_BUILTIN 7,894,800 0.8% 83.1%
STORE_FAST LOAD_GLOBAL_BUILTIN 7,894,800 0.8% 83.9%
CALL_ISINSTANCE TO_BOOL_BOOL 7,894,800 0.8% 84.7%
LOAD_GLOBAL_MODULE CALL_ISINSTANCE 7,894,800 0.8% 85.5%
POP_JUMP_IF_FALSE POP_TOP 7,729,560 0.8% 86.3%
COPY LOAD_ATTR_INSTANCE_VALUE 5,985,240 0.6% 86.9%
SWAP STORE_ATTR_INSTANCE_VALUE 5,985,240 0.6% 87.5%
LOAD_ATTR_INSTANCE_VALUE POP_JUMP_IF_NOT_NONE 5,579,520 0.6% 88.1%
LOAD_SMALL_INT BINARY_OP_ADD_INT 5,300,400 0.5% 88.6%
LOAD_FAST CALL_PY_EXACT_ARGS 5,115,280 0.5% 89.1%
LOAD_CONST_IMMORTAL STORE_FAST 5,105,040 0.5% 89.6%
POP_JUMP_IF_FALSE RETURN_VALUE 5,104,800 0.5% 90.1%
POP_JUMP_IF_FALSE LOAD_CONST_IMMORTAL 5,104,800 0.5% 90.7%
BINARY_OP_ADD_INT SWAP 4,184,400 0.4% 91.1%
LOAD_GLOBAL_MODULE COMPARE_OP_INT 4,111,680 0.4% 91.5%
LOAD_FAST POP_JUMP_IF_NONE 4,046,500 0.4% 91.9%
LOAD_GLOBAL_MODULE COPY 3,905,160 0.4% 92.3%
JUMP_FORWARD LOAD_FAST 3,069,300 0.3% 92.6%
POP_TOP JUMP_FORWARD 3,069,240 0.3% 92.9%
LOAD_ATTR_INSTANCE_VALUE COMPARE_OP_INT 2,970,960 0.3% 93.2%
POP_JUMP_IF_NOT_NONE LOAD_FAST_LOAD_FAST 2,886,600 0.3% 93.5%
POP_JUMP_IF_NONE LOAD_FAST 2,831,040 0.3% 93.8%
STORE_FAST LOAD_GLOBAL_MODULE 2,790,640 0.3% 94.1%
UNARY_NOT RETURN_VALUE 2,790,000 0.3% 94.4%
LOAD_ATTR_INSTANCE_VALUE TO_BOOL_BOOL 2,790,000 0.3% 94.7%
TO_BOOL_BOOL UNARY_NOT 2,790,000 0.3% 94.9%
RESUME_CHECK LOAD_GLOBAL_MODULE 2,713,620 0.3% 95.2%
LOAD_FAST BINARY_SUBSCR_LIST_INT 2,712,900 0.3% 95.5%
LOAD_SMALL_INT COMPARE_OP_INT 2,679,160 0.3% 95.8%
LOAD_ATTR_INSTANCE_VALUE RETURN_VALUE 2,568,300 0.3% 96.0%
CALL_PY_EXACT_ARGS ENTER_EXECUTOR 2,548,440 0.3% 96.3%
LOAD_SMALL_INT BINARY_OP 2,399,760 0.2% 96.5%
LOAD_FAST COPY 2,080,080 0.2% 96.7%
LOAD_ATTR_INSTANCE_VALUE LOAD_GLOBAL_MODULE 1,674,480 0.2% 96.9%
LOAD_GLOBAL_MODULE LOAD_ATTR_INSTANCE_VALUE 1,598,700 0.2% 97.1%
BINARY_SUBSCR_LIST_INT STORE_FAST 1,596,900 0.2% 97.2%
LOAD_SMALL_INT BINARY_OP_SUBTRACT_INT 1,500,720 0.2% 97.4%
STORE_ATTR_INSTANCE_VALUE LOAD_GLOBAL_MODULE 1,437,720 0.1% 97.5%
RETURN_VALUE LOAD_FAST 1,397,400 0.1% 97.7%
NOP LOAD_FAST 1,394,340 0.1% 97.8%
POP_JUMP_IF_FALSE NOP 1,394,280 0.1% 98.0%
POP_JUMP_IF_NONE LOAD_FAST_LOAD_FAST 1,215,240 0.1% 98.1%
STORE_FAST LOAD_CONST_IMMORTAL 1,200,060 0.1% 98.2%
BINARY_OP_SUBTRACT_INT SWAP 1,200,000 0.1% 98.3%
LOAD_GLOBAL_MODULE CALL_PY_EXACT_ARGS 1,200,000 0.1% 98.4%
BINARY_OP LOAD_SMALL_INT 1,199,880 0.1% 98.6%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_GLOBAL_MODULE 1,199,880 0.1% 98.7%
LOAD_FAST LOAD_SMALL_INT 1,116,360 0.1% 98.8%
BINARY_OP_ADD_INT LOAD_FAST 1,116,000 0.1% 98.9%
BINARY_SUBSCR_LIST_INT LOAD_FAST 1,116,000 0.1% 99.0%
POP_JUMP_IF_NOT_NONE LOAD_CONST_IMMORTAL 1,115,280 0.1% 99.1%

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

EXIT_INIT_CHECK

Successors and predecessors for EXIT_INIT_CHECK
Predecessors Count Percentage
RETURN_VALUE 3,120 100.0%
Successors Count Percentage
RETURN_VALUE 3,120 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 279,240 99.9%
CALL_BUILTIN_CLASS 120 0.0%
LOAD_FAST 60 0.0%
Successors Count Percentage
FOR_ITER_RANGE 279,300 100.0%
EXTENDED_ARG 120 0.0%

INTERPRETER_EXIT

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

MAKE_FUNCTION

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

NOP

Successors and predecessors for NOP
Predecessors Count Percentage
POP_JUMP_IF_FALSE 1,394,280 100.0%
POP_JUMP_IF_TRUE 60 0.0%
Successors Count Percentage
LOAD_FAST 1,394,340 100.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_VALUE 13,100,220 62.9%
POP_JUMP_IF_FALSE 7,729,560 37.1%
ENTER_EXECUTOR 9,280 0.0%
POP_JUMP_IF_TRUE 200 0.0%
CALL_NON_PY_GENERAL 180 0.0%
Successors Count Percentage
LOAD_FAST 17,768,340 85.3%
JUMP_FORWARD 3,069,240 14.7%
LOAD_CONST_IMMORTAL 1,020 0.0%
LOAD_GLOBAL_MODULE 720 0.0%
JUMP_BACKWARD 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_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
RETURN_VALUE 18,579,120 28.3%
ENTER_EXECUTOR 15,132,960 23.0%
LOAD_FAST 13,580,580 20.7%
LOAD_CONST_IMMORTAL 7,899,060 12.0%
POP_JUMP_IF_FALSE 5,104,800 7.8%
Successors Count Percentage
TO_BOOL_BOOL 20,690,520 31.5%
RETURN_VALUE 18,579,120 28.3%
POP_TOP 13,100,220 20.0%
STORE_FAST 11,885,340 18.1%
LOAD_FAST 1,397,400 2.1%

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%

UNARY_NOT

Successors and predecessors for UNARY_NOT
Predecessors Count Percentage
TO_BOOL_BOOL 2,790,000 100.0%
Successors Count Percentage
RETURN_VALUE 2,790,000 100.0%

BINARY_OP

Successors and predecessors for BINARY_OP
Predecessors Count Percentage
LOAD_SMALL_INT 2,399,760 80.0%
LOAD_CONST 599,040 20.0%
LOAD_GLOBAL_MODULE 960 0.0%
BINARY_OP 760 0.0%
LOAD_FAST 20 0.0%
Successors Count Percentage
LOAD_SMALL_INT 1,199,880 40.0%
SWAP 600,840 20.0%
LOAD_FAST 600,000 20.0%
LOAD_CONST 599,040 20.0%
BINARY_OP 760 0.0%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
LOAD_SMALL_INT 960 100.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 960 100.0%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST 60 50.0%
LOAD_FAST_LOAD_FAST 60 50.0%
Successors Count Percentage
LOAD_CONST 60 50.0%
CALL_METHOD_DESCRIPTOR_O 40 33.3%
CALL 20 16.7%

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
LOAD_ATTR_INSTANCE_VALUE 12,834,560 68.2%
LOAD_GLOBAL_MODULE 3,905,160 20.8%
LOAD_FAST 2,080,080 11.1%
Successors Count Percentage
TO_BOOL_BOOL 12,834,560 68.2%
LOAD_ATTR_INSTANCE_VALUE 5,985,240 31.8%

COPY_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 7,894,860 100.0%
CALL_ALLOC_AND_ENTER_INIT 720 0.0%
Successors Count Percentage
RESUME_CHECK 7,895,580 100.0%

EXTENDED_ARG

Successors and predecessors for EXTENDED_ARG
Predecessors Count Percentage
GET_ITER 120 33.3%
JUMP_BACKWARD 120 33.3%
POP_JUMP_IF_FALSE 120 33.3%
Successors Count Percentage
FOR_ITER_RANGE 240 66.7%
JUMP_BACKWARD 120 33.3%

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
STORE_FAST 40,800 99.0%
POP_TOP 180 0.4%
EXTENDED_ARG 120 0.3%
ENTER_EXECUTOR 100 0.2%
Successors Count Percentage
LOAD_FAST 40,900 99.3%
EXTENDED_ARG 120 0.3%
FOR_ITER_RANGE 120 0.3%
FOR_ITER 60 0.1%

JUMP_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
POP_TOP 3,069,240 95.6%
STORE_FAST 139,740 4.4%
Successors Count Percentage
LOAD_FAST 3,069,300 95.6%
LOAD_FAST_LOAD_FAST 139,680 4.4%

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
BINARY_OP 599,040 99.8%
LOAD_GLOBAL_MODULE 600 0.1%
LOAD_ATTR_INSTANCE_VALUE 240 0.0%
LOAD_SMALL_INT 120 0.0%
STORE_ATTR_INSTANCE_VALUE 120 0.0%
Successors Count Percentage
BINARY_OP 599,040 99.8%
LOAD_FAST 720 0.1%
COMPARE_OP_INT 240 0.0%
LOAD_GLOBAL_MODULE 120 0.0%
MAKE_FUNCTION 60 0.0%

LOAD_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
LOAD_GLOBAL_BUILTIN 7,895,520 100.0%
STORE_FAST 60 0.0%
Successors Count Percentage
LOAD_FAST 7,895,520 100.0%
STORE_FAST 60 0.0%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
STORE_ATTR_INSTANCE_VALUE 30,485,280 14.3%
RESUME_CHECK 29,982,660 14.1%
POP_JUMP_IF_FALSE 24,510,520 11.5%
STORE_FAST 21,859,140 10.3%
LOAD_CONST_IMMORTAL 21,570,600 10.1%
Successors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 65,355,500 30.7%
LOAD_ATTR_METHOD_WITH_VALUES 42,811,080 20.1%
STORE_ATTR_INSTANCE_VALUE 33,098,760 15.6%
POP_JUMP_IF_NOT_NONE 15,094,200 7.1%
RETURN_VALUE 13,580,580 6.4%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
LOAD_ATTR_METHOD_WITH_VALUES 10,684,380 34.3%
RESUME_CHECK 7,895,760 25.4%
LOAD_SUPER_ATTR_METHOD 7,895,400 25.4%
POP_JUMP_IF_NOT_NONE 2,886,600 9.3%
POP_JUMP_IF_NONE 1,215,240 3.9%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 12,560,880 40.3%
CALL_PY_EXACT_ARGS 10,684,520 34.3%
LOAD_ATTR_INSTANCE_VALUE 7,894,840 25.4%
LOAD_FAST 600 0.0%
LOAD_FAST_LOAD_FAST 600 0.0%

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_ATTR_INSTANCE_VALUE 9,263,400 75.9%
BINARY_OP 1,199,880 9.8%
LOAD_FAST 1,116,360 9.1%
BINARY_OP_ADD_INT 300,720 2.5%
STORE_ATTR_INSTANCE_VALUE 281,400 2.3%
Successors Count Percentage
BINARY_OP_ADD_INT 5,300,400 43.4%
COMPARE_OP_INT 2,679,160 22.0%
BINARY_OP 2,399,760 19.7%
BINARY_OP_SUBTRACT_INT 1,500,720 12.3%
LOAD_FAST 323,280 2.6%

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_BOOL 42,535,420 81.3%
COMPARE_OP_INT 9,762,060 18.7%
TO_BOOL 60 0.0%
Successors Count Percentage
LOAD_FAST 24,510,520 46.9%
LOAD_GLOBAL_MODULE 8,432,040 16.1%
POP_TOP 7,729,560 14.8%
RETURN_VALUE 5,104,800 9.8%
LOAD_CONST_IMMORTAL 5,104,800 9.8%

POP_JUMP_IF_NONE

Successors and predecessors for POP_JUMP_IF_NONE
Predecessors Count Percentage
LOAD_FAST 4,046,500 100.0%
Successors Count Percentage
LOAD_FAST 2,831,040 70.0%
LOAD_FAST_LOAD_FAST 1,215,240 30.0%
LOAD_GLOBAL_MODULE 220 0.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 15,094,200 73.0%
LOAD_ATTR_INSTANCE_VALUE 5,579,520 27.0%
Successors Count Percentage
LOAD_FAST 16,671,780 80.6%
LOAD_FAST_LOAD_FAST 2,886,600 14.0%
LOAD_CONST_IMMORTAL 1,115,280 5.4%
LOAD_CONST 60 0.0%

POP_JUMP_IF_TRUE

Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors Count Percentage
TO_BOOL_BOOL 7,895,060 100.0%
Successors Count Percentage
LOAD_GLOBAL_BUILTIN 7,894,800 100.0%
POP_TOP 200 0.0%
NOP 60 0.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
LOAD_ATTR_INSTANCE_VALUE 18,563,280 39.6%
RETURN_VALUE 11,885,340 25.4%
LOAD_FAST 9,150,840 19.5%
LOAD_CONST_IMMORTAL 5,105,040 10.9%
BINARY_SUBSCR_LIST_INT 1,596,900 3.4%
Successors Count Percentage
LOAD_FAST 21,859,140 46.6%
ENTER_EXECUTOR 12,795,720 27.3%
LOAD_GLOBAL_BUILTIN 7,894,800 16.8%
LOAD_GLOBAL_MODULE 2,790,640 6.0%
LOAD_CONST_IMMORTAL 1,200,060 2.6%

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
BINARY_OP_ADD_INT 4,184,400 69.9%
BINARY_OP_SUBTRACT_INT 1,200,000 20.0%
BINARY_OP 600,840 10.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 5,985,240 100.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%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_SMALL_INT 5,300,400 94.6%
LOAD_ATTR_INSTANCE_VALUE 300,720 5.4%
Successors Count Percentage
SWAP 4,184,400 74.7%
LOAD_FAST 1,116,000 19.9%
LOAD_SMALL_INT 300,720 5.4%

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_SMALL_INT 1,500,720 100.0%
Successors Count Percentage
SWAP 1,200,000 80.0%
LOAD_FAST 300,720 20.0%

BINARY_SUBSCR_LIST_INT

Successors and predecessors for BINARY_SUBSCR_LIST_INT
Predecessors Count Percentage
LOAD_FAST 2,712,900 100.0%
Successors Count Percentage
STORE_FAST 1,596,900 58.9%
LOAD_FAST 1,116,000 41.1%

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_GLOBAL_MODULE 2,400 76.9%
RETURN_VALUE 720 23.1%
Successors Count Percentage
RESUME_CHECK 2,400 76.9%
COPY_FREE_VARS 720 23.1%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
LOAD_FAST 160 88.9%
CALL 20 11.1%
Successors Count Percentage
GET_ITER 120 66.7%
STORE_FAST 60 33.3%

CALL_ISINSTANCE

Successors and predecessors for CALL_ISINSTANCE
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 7,894,800 100.0%
Successors Count Percentage
TO_BOOL_BOOL 7,894,800 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 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
LOAD_ATTR_METHOD_WITH_VALUES 22,551,840 44.2%
LOAD_ATTR_INSTANCE_VALUE 11,383,400 22.3%
LOAD_FAST_LOAD_FAST 10,684,520 20.9%
LOAD_FAST 5,115,280 10.0%
LOAD_GLOBAL_MODULE 1,200,000 2.4%
Successors Count Percentage
RESUME_CHECK 40,491,860 79.3%
COPY_FREE_VARS 7,894,860 15.5%
ENTER_EXECUTOR 2,548,440 5.0%
CALL_PY_EXACT_ARGS 99,120 0.2%

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_GLOBAL_MODULE 4,111,680 42.1%
LOAD_ATTR_INSTANCE_VALUE 2,970,960 30.4%
LOAD_SMALL_INT 2,679,160 27.4%
LOAD_CONST 240 0.0%
COMPARE_OP 20 0.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 9,762,060 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
GET_ITER 279,300 99.9%
EXTENDED_ARG 240 0.1%
JUMP_BACKWARD 120 0.0%
Successors Count Percentage
STORE_FAST 279,480 99.9%
LOAD_CONST_IMMORTAL 120 0.0%
LOAD_FAST 60 0.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 65,355,500 80.3%
LOAD_FAST_LOAD_FAST 7,894,840 9.7%
COPY 5,985,240 7.4%
LOAD_GLOBAL_MODULE 1,598,700 2.0%
LOAD_ATTR_INSTANCE_VALUE 479,620 0.6%
Successors Count Percentage
STORE_FAST 18,563,280 22.8%
LOAD_FAST 12,960,540 15.9%
COPY 12,834,560 15.8%
CALL_PY_EXACT_ARGS 11,383,400 14.0%
LOAD_SMALL_INT 9,263,400 11.4%

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 42,811,080 98.7%
LOAD_ATTR_METHOD_WITH_VALUES 350,380 0.8%
ENTER_EXECUTOR 227,560 0.5%
RETURN_VALUE 720 0.0%
LOAD_ATTR 40 0.0%
Successors Count Percentage
CALL_PY_EXACT_ARGS 22,551,840 52.0%
LOAD_FAST_LOAD_FAST 10,684,380 24.6%
LOAD_FAST 8,603,300 19.8%
LOAD_GLOBAL_MODULE 1,199,880 2.8%
LOAD_ATTR_METHOD_WITH_VALUES 350,380 0.8%

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
STORE_ATTR_INSTANCE_VALUE 19,157,280 55.4%
RESUME_CHECK 7,995,360 23.1%
POP_JUMP_IF_FALSE 5,104,800 14.8%
STORE_FAST 1,200,060 3.5%
POP_JUMP_IF_NOT_NONE 1,115,280 3.2%
Successors Count Percentage
LOAD_FAST 21,570,600 62.4%
RETURN_VALUE 7,899,060 22.8%
STORE_FAST 5,105,040 14.8%
LOAD_GLOBAL_MODULE 240 0.0%
LOAD_FAST_LOAD_FAST 120 0.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
POP_JUMP_IF_TRUE 7,894,800 50.0%
STORE_FAST 7,894,800 50.0%
RESUME_CHECK 840 0.0%
POP_JUMP_IF_FALSE 40 0.0%
LOAD_GLOBAL 20 0.0%
Successors Count Percentage
LOAD_DEREF 7,895,520 50.0%
LOAD_FAST 7,894,980 50.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
LOAD_FAST 10,334,520 36.2%
POP_JUMP_IF_FALSE 8,432,040 29.5%
STORE_FAST 2,790,640 9.8%
RESUME_CHECK 2,713,620 9.5%
LOAD_ATTR_INSTANCE_VALUE 1,674,480 5.9%
Successors Count Percentage
TO_BOOL_BOOL 9,010,540 31.5%
CALL_ISINSTANCE 7,894,800 27.6%
COMPARE_OP_INT 4,111,680 14.4%
COPY 3,905,160 13.7%
LOAD_ATTR_INSTANCE_VALUE 1,598,700 5.6%

LOAD_SUPER_ATTR_METHOD

Successors and predecessors for LOAD_SUPER_ATTR_METHOD
Predecessors Count Percentage
LOAD_FAST 7,895,520 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 7,895,400 100.0%
LOAD_FAST 120 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 40,491,860 83.3%
COPY_FREE_VARS 7,895,580 16.2%
ENTER_EXECUTOR 198,340 0.4%
CALL_ALLOC_AND_ENTER_INIT 2,400 0.0%
CACHE 180 0.0%
Successors Count Percentage
LOAD_FAST 29,982,660 61.7%
LOAD_CONST_IMMORTAL 7,995,360 16.5%
LOAD_FAST_LOAD_FAST 7,895,760 16.3%
LOAD_GLOBAL_MODULE 2,713,620 5.6%
LOAD_GLOBAL_BUILTIN 840 0.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 33,098,760 63.8%
LOAD_FAST_LOAD_FAST 12,560,880 24.2%
SWAP 5,985,240 11.5%
STORE_ATTR_INSTANCE_VALUE 221,520 0.4%
LOAD_GLOBAL_MODULE 960 0.0%
Successors Count Percentage
LOAD_FAST 30,485,280 58.8%
LOAD_CONST_IMMORTAL 19,157,280 36.9%
LOAD_GLOBAL_MODULE 1,437,720 2.8%
LOAD_FAST_LOAD_FAST 284,040 0.5%
LOAD_SMALL_INT 281,400 0.5%

STORE_SUBSCR_LIST_INT

Successors and predecessors for STORE_SUBSCR_LIST_INT
Predecessors Count Percentage
LOAD_FAST 301,440 100.0%
Successors Count Percentage
ENTER_EXECUTOR 300,720 99.8%
LOAD_CONST_IMMORTAL 720 0.2%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
RETURN_VALUE 20,690,520 38.9%
COPY 12,834,560 24.1%
LOAD_GLOBAL_MODULE 9,010,540 16.9%
CALL_ISINSTANCE 7,894,800 14.8%
LOAD_ATTR_INSTANCE_VALUE 2,790,000 5.2%
Successors Count Percentage
POP_JUMP_IF_FALSE 42,535,420 79.9%
POP_JUMP_IF_TRUE 7,895,060 14.8%
UNARY_NOT 2,790,000 5.2%

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
STORE_FAST 12,795,720 81.8%
CALL_PY_EXACT_ARGS 2,548,440 16.3%
STORE_SUBSCR_LIST_INT 300,720 1.9%
ENTER_EXECUTOR 280 0.0%
LOAD_FAST 220 0.0%
Successors Count Percentage
RETURN_VALUE 15,132,960 96.7%
LOAD_ATTR_METHOD_WITH_VALUES 227,560 1.5%
RESUME_CHECK 198,340 1.3%
LOAD_ATTR_INSTANCE_VALUE 55,260 0.4%
LOAD_SMALL_INT 21,480 0.1%

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.

2,999,760 29.7%
hit

Specialized instructions that complete.

7,101,900 70.3%
Success Count Ratio
Success 20 2.6%
Failure 760 97.4%
Failure kind Count Ratio
and int 300 39.5%
floor divide 280 36.8%
xor 140 18.4%
multiply different types 40 5.3%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

2,712,960 100.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.

53,679,140 91.1%
miss

Specialized instructions that deopt.

5,253,360 8.9%
Success Count Ratio
Success 99,380 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

9,762,060 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.

279,660 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.

80,767,820 64.7%
miss

Specialized instructions that deopt.

43,991,480 35.3%
Success Count Ratio
Success 830,200 100.0%
Failure 20 0.0%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

44,378,380 100.0%
Success Count Ratio
Success 100 100.0%
Failure 0 0.0%

LOAD_SUPER_ATTR

specialization stats for LOAD_SUPER_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

7,895,520 100.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

40,120,560 77.4%
miss

Specialized instructions that deopt.

11,746,800 22.6%
Success Count Ratio
Success 443,040 100.0%
Failure 0 0.0%

STORE_SUBSCR

specialization stats for STORE_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

301,440 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.

53,220,480 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.

538,873,900 54.6%
Not specialized

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

3,001,400 0.3%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

383,383,860 38.9%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

60,992,140 6.2%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_OP 2,999,760 100.0%
TO_BOOL 60 0.0%
FOR_ITER 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%
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_INSTANCE_VALUE 25,420,760 41.7%
LOAD_ATTR_METHOD_WITH_VALUES 18,570,720 30.4%
STORE_ATTR_INSTANCE_VALUE 11,746,800 19.3%
CALL_PY_EXACT_ARGS 5,253,360 8.6%
RESUME 500 0.0%
RESUME_CHECK 500 0.0%
CACHE 0 0.0%
EXIT_INIT_CHECK 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 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 180 0.0%
Calls to Python functions inlined 65,654,700 100.0%
Calls via PyEval_EvalFrame (total) 180 0.0%
Calls via PyEval_EvalFrame (vector) 180 0.0%
Calls via PyEval_EvalFrame (generator) 0 0.0%
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 65,658,000 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 6,801,840 96.0%
Frees to freelist 6,801,520
Allocations 285,840 4.0%
Allocations to 512 bytes 285,720 4.0%
Allocations to 4 kbytes 120 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 281,447
Inline values 3,120
Interpreter mortal increfs 581,838,200 65.8%
Interpreter mortal decrefs 626,866,940 71.0%
Mortal increfs 69,698,104 7.9%
Mortal decrefs 31,746,532 3.6%
Interpreter immortal increfs 148,934,680 16.9%
Interpreter immortal decrefs 161,328,360 18.3%
Immortal increfs 83,269,864 9.4%
Immortal decrefs 63,383,096 7.2%
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 61,503,076
Method cache misses 735,384
Method cache collisions 735,373
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.

3,820
Traces created

The number of traces that were successfully created.

140 3.7%
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.

3,720 97.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.

3,680 96.3%
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

75,693,580
Uops executed

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

849,948,800 1,122.9%
Count Ratio
Optimizer attempts

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

140
Optimizer successes

The number of traces that were successfully optimized.

140 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 14.3%
<= 16 20 14.3%
<= 32 100 71.4%

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 1 0 0.0%
<= 2 0 0.0%
<= 4 0 0.0%
<= 8 20 14.3%
<= 16 20 14.3%
<= 32 100 71.4%

Trace run length histogram

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

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_GUARD_TYPE_VERSION 76,972,240 9.1% 9.1% 53.1%
_MAKE_WARM 76,509,820 9.0% 18.1%
_START_EXECUTOR 75,693,580 8.9% 27.0%
_EXIT_TRACE 60,976,940 7.2% 34.1%
_LOAD_FAST_0 59,848,840 7.0% 41.2%
_SET_IP 37,491,780 4.4% 45.6%
_TO_BOOL_BOOL 37,049,080 4.4% 49.9%
_CHECK_MANAGED_OBJECT_HAS_VALUES 32,998,980 3.9% 53.8%
_LOAD_ATTR_INSTANCE_VALUE_0 32,998,980 3.9% 57.7%
_COPY 25,760,020 3.0% 60.7%
_CHECK_VALIDITY 22,775,420 2.7% 63.4%
_GUARD_IS_FALSE_POP 20,103,580 2.4% 65.8% 18.0%
_POP_TOP 19,583,760 2.3% 68.1%
_TIER2_RESUME_CHECK 17,066,740 2.0% 70.1% 0.0%
_CHECK_FUNCTION 16,004,240 1.9% 72.0%
_GUARD_IS_NOT_NONE_POP 15,188,120 1.8% 73.8% 0.0%
_CHECK_FUNCTION_EXACT_ARGS 14,716,360 1.7% 75.5%
_CHECK_FUNCTION_VERSION 14,716,360 1.7% 77.2%
_CHECK_STACK_SPACE 14,716,360 1.7% 79.0%
_DYNAMIC_EXIT 14,716,360 1.7% 80.7%
_PUSH_FRAME 14,716,360 1.7% 82.4%
_SAVE_RETURN_OFFSET 14,716,360 1.7% 84.2%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 14,686,740 1.7% 85.9%
_GUARD_KEYS_VERSION 14,686,740 1.7% 87.6%
_LOAD_ATTR_METHOD_WITH_VALUES 14,686,740 1.7% 89.3%
_CHECK_PERIODIC 13,912,580 1.6% 91.0%
_INIT_CALL_PY_EXACT_ARGS_0 12,731,760 1.5% 92.5%
_UNARY_NOT 12,126,780 1.4% 93.9%
_LOAD_ATTR 6,499,960 0.8% 94.7%
_GUARD_IS_TRUE_POP 5,656,440 0.7% 95.3% 24.7%
_LOAD_FAST_1 5,193,340 0.6% 95.9%
_LOAD_FAST_2 4,785,000 0.6% 96.5%
_LOAD_FAST_3 2,491,680 0.3% 96.8%
_BINARY_SUBSCR_LIST_INT 2,392,500 0.3% 97.1%
_LOAD_CONST_INLINE 2,392,500 0.3% 97.4%
_STORE_FAST_2 2,392,500 0.3% 97.6%
_INIT_CALL_PY_EXACT_ARGS_1 1,984,600 0.2% 97.9%
_GUARD_NOS_INT 1,675,440 0.2% 98.1%
_BINARY_OP_ADD_INT 1,653,960 0.2% 98.3%
_LOAD_SMALL_INT_1 1,653,960 0.2% 98.5%
_GUARD_NOT_EXHAUSTED_RANGE 1,116,960 0.1% 98.6% 25.0%
_ITER_CHECK_RANGE 1,116,960 0.1% 98.7%
_SWAP 837,720 0.1% 98.8%
_COMPARE_OP_INT 837,720 0.1% 98.9%
_GUARD_DORV_NO_DICT 837,720 0.1% 99.0%
_ITER_NEXT_RANGE 837,720 0.1% 99.1%
_LOAD_SMALL_INT 837,720 0.1% 99.2%
_STORE_ATTR_INSTANCE_VALUE 837,720 0.1% 99.3%
_STORE_FAST_5 837,720 0.1% 99.4%
_STORE_SUBSCR_LIST_INT 816,240 0.1% 99.5%
_BINARY_OP_SUBTRACT_INT 816,240 0.1% 99.6%
_GUARD_TOS_INT 816,240 0.1% 99.7%
_JUMP_TO_TOP 816,240 0.1% 99.8%
_LOAD_CONST_INLINE_BORROW 816,240 0.1% 99.9%
_LOAD_FAST_5 816,240 0.1% 100.0%
_CHECK_VALIDITY_AND_SET_IP 29,620 0.0% 100.0%
_DEOPT 280 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 75,693,580 8.9% 8.9%
_GUARD_TYPE_VERSION _EXIT_TRACE 40,858,120 4.8% 13.7%
_MAKE_WARM _GUARD_TYPE_VERSION 35,834,560 4.2% 17.9%
_LOAD_FAST_0 _GUARD_TYPE_VERSION 35,376,580 4.2% 22.1%
_CHECK_MANAGED_OBJECT_HAS_VALUES _LOAD_ATTR_INSTANCE_VALUE_0 32,998,980 3.9% 26.0%
_COPY _TO_BOOL_BOOL 24,922,300 2.9% 28.9%
_GUARD_TYPE_VERSION _CHECK_MANAGED_OBJECT_HAS_VALUES 21,427,380 2.5% 31.4%
_MAKE_WARM _SET_IP 20,412,540 2.4% 33.8%
_POP_TOP _LOAD_FAST_0 19,583,760 2.3% 36.1%
_TO_BOOL_BOOL _GUARD_IS_FALSE_POP 19,265,860 2.3% 38.4%
_MAKE_WARM _TIER2_RESUME_CHECK 17,066,740 2.0% 40.4%
_CHECK_FUNCTION_EXACT_ARGS _CHECK_STACK_SPACE 14,716,360 1.7% 42.1%
_CHECK_FUNCTION_VERSION _CHECK_FUNCTION_EXACT_ARGS 14,716,360 1.7% 43.9%
_PUSH_FRAME _DYNAMIC_EXIT 14,716,360 1.7% 45.6%
_SAVE_RETURN_OFFSET _PUSH_FRAME 14,716,360 1.7% 47.3%
_SET_IP _CHECK_FUNCTION_VERSION 14,686,740 1.7% 49.1%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT _GUARD_KEYS_VERSION 14,686,740 1.7% 50.8%
_GUARD_KEYS_VERSION _LOAD_ATTR_METHOD_WITH_VALUES 14,686,740 1.7% 52.5%
_GUARD_TYPE_VERSION _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 14,686,740 1.7% 54.2%
_TIER2_RESUME_CHECK _LOAD_FAST_0 14,673,960 1.7% 56.0%
_SET_IP _CHECK_PERIODIC 13,912,580 1.6% 57.6%
_CHECK_PERIODIC _CHECK_VALIDITY 13,912,580 1.6% 59.2%
_CHECK_VALIDITY _LOAD_FAST_0 12,795,620 1.5% 60.8%
_LOAD_FAST_0 _GUARD_IS_NOT_NONE_POP 12,795,620 1.5% 62.3%
_LOAD_ATTR_INSTANCE_VALUE_0 _COPY 12,795,520 1.5% 63.8%
_CHECK_FUNCTION _LOAD_FAST_0 12,795,500 1.5% 65.3%
_GUARD_IS_NOT_NONE_POP _CHECK_FUNCTION 12,795,500 1.5% 66.8%
_CHECK_STACK_SPACE _INIT_CALL_PY_EXACT_ARGS_0 12,731,760 1.5% 68.3%
_INIT_CALL_PY_EXACT_ARGS_0 _SAVE_RETURN_OFFSET 12,731,760 1.5% 69.8%
_LOAD_ATTR_METHOD_WITH_VALUES _SET_IP 12,702,140 1.5% 71.3%
_UNARY_NOT _COPY 12,126,780 1.4% 72.7%
_TO_BOOL_BOOL _UNARY_NOT 12,126,780 1.4% 74.1%
_GUARD_IS_FALSE_POP _POP_TOP 12,126,580 1.4% 75.5%
_LOAD_FAST_0 _CHECK_MANAGED_OBJECT_HAS_VALUES 9,917,640 1.2% 76.7%
_GUARD_IS_FALSE_POP _EXIT_TRACE 7,160,760 0.8% 77.6%
_LOAD_ATTR_INSTANCE_VALUE_0 _EXIT_TRACE 7,131,960 0.8% 78.4%
_SET_IP _LOAD_ATTR 6,499,960 0.8% 79.2%
_CHECK_VALIDITY _TO_BOOL_BOOL 6,470,340 0.8% 79.9%
_LOAD_ATTR _CHECK_VALIDITY 6,470,340 0.8% 80.7%
_TO_BOOL_BOOL _GUARD_IS_TRUE_POP 5,656,440 0.7% 81.3%
_LOAD_ATTR_INSTANCE_VALUE_0 _TO_BOOL_BOOL 5,656,440 0.7% 82.0%
_GUARD_IS_TRUE_POP _POP_TOP 4,261,200 0.5% 82.5%
_MAKE_WARM _POP_TOP 3,195,980 0.4% 82.9%
_LOAD_FAST_1 _SET_IP 2,662,460 0.3% 83.2%
_LOAD_FAST_1 _GUARD_TYPE_VERSION 2,530,880 0.3% 83.5%
_BINARY_SUBSCR_LIST_INT _CHECK_VALIDITY 2,392,500 0.3% 83.8%
_SET_IP _BINARY_SUBSCR_LIST_INT 2,392,500 0.3% 84.1%
_CHECK_FUNCTION _LOAD_CONST_INLINE 2,392,500 0.3% 84.3%
_CHECK_VALIDITY _STORE_FAST_2 2,392,500 0.3% 84.6%
_GUARD_IS_NOT_NONE_POP _LOAD_FAST_2 2,392,500 0.3% 84.9%
_LOAD_ATTR_INSTANCE_VALUE_0 _LOAD_FAST_1 2,392,500 0.3% 85.2%
_LOAD_CONST_INLINE _GUARD_TYPE_VERSION 2,392,500 0.3% 85.5%
_LOAD_FAST_2 _EXIT_TRACE 2,392,500 0.3% 85.7%
_LOAD_FAST_2 _GUARD_IS_NOT_NONE_POP 2,392,500 0.3% 86.0%
_STORE_FAST_2 _LOAD_FAST_2 2,392,500 0.3% 86.3%
_TIER2_RESUME_CHECK _CHECK_FUNCTION 2,392,500 0.3% 86.6%
_CHECK_STACK_SPACE _INIT_CALL_PY_EXACT_ARGS_1 1,984,600 0.2% 86.8%
_INIT_CALL_PY_EXACT_ARGS_1 _SAVE_RETURN_OFFSET 1,984,600 0.2% 87.1%
_LOAD_ATTR_METHOD_WITH_VALUES _LOAD_FAST_1 1,984,600 0.2% 87.3%
_LOAD_FAST_0 _EXIT_TRACE 1,759,000 0.2% 87.5%
_LOAD_ATTR_INSTANCE_VALUE_0 _SET_IP 1,714,640 0.2% 87.7%
_LOAD_FAST_3 _CHECK_MANAGED_OBJECT_HAS_VALUES 1,653,960 0.2% 87.9%
_GUARD_IS_TRUE_POP _EXIT_TRACE 1,395,240 0.2% 88.1%
_CHECK_VALIDITY _ITER_CHECK_RANGE 1,116,960 0.1% 88.2%
_ITER_CHECK_RANGE _GUARD_NOT_EXHAUSTED_RANGE 1,116,960 0.1% 88.3%
_COPY _GUARD_TYPE_VERSION 837,720 0.1% 88.4%
_SWAP _GUARD_DORV_NO_DICT 837,720 0.1% 88.5%
_BINARY_OP_ADD_INT _SWAP 837,720 0.1% 88.6%
_COMPARE_OP_INT _GUARD_IS_FALSE_POP 837,720 0.1% 88.7%
_GUARD_DORV_NO_DICT _STORE_ATTR_INSTANCE_VALUE 837,720 0.1% 88.8%
_GUARD_NOS_INT _BINARY_OP_ADD_INT 837,720 0.1% 88.9%
_GUARD_NOS_INT _COMPARE_OP_INT 837,720 0.1% 89.0%
_GUARD_NOT_EXHAUSTED_RANGE _ITER_NEXT_RANGE 837,720 0.1% 89.1%
_ITER_NEXT_RANGE _STORE_FAST_5 837,720 0.1% 89.2%
_LOAD_ATTR_INSTANCE_VALUE_0 _LOAD_SMALL_INT 837,720 0.1% 89.3%
_LOAD_ATTR_INSTANCE_VALUE_0 _LOAD_SMALL_INT_1 837,720 0.1% 89.4%
_LOAD_FAST_3 _COPY 837,720 0.1% 89.5%
_LOAD_SMALL_INT _GUARD_NOS_INT 837,720 0.1% 89.6%
_LOAD_SMALL_INT_1 _GUARD_NOS_INT 837,720 0.1% 89.7%
_STORE_ATTR_INSTANCE_VALUE _LOAD_FAST_3 837,720 0.1% 89.8%
_STORE_FAST_5 _LOAD_FAST_3 837,720 0.1% 89.9%
_STORE_SUBSCR_LIST_INT _JUMP_TO_TOP 816,240 0.1% 90.0%
_BINARY_OP_ADD_INT _LOAD_SMALL_INT_1 816,240 0.1% 90.1%
_BINARY_OP_SUBTRACT_INT _LOAD_FAST_1 816,240 0.1% 90.2%
_CHECK_FUNCTION _LOAD_CONST_INLINE_BORROW 816,240 0.1% 90.3%
_GUARD_IS_FALSE_POP _CHECK_FUNCTION 816,240 0.1% 90.4%
_GUARD_TOS_INT _BINARY_OP_ADD_INT 816,240 0.1% 90.5%
_JUMP_TO_TOP _MAKE_WARM 816,240 0.1% 90.6%
_LOAD_ATTR_INSTANCE_VALUE_0 _GUARD_TOS_INT 816,240 0.1% 90.7%
_LOAD_ATTR_INSTANCE_VALUE_0 _LOAD_FAST_5 816,240 0.1% 90.8%
_LOAD_CONST_INLINE_BORROW _LOAD_FAST_3 816,240 0.1% 90.9%
_LOAD_FAST_5 _STORE_SUBSCR_LIST_INT 816,240 0.1% 91.0%
_LOAD_SMALL_INT_1 _BINARY_OP_SUBTRACT_INT 816,240 0.1% 91.1%
_GUARD_NOT_EXHAUSTED_RANGE _EXIT_TRACE 279,240 0.0% 91.1%
_CHECK_VALIDITY_AND_SET_IP _CHECK_FUNCTION_VERSION 29,620 0.0% 91.1%
_LOAD_ATTR _CHECK_VALIDITY_AND_SET_IP 29,620 0.0% 91.1%
_TIER2_RESUME_CHECK _DEOPT 280 0.0% 91.1%
_GUARD_IS_NOT_NONE_POP _EXIT_TRACE 120 0.0% 91.1%

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