Skip to content

Latest commit

 

History

History
7561 lines (6863 loc) · 135 KB

bm-20250111-vultr-x86_64-python-22a442181d5f1ac496da-3.14.0a3+-22a4421-pystats-generators.md

File metadata and controls

7561 lines (6863 loc) · 135 KB

Pystats results

  • benchmark: generators
  • fork: python
  • ref: 22a442181d5f1ac496dac08e24fd852de404882f
  • commit hash: 22a4421
  • commit date: 2025-01-11T19:27:47+00: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
YIELD_VALUE 376,548,780 41.7% 41.7%
LOAD_FAST 57,740,600 6.4% 48.1%
RETURN_VALUE 48,003,540 5.3% 53.4%
STORE_FAST 42,002,880 4.7% 58.1%
LOAD_CONST_IMMORTAL 32,278,320 3.6% 61.7%
LOAD_FAST_LOAD_FAST 30,003,300 3.3% 65.0%
ENTER_EXECUTOR 24,013,620 2.7% 67.7%
POP_TOP 24,003,340 2.7% 70.3%
LOAD_SMALL_INT 24,002,700 2.7% 73.0%
INTERPRETER_EXIT 24,001,260 2.7% 75.6%
RETURN_GENERATOR 24,000,600 2.7% 78.3%
END_SEND 24,000,300 2.7% 81.0%
RESUME_CHECK 18,014,720 2.0% 83.0% 0.1%
LOAD_GLOBAL_MODULE 18,002,220 2.0% 85.0%
STORE_ATTR_INSTANCE_VALUE 18,001,800 2.0% 86.9%
LOAD_ATTR_INSTANCE_VALUE 15,734,960 1.7% 88.7%
POP_JUMP_IF_FALSE 12,005,500 1.3% 90.0%
LOAD_GLOBAL_BUILTIN 12,001,680 1.3% 91.4%
CALL_PY_EXACT_ARGS 12,001,560 1.3% 92.7%
CALL_LEN 12,001,320 1.3% 94.0%
COMPARE_OP_INT 12,001,320 1.3% 95.3%
BINARY_SLICE 12,001,200 1.3% 96.7%
BINARY_SUBSCR 6,002,080 0.7% 97.3%
BINARY_OP 6,002,080 0.7% 98.0%
EXIT_INIT_CHECK 6,000,600 0.7% 98.7%
BINARY_OP_ADD_INT 6,000,600 0.7% 99.3%
CALL_ALLOC_AND_ENTER_INIT 6,000,600 0.7% 100.0%
SEND_GEN 9,640 0.0% 100.0%
JUMP_BACKWARD_NO_INTERRUPT 8,260 0.0% 100.0%
TO_BOOL_NONE 2,740 0.0% 100.0% 16.8%
TO_BOOL_ALWAYS_TRUE 1,380 0.0% 100.0% 33.3%
GET_YIELD_FROM_ITER 1,380 0.0% 100.0%
JUMP_BACKWARD 640 0.0% 100.0%
FOR_ITER_GEN 580 0.0% 100.0%
PUSH_NULL 420 0.0% 100.0%
CALL 400 0.0% 100.0%
POP_ITER 360 0.0% 100.0%
CALL_BUILTIN_CLASS 360 0.0% 100.0%
GET_ITER 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%
LOAD_GLOBAL 260 0.0% 100.0%
END_FOR 240 0.0% 100.0%
LOAD_ATTR_MODULE 240 0.0% 100.0%
LOAD_CONST 180 0.0% 100.0%
BUILD_TUPLE 120 0.0% 100.0%
CALL_FUNCTION_EX 120 0.0% 100.0%
LOAD_DEREF 120 0.0% 100.0%
POP_JUMP_IF_TRUE 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%
COMPARE_OP 80 0.0% 100.0%
MAKE_FUNCTION 60 0.0% 100.0%
NOP 60 0.0% 100.0%
BUILD_LIST 60 0.0% 100.0%
CALL_INTRINSIC_1 60 0.0% 100.0%
COPY_FREE_VARS 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%
MAKE_CELL 60 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 60 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
STORE_DEREF 60 0.0% 100.0%
STORE_FAST_STORE_FAST 60 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT 60 0.0% 100.0%
BINARY_SUBSCR_TUPLE_INT 60 0.0% 100.0%
CALL_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%
UNPACK_SEQUENCE_TWO_TUPLE 60 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 YIELD_VALUE 352,548,180 39.1% 39.1%
CACHE RETURN_GENERATOR 24,000,600 2.7% 41.7%
RETURN_GENERATOR INTERPRETER_EXIT 24,000,600 2.7% 44.4%
END_SEND POP_TOP 24,000,300 2.7% 47.0%
RETURN_VALUE END_SEND 24,000,300 2.7% 49.7%
STORE_FAST ENTER_EXECUTOR 24,000,000 2.7% 52.4%
YIELD_VALUE STORE_FAST 24,000,000 2.7% 55.0%
LOAD_CONST_IMMORTAL RETURN_VALUE 20,275,320 2.2% 57.3%
LOAD_FAST LOAD_SMALL_INT 18,001,980 2.0% 59.3%
LOAD_FAST_LOAD_FAST STORE_ATTR_INSTANCE_VALUE 18,001,800 2.0% 61.3%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 15,734,860 1.7% 63.0%
POP_TOP LOAD_FAST 15,731,560 1.7% 64.7%
LOAD_ATTR_INSTANCE_VALUE YIELD_VALUE 15,729,220 1.7% 66.5%
ENTER_EXECUTOR RETURN_VALUE 15,726,780 1.7% 68.2%
STORE_FAST LOAD_FAST 12,001,860 1.3% 69.6%
CALL_PY_EXACT_ARGS RESUME_CHECK 12,001,500 1.3% 70.9%
LOAD_GLOBAL_BUILTIN LOAD_FAST 12,001,380 1.3% 72.2%
RESUME_CHECK LOAD_GLOBAL_BUILTIN 12,001,360 1.3% 73.6%
LOAD_FAST CALL_LEN 12,001,320 1.3% 74.9%
LOAD_SMALL_INT COMPARE_OP_INT 12,001,320 1.3% 76.2%
CALL_LEN STORE_FAST 12,001,320 1.3% 77.5%
COMPARE_OP_INT POP_JUMP_IF_FALSE 12,001,320 1.3% 78.9%
BINARY_SLICE CALL_PY_EXACT_ARGS 12,001,200 1.3% 80.2%
STORE_ATTR_INSTANCE_VALUE LOAD_FAST_LOAD_FAST 12,001,200 1.3% 81.5%
POP_TOP LOAD_CONST_IMMORTAL 8,271,720 0.9% 82.5%
ENTER_EXECUTOR YIELD_VALUE 8,271,380 0.9% 83.4%
POP_JUMP_IF_FALSE LOAD_CONST_IMMORTAL 6,003,000 0.7% 84.0%
POP_JUMP_IF_FALSE LOAD_FAST 6,002,500 0.7% 84.7%
LOAD_FAST LOAD_CONST_IMMORTAL 6,000,720 0.7% 85.4%
STORE_FAST LOAD_GLOBAL_MODULE 6,000,720 0.7% 86.0%
RETURN_VALUE RETURN_VALUE 6,000,660 0.7% 86.7%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 6,000,660 0.7% 87.4%
BINARY_SUBSCR LOAD_GLOBAL_MODULE 6,000,600 0.7% 88.0%
EXIT_INIT_CHECK RETURN_VALUE 6,000,600 0.7% 88.7%
RETURN_VALUE EXIT_INIT_CHECK 6,000,600 0.7% 89.4%
RETURN_VALUE LOAD_FAST_LOAD_FAST 6,000,600 0.7% 90.0%
RETURN_VALUE CALL_ALLOC_AND_ENTER_INIT 6,000,600 0.7% 90.7%
BINARY_OP STORE_FAST 6,000,600 0.7% 91.3%
LOAD_FAST BINARY_SLICE 6,000,600 0.7% 92.0%
LOAD_FAST_LOAD_FAST BINARY_SUBSCR 6,000,600 0.7% 92.7%
LOAD_FAST_LOAD_FAST LOAD_SMALL_INT 6,000,600 0.7% 93.3%
LOAD_SMALL_INT BINARY_OP 6,000,600 0.7% 94.0%
LOAD_SMALL_INT BINARY_OP_ADD_INT 6,000,600 0.7% 94.7%
BINARY_OP_ADD_INT LOAD_CONST_IMMORTAL 6,000,600 0.7% 95.3%
CALL_ALLOC_AND_ENTER_INIT RESUME_CHECK 6,000,600 0.7% 96.0%
LOAD_CONST_IMMORTAL BINARY_SLICE 6,000,600 0.7% 96.7%
LOAD_CONST_IMMORTAL LOAD_FAST 6,000,600 0.7% 97.3%
LOAD_GLOBAL_MODULE LOAD_FAST 6,000,600 0.7% 98.0%
LOAD_GLOBAL_MODULE LOAD_GLOBAL_MODULE 6,000,600 0.7% 98.7%
RESUME_CHECK LOAD_FAST_LOAD_FAST 6,000,600 0.7% 99.3%
STORE_ATTR_INSTANCE_VALUE LOAD_CONST_IMMORTAL 6,000,600 0.7% 100.0%
ENTER_EXECUTOR RESUME_CHECK 12,380 0.0% 100.0%
SEND_GEN ENTER_EXECUTOR 9,640 0.0% 100.0%
JUMP_BACKWARD_NO_INTERRUPT SEND_GEN 8,260 0.0% 100.0%
RESUME_CHECK JUMP_BACKWARD_NO_INTERRUPT 8,260 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE TO_BOOL_NONE 2,740 0.0% 100.0%
RESUME_CHECK POP_TOP 2,740 0.0% 100.0%
TO_BOOL_NONE POP_JUMP_IF_FALSE 2,740 0.0% 100.0%
ENTER_EXECUTOR ENTER_EXECUTOR 2,740 0.0% 100.0%
RESUME_CHECK LOAD_FAST 1,560 0.0% 100.0%
BINARY_SUBSCR BINARY_SUBSCR 1,460 0.0% 100.0%
BINARY_OP BINARY_OP 1,460 0.0% 100.0%
GET_YIELD_FROM_ITER LOAD_CONST_IMMORTAL 1,380 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE GET_YIELD_FROM_ITER 1,380 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE TO_BOOL_ALWAYS_TRUE 1,380 0.0% 100.0%
LOAD_CONST_IMMORTAL SEND_GEN 1,380 0.0% 100.0%
TO_BOOL_ALWAYS_TRUE POP_JUMP_IF_FALSE 1,380 0.0% 100.0%
CACHE ENTER_EXECUTOR 660 0.0% 100.0%
YIELD_VALUE INTERPRETER_EXIT 600 0.0% 100.0%
FOR_ITER_GEN ENTER_EXECUTOR 580 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_GEN 340 0.0% 100.0%
ENTER_EXECUTOR JUMP_BACKWARD 340 0.0% 100.0%
LOAD_FAST GET_ITER 300 0.0% 100.0%
END_FOR POP_ITER 240 0.0% 100.0%
GET_ITER FOR_ITER_GEN 240 0.0% 100.0%
POP_ITER JUMP_BACKWARD 240 0.0% 100.0%
RETURN_VALUE END_FOR 240 0.0% 100.0%
RETURN_VALUE STORE_FAST 240 0.0% 100.0%
JUMP_BACKWARD FOR_ITER_RANGE 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%
RETURN_VALUE POP_TOP 180 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 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_GLOBAL LOAD_GLOBAL_MODULE 140 0.0% 100.0%
PUSH_NULL LOAD_FAST 120 0.0% 100.0%
CALL CALL_BUILTIN_CLASS 120 0.0% 100.0%
CALL CALL_PY_EXACT_ARGS 120 0.0% 100.0%
LOAD_FAST PUSH_NULL 120 0.0% 100.0%
LOAD_GLOBAL LOAD_GLOBAL_BUILTIN 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%
LOAD_GLOBAL_BUILTIN LOAD_SMALL_INT 120 0.0% 100.0%
CALL CALL_NON_PY_GENERAL 100 0.0% 100.0%
PUSH_NULL CALL 80 0.0% 100.0%
LOAD_ATTR LOAD_ATTR_MODULE 80 0.0% 100.0%
LOAD_FAST LOAD_ATTR_METHOD_WITH_VALUES 80 0.0% 100.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 80 0.0% 100.0%

Predecessor/Successor Pairs

Top 5 predecessors and successors of each Tier 1 opcode.

This does not include the unspecialized instructions that occur after a specialized instruction deoptimizes.

BINARY_SLICE

Successors and predecessors for BINARY_SLICE
Predecessors Count Percentage
LOAD_FAST 6,000,600 50.0%
LOAD_CONST_IMMORTAL 6,000,600 50.0%
Successors Count Percentage
CALL_PY_EXACT_ARGS 12,001,200 100.0%

CACHE

Successors and predecessors for CACHE
Successors Count Percentage
RETURN_GENERATOR 24,000,600 100.0%
ENTER_EXECUTOR 660 0.0%
RESUME_CHECK 60 0.0%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 6,000,600 100.0%
BINARY_SUBSCR 1,460 0.0%
LOAD_SMALL_INT 20 0.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 6,000,600 100.0%
BINARY_SUBSCR 1,460 0.0%
BINARY_SUBSCR_TUPLE_INT 20 0.0%

END_FOR

Successors and predecessors for END_FOR
Predecessors Count Percentage
RETURN_VALUE 240 100.0%
Successors Count Percentage
POP_ITER 240 100.0%

END_SEND

Successors and predecessors for END_SEND
Predecessors Count Percentage
RETURN_VALUE 24,000,300 100.0%
Successors Count Percentage
POP_TOP 24,000,300 100.0%

EXIT_INIT_CHECK

Successors and predecessors for EXIT_INIT_CHECK
Predecessors Count Percentage
RETURN_VALUE 6,000,600 100.0%
Successors Count Percentage
RETURN_VALUE 6,000,600 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_FAST 300 100.0%
Successors Count Percentage
FOR_ITER_GEN 240 80.0%
FOR_ITER_RANGE 60 20.0%

GET_YIELD_FROM_ITER

Successors and predecessors for GET_YIELD_FROM_ITER
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 1,380 100.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 1,380 100.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
RETURN_GENERATOR 24,000,600 100.0%
YIELD_VALUE 600 0.0%
RETURN_VALUE 60 0.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_ITER

Successors and predecessors for POP_ITER
Predecessors Count Percentage
END_FOR 240 66.7%
FOR_ITER 60 16.7%
FOR_ITER_RANGE 60 16.7%
Successors Count Percentage
JUMP_BACKWARD 240 66.7%
LOAD_FAST 60 16.7%
LOAD_GLOBAL_MODULE 40 11.1%
LOAD_GLOBAL 20 5.6%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
END_SEND 24,000,300 100.0%
RESUME_CHECK 2,740 0.0%
RETURN_VALUE 180 0.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0%
CALL_NON_PY_GENERAL 60 0.0%
Successors Count Percentage
LOAD_FAST 15,731,560 65.5%
LOAD_CONST_IMMORTAL 8,271,720 34.5%
JUMP_BACKWARD 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
CACHE 24,000,600 100.0%
Successors Count Percentage
INTERPRETER_EXIT 24,000,600 100.0%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 20,275,320 42.2%
ENTER_EXECUTOR 15,726,780 32.8%
RETURN_VALUE 6,000,660 12.5%
EXIT_INIT_CHECK 6,000,600 12.5%
LOAD_FAST 60 0.0%
Successors Count Percentage
END_SEND 24,000,300 50.0%
RETURN_VALUE 6,000,660 12.5%
EXIT_INIT_CHECK 6,000,600 12.5%
LOAD_FAST_LOAD_FAST 6,000,600 12.5%
CALL_ALLOC_AND_ENTER_INIT 6,000,600 12.5%

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_SMALL_INT 6,000,600 100.0%
BINARY_OP 1,460 0.0%
LOAD_FAST 20 0.0%
Successors Count Percentage
STORE_FAST 6,000,600 100.0%
BINARY_OP 1,460 0.0%
BINARY_OP_SUBTRACT_FLOAT 20 0.0%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
LOAD_FAST 60 100.0%
Successors Count Percentage
LOAD_DEREF 60 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 20.0%
LOAD_FAST_LOAD_FAST 60 15.0%
CALL_BUILTIN_CLASS 60 15.0%
LOAD_SMALL_INT 40 10.0%
LOAD_CONST_IMMORTAL 40 10.0%
Successors Count Percentage
CALL_BUILTIN_CLASS 120 30.0%
CALL_PY_EXACT_ARGS 120 30.0%
CALL_NON_PY_GENERAL 100 25.0%
CALL_METHOD_DESCRIPTOR_NOARGS 20 5.0%
CALL_METHOD_DESCRIPTOR_O 20 5.0%

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
CALL_BUILTIN_CLASS 60 75.0%
COMPARE_OP 20 25.0%
Successors Count Percentage
POP_JUMP_IF_TRUE 60 75.0%
COMPARE_OP 20 25.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
JUMP_BACKWARD 60 100.0%
Successors Count Percentage
POP_ITER 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
ENTER_EXECUTOR 340 53.1%
POP_ITER 240 37.5%
POP_TOP 60 9.4%
Successors Count Percentage
FOR_ITER_GEN 340 53.1%
FOR_ITER_RANGE 240 37.5%
FOR_ITER 60 9.4%

JUMP_BACKWARD_NO_INTERRUPT

Successors and predecessors for JUMP_BACKWARD_NO_INTERRUPT
Predecessors Count Percentage
RESUME_CHECK 8,260 100.0%
Successors Count Percentage
SEND_GEN 8,260 100.0%

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_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
BUILD_TUPLE 60 33.3%
POP_JUMP_IF_NOT_NONE 60 33.3%
LOAD_GLOBAL_BUILTIN 60 33.3%
Successors Count Percentage
MAKE_FUNCTION 60 33.3%
STORE_FAST 60 33.3%
CALL_BUILTIN_CLASS 40 22.2%
CALL 20 11.1%

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
POP_TOP 15,731,560 27.2%
STORE_FAST 12,001,860 20.8%
LOAD_GLOBAL_BUILTIN 12,001,380 20.8%
POP_JUMP_IF_FALSE 6,002,500 10.4%
LOAD_CONST_IMMORTAL 6,000,600 10.4%
Successors Count Percentage
LOAD_SMALL_INT 18,001,980 31.2%
LOAD_ATTR_INSTANCE_VALUE 15,734,860 27.3%
CALL_LEN 12,001,320 20.8%
LOAD_CONST_IMMORTAL 6,000,720 10.4%
BINARY_SLICE 6,000,600 10.4%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
STORE_ATTR_INSTANCE_VALUE 12,001,200 40.0%
LOAD_GLOBAL_MODULE 6,000,660 20.0%
RETURN_VALUE 6,000,600 20.0%
RESUME_CHECK 6,000,600 20.0%
PUSH_NULL 60 0.0%
Successors Count Percentage
STORE_ATTR_INSTANCE_VALUE 18,001,800 60.0%
BINARY_SUBSCR 6,000,600 20.0%
LOAD_SMALL_INT 6,000,600 20.0%
CALL_PY_EXACT_ARGS 80 0.0%
BUILD_TUPLE 60 0.0%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
STORE_FAST 60 23.1%
RESUME_CHECK 60 23.1%
LOAD_GLOBAL_BUILTIN 40 15.4%
LOAD_GLOBAL_MODULE 40 15.4%
POP_ITER 20 7.7%
Successors Count Percentage
LOAD_GLOBAL_MODULE 140 53.8%
LOAD_GLOBAL_BUILTIN 120 46.2%

LOAD_SMALL_INT

Successors and predecessors for LOAD_SMALL_INT
Predecessors Count Percentage
LOAD_FAST 18,001,980 75.0%
LOAD_FAST_LOAD_FAST 6,000,600 25.0%
LOAD_GLOBAL_BUILTIN 120 0.0%
Successors Count Percentage
COMPARE_OP_INT 12,001,320 50.0%
BINARY_OP 6,000,600 25.0%
BINARY_OP_ADD_INT 6,000,600 25.0%
CALL_BUILTIN_CLASS 80 0.0%
CALL 40 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
COMPARE_OP_INT 12,001,320 100.0%
TO_BOOL_NONE 2,740 0.0%
TO_BOOL_ALWAYS_TRUE 1,380 0.0%
TO_BOOL 60 0.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 6,003,000 50.0%
LOAD_FAST 6,002,500 50.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
COMPARE_OP 60 50.0%
TO_BOOL_BOOL 60 50.0%
Successors Count Percentage
NOP 60 50.0%
LOAD_GLOBAL_BUILTIN 40 33.3%
LOAD_GLOBAL 20 16.7%

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
YIELD_VALUE 24,000,000 57.1%
CALL_LEN 12,001,320 28.6%
BINARY_OP 6,000,600 14.3%
RETURN_VALUE 240 0.0%
FOR_ITER_RANGE 240 0.0%
Successors Count Percentage
ENTER_EXECUTOR 24,000,000 57.1%
LOAD_FAST 12,001,860 28.6%
LOAD_GLOBAL_MODULE 6,000,720 14.3%
LOAD_CONST_IMMORTAL 180 0.0%
JUMP_FORWARD 60 0.0%

STORE_FAST_STORE_FAST

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

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
YIELD_VALUE 352,548,180 93.6%
LOAD_ATTR_INSTANCE_VALUE 15,729,220 4.2%
ENTER_EXECUTOR 8,271,380 2.2%
Successors Count Percentage
YIELD_VALUE 352,548,180 93.6%
STORE_FAST 24,000,000 6.4%
INTERPRETER_EXIT 600 0.0%

BINARY_OP_ADD_INT

Successors and predecessors for BINARY_OP_ADD_INT
Predecessors Count Percentage
LOAD_SMALL_INT 6,000,600 100.0%
Successors Count Percentage
LOAD_CONST_IMMORTAL 6,000,600 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_ALLOC_AND_ENTER_INIT

Successors and predecessors for CALL_ALLOC_AND_ENTER_INIT
Predecessors Count Percentage
RETURN_VALUE 6,000,600 100.0%
Successors Count Percentage
RESUME_CHECK 6,000,600 100.0%

CALL_BUILTIN_CLASS

Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors Count Percentage
CALL 120 33.3%
LOAD_SMALL_INT 80 22.2%
RETURN_VALUE 40 11.1%
LOAD_CONST 40 11.1%
LOAD_FAST 40 11.1%
Successors Count Percentage
CALL_PY_EXACT_ARGS 80 22.2%
CALL 60 16.7%
COMPARE_OP 60 16.7%
STORE_FAST 60 16.7%
CALL_BUILTIN_CLASS 40 11.1%

CALL_LEN

Successors and predecessors for CALL_LEN
Predecessors Count Percentage
LOAD_FAST 12,001,320 100.0%
Successors Count Percentage
STORE_FAST 12,001,320 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
BINARY_SLICE 12,001,200 100.0%
CALL 120 0.0%
LOAD_FAST_LOAD_FAST 80 0.0%
CALL_BUILTIN_CLASS 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 40 0.0%
Successors Count Percentage
RESUME_CHECK 12,001,500 100.0%
COPY_FREE_VARS 60 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%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
LOAD_SMALL_INT 12,001,320 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 12,001,320 100.0%

FOR_ITER_GEN

Successors and predecessors for FOR_ITER_GEN
Predecessors Count Percentage
JUMP_BACKWARD 340 58.6%
GET_ITER 240 41.4%
Successors Count Percentage
ENTER_EXECUTOR 580 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
JUMP_BACKWARD 240 80.0%
GET_ITER 60 20.0%
Successors Count Percentage
STORE_FAST 240 80.0%
POP_ITER 60 20.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 15,734,860 100.0%
LOAD_ATTR 60 0.0%
LOAD_FAST_LOAD_FAST 40 0.0%
Successors Count Percentage
YIELD_VALUE 15,729,220 100.0%
TO_BOOL_NONE 2,740 0.0%
GET_YIELD_FROM_ITER 1,380 0.0%
TO_BOOL_ALWAYS_TRUE 1,380 0.0%
LOAD_ATTR_METHOD_NO_DICT 80 0.0%

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 8,271,720 25.6%
POP_JUMP_IF_FALSE 6,003,000 18.6%
LOAD_FAST 6,000,720 18.6%
BINARY_OP_ADD_INT 6,000,600 18.6%
STORE_ATTR_INSTANCE_VALUE 6,000,600 18.6%
Successors Count Percentage
RETURN_VALUE 20,275,320 62.8%
BINARY_SLICE 6,000,600 18.6%
LOAD_FAST 6,000,600 18.6%
SEND_GEN 1,380 0.0%
STORE_FAST 120 0.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
RESUME_CHECK 12,001,360 100.0%
LOAD_GLOBAL 120 0.0%
LOAD_GLOBAL_MODULE 80 0.0%
POP_JUMP_IF_TRUE 40 0.0%
CALL_BUILTIN_CLASS 40 0.0%
Successors Count Percentage
LOAD_FAST 12,001,380 100.0%
LOAD_SMALL_INT 120 0.0%
LOAD_CONST 60 0.0%
LOAD_GLOBAL 40 0.0%
LOAD_GLOBAL_BUILTIN 40 0.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 6,000,720 33.3%
BINARY_SUBSCR 6,000,600 33.3%
LOAD_GLOBAL_MODULE 6,000,600 33.3%
LOAD_GLOBAL 140 0.0%
RESUME_CHECK 80 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 6,000,660 33.3%
LOAD_FAST 6,000,600 33.3%
LOAD_GLOBAL_MODULE 6,000,600 33.3%
LOAD_ATTR_MODULE 160 0.0%
LOAD_ATTR 80 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 12,001,500 66.6%
CALL_ALLOC_AND_ENTER_INIT 6,000,600 33.3%
ENTER_EXECUTOR 12,380 0.1%
CACHE 60 0.0%
CALL_FUNCTION_EX 60 0.0%
Successors Count Percentage
LOAD_GLOBAL_BUILTIN 12,001,360 66.6%
LOAD_FAST_LOAD_FAST 6,000,600 33.3%
JUMP_BACKWARD_NO_INTERRUPT 8,260 0.0%
POP_TOP 2,740 0.0%
LOAD_FAST 1,560 0.0%

SEND_GEN

Successors and predecessors for SEND_GEN
Predecessors Count Percentage
JUMP_BACKWARD_NO_INTERRUPT 8,260 85.7%
LOAD_CONST_IMMORTAL 1,380 14.3%
Successors Count Percentage
ENTER_EXECUTOR 9,640 100.0%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 18,001,800 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 12,001,200 66.7%
LOAD_CONST_IMMORTAL 6,000,600 33.3%

TO_BOOL_ALWAYS_TRUE

Successors and predecessors for TO_BOOL_ALWAYS_TRUE
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 1,380 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 1,380 100.0%

TO_BOOL_BOOL

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

TO_BOOL_NONE

Successors and predecessors for TO_BOOL_NONE
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 2,740 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 2,740 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
STORE_FAST 24,000,000 99.9%
SEND_GEN 9,640 0.0%
ENTER_EXECUTOR 2,740 0.0%
CACHE 660 0.0%
FOR_ITER_GEN 580 0.0%
Successors Count Percentage
RETURN_VALUE 15,726,780 65.5%
YIELD_VALUE 8,271,380 34.4%
RESUME_CHECK 12,380 0.1%
ENTER_EXECUTOR 2,740 0.0%
JUMP_BACKWARD 340 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.

6,000,600 50.0%
hit

Specialized instructions that complete.

6,000,660 50.0%
Success Count Ratio
Success 20 1.4%
Failure 1,460 98.6%
Failure kind Count Ratio
floor divide 1,460 100.0%

BINARY_SLICE

specialization stats for BINARY_SLICE family
Kind Count Ratio
deferred

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

12,001,200 100.0%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
deferred

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

6,000,600 100.0%
hit

Specialized instructions that complete.

60 0.0%
Success Count Ratio
Success 20 1.4%
Failure 1,460 98.6%
Failure kind Count Ratio
sequence int 1,460 100.0%

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

30,003,960 100.0%
Success Count Ratio
Success 400 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
deferred

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

60 0.0%
hit

Specialized instructions that complete.

12,001,320 100.0%
Success Count Ratio
Success 0 0.0%
Failure 20 100.0%
Failure kind Count Ratio
list 20 100.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 6.4%
hit

Specialized instructions that complete.

880 93.6%

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.

15,735,440 100.0%
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.

30,003,900 100.0%
Success Count Ratio
Success 260 100.0%
Failure 0 0.0%

SEND

specialization stats for SEND family
Kind Count Ratio
hit

Specialized instructions that complete.

9,640 100.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

18,001,800 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 1.8%
hit

Specialized instructions that complete.

2,340 69.6%
miss

Specialized instructions that deopt.

920 27.4%
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.

716,340,060 79.4%
Not specialized

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

24,006,580 2.7%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

162,039,060 18.0%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

16,240 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_SLICE 12,001,200 50.0%
BINARY_SUBSCR 6,000,600 25.0%
BINARY_OP 6,000,600 25.0%
TO_BOOL 60 0.0%
COMPARE_OP 60 0.0%
FOR_ITER 60 0.0%
LOAD_ATTR 60 0.0%
STORE_SLICE 0 0.0%
CACHE 0 0.0%
END_FOR 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 15,320 48.5%
RESUME_CHECK 15,320 48.5%
TO_BOOL_ALWAYS_TRUE 460 1.5%
TO_BOOL_NONE 460 1.5%
CACHE 0 0.0%
END_FOR 0 0.0%
END_SEND 0 0.0%
EXIT_INIT_CHECK 0 0.0%
GET_ITER 0 0.0%
GET_YIELD_FROM_ITER 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 24,001,320 5.4%
Calls to Python functions inlined 418,551,000 94.6%
Calls via PyEval_EvalFrame (total) 24,001,320 5.4%
Calls via PyEval_EvalFrame (vector) 24,000,660 5.4%
Calls via PyEval_EvalFrame (generator) 660 0.0%
Calls via PyEval_EvalFrame (legacy) 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 24,000,660 5.4%
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) 24,000,600 5.4%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 0 0.0%
Frames pushed 48,003,540 10.8%

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 36,038,760 42.9%
Frees to freelist 36,038,760
Allocations 47,991,280 57.1%
Allocations to 512 bytes 47,991,280 57.1%
Allocations to 4 kbytes 0 0.0%
Allocations over 4 kbytes 0 0.0%
Frees 47,991,240
Inline values 6,000,600
Interpreter mortal increfs 856,588,320 79.0%
Interpreter mortal decrefs 904,622,980 65.9%
Mortal increfs 30,156,737 2.8%
Mortal decrefs 66,151,977 4.8%
Interpreter immortal increfs 95,979,600 8.8%
Interpreter immortal decrefs 233,954,280 17.0%
Immortal increfs 101,843,937 9.4%
Immortal decrefs 167,885,717 12.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 193
Method cache misses 27
Method cache collisions 43
Method cache dunder hits 24,002,090
Method cache dunder misses 30

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 2,940 160 39,460,362 8,751,680 58,480
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,860
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,860 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,860 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

472,537,860
Uops executed

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

3,676,008,740 777.9%
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%
<= 2 0 0.0%
<= 4 2,740 0.0%
<= 8 1,380 0.0%

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_MAKE_WARM 472,537,860 12.9% 12.9%
_START_EXECUTOR 472,537,860 12.9% 25.7%
_SET_IP 424,537,420 11.5% 37.3%
_DYNAMIC_EXIT 400,538,500 10.9% 48.2%
_PUSH_FRAME 400,538,500 10.9% 59.1%
_TIER2_RESUME_CHECK 376,540,520 10.2% 69.3% 0.0%
_SEND_GEN_FRAME 376,538,840 10.2% 79.5%
_GUARD_TYPE_VERSION 119,993,080 3.3% 82.8% 13.1%
_POP_TOP 95,995,540 2.6% 85.4%
_CHECK_MANAGED_OBJECT_HAS_VALUES 80,267,380 2.2% 87.6%
_LOAD_ATTR_INSTANCE_VALUE_0 80,267,380 2.2% 89.8%
_LOAD_FAST_0 80,267,380 2.2% 92.0%
_EXIT_TRACE 71,995,240 2.0% 93.9%
_TO_BOOL_NONE 39,726,000 1.1% 95.0% 39.6%
_LOAD_CONST_INLINE_BORROW 39,725,700 1.1% 96.1%
_RESUME_CHECK 24,000,600 0.7% 96.7% 0.0%
_CHECK_PERIODIC 23,999,660 0.7% 97.4%
_CHECK_VALIDITY_AND_SET_IP 23,999,660 0.7% 98.0%
_FOR_ITER_GEN_FRAME 23,999,660 0.7% 98.7%
_GET_YIELD_FROM_ITER 23,998,920 0.7% 99.3%
_CHECK_VALIDITY 23,998,920 0.7% 100.0%
_DEOPT 4,120 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 472,537,860 12.9% 12.9%
_PUSH_FRAME _DYNAMIC_EXIT 400,538,500 10.9% 23.8%
_MAKE_WARM _TIER2_RESUME_CHECK 376,540,520 10.2% 34.0%
_SET_IP _SEND_GEN_FRAME 376,538,840 10.2% 44.2%
_SEND_GEN_FRAME _PUSH_FRAME 376,538,840 10.2% 54.5%
_TIER2_RESUME_CHECK _SET_IP 352,539,920 9.6% 64.1%
_CHECK_MANAGED_OBJECT_HAS_VALUES _LOAD_ATTR_INSTANCE_VALUE_0 80,267,380 2.2% 66.3%
_GUARD_TYPE_VERSION _CHECK_MANAGED_OBJECT_HAS_VALUES 80,267,380 2.2% 68.4%
_LOAD_FAST_0 _GUARD_TYPE_VERSION 80,267,380 2.2% 70.6%
_POP_TOP _LOAD_FAST_0 39,725,700 1.1% 71.7%
_POP_TOP _RESUME_CHECK 24,000,600 0.7% 72.4%
_MAKE_WARM _POP_TOP 24,000,600 0.7% 73.0%
_SET_IP _CHECK_PERIODIC 23,999,660 0.7% 73.7%
_CHECK_PERIODIC _CHECK_VALIDITY_AND_SET_IP 23,999,660 0.7% 74.3%
_CHECK_VALIDITY_AND_SET_IP _FOR_ITER_GEN_FRAME 23,999,660 0.7% 75.0%
_FOR_ITER_GEN_FRAME _PUSH_FRAME 23,999,660 0.7% 75.6%
_MAKE_WARM _SET_IP 23,999,660 0.7% 76.3%
_RESUME_CHECK _LOAD_FAST_0 23,999,220 0.7% 76.9%
_LOAD_ATTR_INSTANCE_VALUE_0 _TO_BOOL_NONE 23,999,220 0.7% 77.6%
_GET_YIELD_FROM_ITER _CHECK_VALIDITY 23,998,920 0.7% 78.2%
_SET_IP _GET_YIELD_FROM_ITER 23,998,920 0.7% 78.9%
_CHECK_VALIDITY _LOAD_CONST_INLINE_BORROW 23,998,920 0.7% 79.5%
_GUARD_TYPE_VERSION _POP_TOP 23,998,920 0.7% 80.2%
_LOAD_ATTR_INSTANCE_VALUE_0 _SET_IP 23,998,920 0.7% 80.8%
_LOAD_CONST_INLINE_BORROW _SET_IP 23,998,920 0.7% 81.5%
_TO_BOOL_NONE _POP_TOP 23,998,160 0.7% 82.1%
_LOAD_ATTR_INSTANCE_VALUE_0 _GUARD_TYPE_VERSION 23,997,860 0.7% 82.8%
_TIER2_RESUME_CHECK _POP_TOP 23,997,860 0.7% 83.5%
_POP_TOP _EXIT_TRACE 16,542,460 0.5% 83.9%
_MAKE_WARM _LOAD_FAST_0 16,542,460 0.5% 84.4%
_TO_BOOL_NONE _EXIT_TRACE 15,727,840 0.4% 84.8%
_MAKE_WARM _GUARD_TYPE_VERSION 15,727,840 0.4% 85.2%
_POP_TOP _LOAD_CONST_INLINE_BORROW 15,726,780 0.4% 85.6%
_GUARD_TYPE_VERSION _EXIT_TRACE 15,726,780 0.4% 86.1%
_LOAD_CONST_INLINE_BORROW _EXIT_TRACE 15,726,780 0.4% 86.5%
_MAKE_WARM _TO_BOOL_NONE 15,726,780 0.4% 86.9%
_LOAD_ATTR_INSTANCE_VALUE_0 _EXIT_TRACE 8,271,380 0.2% 87.1%
_TIER2_RESUME_CHECK _DEOPT 2,740 0.0% 87.1%
_RESUME_CHECK _DEOPT 1,380 0.0% 87.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: 2025-01-12