Skip to content

Latest commit

 

History

History
7337 lines (6659 loc) · 131 KB

bm-20250205-azure-x86_64-brandtbucher-justin_compact_exits-3.14.0a4+-31b1d53-pystats-float.md

File metadata and controls

7337 lines (6659 loc) · 131 KB

Pystats results

  • benchmark: float
  • fork: brandtbucher
  • ref: justin-compact-exits-10k
  • commit hash: 31b1d53
  • commit date: 2025-02-05T22:53:14-08: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
RETURN_VALUE 24,999,960 17.5% 17.5%
LOAD_FAST 17,843,100 12.5% 30.0%
LOAD_FAST_LOAD_FAST 14,464,260 10.1% 40.1%
EXIT_INIT_CHECK 12,000,000 8.4% 48.6%
STORE_SUBSCR_LIST_INT 12,000,000 8.4% 57.0%
ENTER_EXECUTOR 11,531,280 8.1% 65.0%
LOAD_ATTR_SLOT 7,438,080 5.2% 70.2%
STORE_ATTR_SLOT 5,949,960 4.2% 74.4%
STORE_FAST 4,939,080 3.5% 77.9%
LOAD_GLOBAL_MODULE 2,962,200 2.1% 80.0%
CALL_BUILTIN_O 2,470,320 1.7% 81.7%
COPY 2,463,960 1.7% 83.4%
BINARY_OP_MULTIPLY_FLOAT 2,463,960 1.7% 85.1%
LOAD_SMALL_INT 1,979,040 1.4% 86.5%
BINARY_OP_EXTEND 1,978,800 1.4% 87.9%
RESUME_CHECK 1,973,040 1.4% 89.3% 0.4%
POP_JUMP_IF_FALSE 1,491,000 1.0% 90.3%
COMPARE_OP_FLOAT 1,490,880 1.0% 91.4%
LOAD_CONST_IMMORTAL 1,481,640 1.0% 92.4%
BINARY_OP 1,475,080 1.0% 93.4%
JUMP_BACKWARD_JIT 1,474,740 1.0% 94.5%
SWAP 1,474,560 1.0% 95.5%
JUMP_FORWARD 989,820 0.7% 96.2%
CALL_PY_EXACT_ARGS 983,400 0.7% 96.9%
LOAD_ATTR_METHOD_NO_DICT 983,160 0.7% 97.6%
BINARY_OP_ADD_FLOAT 983,040 0.7% 98.3%
FOR_ITER_LIST 983,040 0.7% 99.0%
POP_TOP 491,940 0.3% 99.3%
FOR_ITER_RANGE 491,700 0.3% 99.7%
CALL_ALLOC_AND_ENTER_INIT 491,520 0.3% 100.0%
PUSH_NULL 540 0.0% 100.0%
POP_ITER 480 0.0% 100.0%
GET_ITER 420 0.0% 100.0%
CALL_NON_PY_GENERAL 420 0.0% 100.0%
LOAD_ATTR 280 0.0% 100.0%
CALL 260 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
LOAD_CONST_MORTAL 240 0.0% 100.0%
CALL_BUILTIN_CLASS 180 0.0% 100.0%
LOAD_ATTR_MODULE 180 0.0% 100.0%
LOAD_GLOBAL_BUILTIN 180 0.0% 100.0%
BINARY_SUBSCR 160 0.0% 100.0%
INTERPRETER_EXIT 120 0.0% 100.0%
BUILD_LIST 120 0.0% 100.0%
BUILD_TUPLE 120 0.0% 100.0%
BINARY_SUBSCR_LIST_INT 120 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES 120 0.0% 100.0%
TO_BOOL 100 0.0% 100.0%
LOAD_GLOBAL 100 0.0% 100.0%
CALL_FUNCTION_EX 60 0.0% 100.0%
MAKE_FUNCTION 60 0.0% 100.0%
NOP 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%
LOAD_DEREF 60 0.0% 100.0%
MAKE_CELL 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%
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%
COMPARE_OP_INT 60 0.0% 100.0%
TO_BOOL_BOOL 60 0.0% 100.0%
UNPACK_SEQUENCE_TWO_TUPLE 60 0.0% 100.0%
COMPARE_OP 20 0.0% 100.0%
UNPACK_SEQUENCE 20 0.0% 100.0%

Pair counts

Pair counts for top 100 opcode pairs

Pairs of specialized operations that deoptimize and are then followed by the corresponding unspecialized instruction are not counted as pairs.

Pair Count Self Cumulative
EXIT_INIT_CHECK RETURN_VALUE 12,000,000 8.4% 8.4%
RETURN_VALUE EXIT_INIT_CHECK 12,000,000 8.4% 16.8%
RETURN_VALUE LOAD_FAST_LOAD_FAST 12,000,000 8.4% 25.2%
LOAD_FAST_LOAD_FAST STORE_SUBSCR_LIST_INT 12,000,000 8.4% 33.6%
STORE_SUBSCR_LIST_INT ENTER_EXECUTOR 11,508,480 8.1% 41.7%
ENTER_EXECUTOR RETURN_VALUE 11,010,600 7.7% 49.4%
LOAD_FAST LOAD_ATTR_SLOT 5,963,520 4.2% 53.6%
LOAD_FAST STORE_ATTR_SLOT 4,475,400 3.1% 56.7%
LOAD_ATTR_SLOT LOAD_FAST 3,482,880 2.4% 59.2%
STORE_ATTR_SLOT LOAD_FAST 2,490,240 1.7% 60.9%
LOAD_GLOBAL_MODULE LOAD_FAST 2,470,440 1.7% 62.6%
LOAD_FAST_LOAD_FAST BINARY_OP_MULTIPLY_FLOAT 2,463,960 1.7% 64.4%
STORE_FAST LOAD_FAST 2,458,320 1.7% 66.1%
LOAD_FAST CALL_BUILTIN_O 1,978,800 1.4% 67.5%
LOAD_SMALL_INT BINARY_OP_EXTEND 1,978,800 1.4% 68.8%
BINARY_OP_EXTEND LOAD_FAST 1,978,800 1.4% 70.2%
STORE_FAST LOAD_GLOBAL_MODULE 1,972,480 1.4% 71.6%
POP_JUMP_IF_FALSE LOAD_FAST 1,490,940 1.0% 72.7%
COMPARE_OP_FLOAT POP_JUMP_IF_FALSE 1,490,880 1.0% 73.7%
LOAD_ATTR_SLOT COMPARE_OP_FLOAT 1,490,880 1.0% 74.8%
LOAD_CONST_IMMORTAL RETURN_VALUE 1,481,100 1.0% 75.8%
STORE_ATTR_SLOT LOAD_CONST_IMMORTAL 1,480,920 1.0% 76.8%
LOAD_FAST BINARY_OP 1,474,700 1.0% 77.9%
BINARY_OP SWAP 1,474,560 1.0% 78.9%
COPY LOAD_ATTR_SLOT 1,474,560 1.0% 79.9%
LOAD_FAST COPY 1,474,560 1.0% 81.0%
SWAP STORE_ATTR_SLOT 1,474,560 1.0% 82.0%
LOAD_ATTR_SLOT STORE_FAST 1,474,560 1.0% 83.0%
JUMP_FORWARD LOAD_FAST 989,820 0.7% 83.7%
LOAD_ATTR_SLOT JUMP_FORWARD 989,760 0.7% 84.4%
RESUME_CHECK LOAD_GLOBAL_MODULE 989,520 0.7% 85.1%
COPY LOAD_FAST 989,400 0.7% 85.8%
BINARY_OP_MULTIPLY_FLOAT LOAD_SMALL_INT 989,400 0.7% 86.5%
CALL_BUILTIN_O COPY 989,400 0.7% 87.2%
CALL_BUILTIN_O LOAD_SMALL_INT 989,400 0.7% 87.9%
STORE_ATTR_SLOT LOAD_FAST_LOAD_FAST 989,400 0.7% 88.6%
STORE_ATTR_SLOT STORE_FAST 989,400 0.7% 89.3%
CALL_PY_EXACT_ARGS RESUME_CHECK 983,340 0.7% 90.0%
RESUME_CHECK LOAD_FAST 983,340 0.7% 90.6%
LOAD_FAST LOAD_ATTR_METHOD_NO_DICT 983,040 0.7% 91.3%
BINARY_OP_MULTIPLY_FLOAT BINARY_OP_ADD_FLOAT 983,040 0.7% 92.0%
FOR_ITER_LIST STORE_FAST 983,040 0.7% 92.7%
JUMP_BACKWARD_JIT FOR_ITER_LIST 982,800 0.7% 93.4%
LOAD_FAST RETURN_VALUE 508,080 0.4% 93.8%
RETURN_VALUE STORE_FAST 508,020 0.4% 94.1%
ENTER_EXECUTOR RESUME_CHECK 497,760 0.3% 94.5%
POP_TOP JUMP_BACKWARD_JIT 491,700 0.3% 94.8%
RETURN_VALUE POP_TOP 491,700 0.3% 95.1%
LOAD_FAST CALL_PY_EXACT_ARGS 491,640 0.3% 95.5%
FOR_ITER_RANGE STORE_FAST 491,640 0.3% 95.8%
LOAD_GLOBAL_MODULE LOAD_FAST_LOAD_FAST 491,580 0.3% 96.2%
LOAD_FAST CALL_ALLOC_AND_ENTER_INIT 491,520 0.3% 96.5%
STORE_FAST JUMP_BACKWARD_JIT 491,520 0.3% 96.9%
BINARY_OP_ADD_FLOAT LOAD_FAST_LOAD_FAST 491,520 0.3% 97.2%
BINARY_OP_ADD_FLOAT CALL_BUILTIN_O 491,520 0.3% 97.6%
BINARY_OP_MULTIPLY_FLOAT LOAD_FAST_LOAD_FAST 491,520 0.3% 97.9%
CALL_ALLOC_AND_ENTER_INIT RESUME_CHECK 491,520 0.3% 98.2%
CALL_BUILTIN_O STORE_FAST 491,520 0.3% 98.6%
JUMP_BACKWARD_JIT FOR_ITER_RANGE 491,520 0.3% 98.9%
LOAD_ATTR_METHOD_NO_DICT LOAD_FAST 491,520 0.3% 99.3%
LOAD_ATTR_METHOD_NO_DICT CALL_PY_EXACT_ARGS 491,520 0.3% 99.6%
STORE_SUBSCR_LIST_INT JUMP_BACKWARD_JIT 491,520 0.3% 100.0%
STORE_FAST ENTER_EXECUTOR 16,320 0.0% 100.0%
ENTER_EXECUTOR LOAD_FAST 16,200 0.0% 100.0%
ENTER_EXECUTOR ENTER_EXECUTOR 6,480 0.0% 100.0%
LOAD_FAST PUSH_NULL 420 0.0% 100.0%
BINARY_OP BINARY_OP 380 0.0% 100.0%
POP_ITER LOAD_FAST 360 0.0% 100.0%
PUSH_NULL CALL_NON_PY_GENERAL 280 0.0% 100.0%
GET_ITER FOR_ITER_LIST 240 0.0% 100.0%
LOAD_FAST LOAD_SMALL_INT 240 0.0% 100.0%
ENTER_EXECUTOR POP_ITER 240 0.0% 100.0%
CACHE RESUME_CHECK 180 0.0% 100.0%
GET_ITER FOR_ITER_RANGE 180 0.0% 100.0%
POP_TOP LOAD_CONST_IMMORTAL 180 0.0% 100.0%
LOAD_FAST GET_ITER 180 0.0% 100.0%
STORE_FAST LOAD_CONST_IMMORTAL 180 0.0% 100.0%
CALL_NON_PY_GENERAL POP_TOP 180 0.0% 100.0%
LOAD_GLOBAL_BUILTIN LOAD_FAST 180 0.0% 100.0%
LOAD_FAST CALL_BUILTIN_CLASS 160 0.0% 100.0%
LOAD_FAST LOAD_ATTR 140 0.0% 100.0%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 140 0.0% 100.0%
BINARY_SUBSCR GET_ITER 120 0.0% 100.0%
POP_ITER LOAD_GLOBAL_MODULE 120 0.0% 100.0%
RETURN_VALUE INTERPRETER_EXIT 120 0.0% 100.0%
RETURN_VALUE RETURN_VALUE 120 0.0% 100.0%
BINARY_OP STORE_FAST 120 0.0% 100.0%
BUILD_LIST LOAD_FAST 120 0.0% 100.0%
LOAD_FAST LOAD_CONST_IMMORTAL 120 0.0% 100.0%
LOAD_FAST LOAD_CONST_MORTAL 120 0.0% 100.0%
LOAD_SMALL_INT BINARY_SUBSCR_LIST_INT 120 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_BUILTIN 120 0.0% 100.0%
BINARY_SUBSCR_LIST_INT STORE_FAST 120 0.0% 100.0%
CALL_BUILTIN_CLASS GET_ITER 120 0.0% 100.0%
JUMP_BACKWARD_JIT POP_ITER 120 0.0% 100.0%
JUMP_BACKWARD_JIT LOAD_FAST 120 0.0% 100.0%
JUMP_BACKWARD_JIT RESUME_CHECK 120 0.0% 100.0%
LOAD_ATTR_MODULE PUSH_NULL 120 0.0% 100.0%
LOAD_CONST_IMMORTAL BUILD_LIST 120 0.0% 100.0%
LOAD_CONST_IMMORTAL STORE_FAST 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 180 100.0%

BINARY_SUBSCR

Successors and predecessors for BINARY_SUBSCR
Predecessors Count Percentage
LOAD_CONST_MORTAL 120 75.0%
BINARY_SUBSCR 20 12.5%
LOAD_SMALL_INT 20 12.5%
Successors Count Percentage
GET_ITER 120 75.0%
BINARY_SUBSCR 20 12.5%
BINARY_SUBSCR_TUPLE_INT 20 12.5%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
PUSH_NULL 60 100.0%

EXIT_INIT_CHECK

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

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_FAST 180 42.9%
BINARY_SUBSCR 120 28.6%
CALL_BUILTIN_CLASS 120 28.6%
Successors Count Percentage
FOR_ITER_LIST 240 57.1%
FOR_ITER_RANGE 180 42.9%

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_MORTAL 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
ENTER_EXECUTOR 240 50.0%
JUMP_BACKWARD_JIT 120 25.0%
FOR_ITER 60 12.5%
FOR_ITER_RANGE 60 12.5%
Successors Count Percentage
LOAD_FAST 360 75.0%
LOAD_GLOBAL_MODULE 120 25.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_VALUE 491,700 100.0%
CALL_NON_PY_GENERAL 180 0.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0%
Successors Count Percentage
JUMP_BACKWARD_JIT 491,700 100.0%
LOAD_CONST_IMMORTAL 180 0.0%
LOAD_FAST 60 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_FAST 420 77.8%
LOAD_ATTR_MODULE 120 22.2%
Successors Count Percentage
CALL_NON_PY_GENERAL 280 51.9%
CALL 80 14.8%
CALL_FUNCTION_EX 60 11.1%
LOAD_FAST 60 11.1%
LOAD_FAST_LOAD_FAST 60 11.1%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
EXIT_INIT_CHECK 12,000,000 48.0%
ENTER_EXECUTOR 11,010,600 44.0%
LOAD_CONST_IMMORTAL 1,481,100 5.9%
LOAD_FAST 508,080 2.0%
RETURN_VALUE 120 0.0%
Successors Count Percentage
EXIT_INIT_CHECK 12,000,000 48.0%
LOAD_FAST_LOAD_FAST 12,000,000 48.0%
STORE_FAST 508,020 2.0%
POP_TOP 491,700 2.0%
INTERPRETER_EXIT 120 0.0%

TO_BOOL

Successors and predecessors for TO_BOOL
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 60 60.0%
TO_BOOL 20 20.0%
LOAD_FAST 20 20.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 60 60.0%
TO_BOOL 20 20.0%
TO_BOOL_BOOL 20 20.0%

BINARY_OP

Successors and predecessors for BINARY_OP
Predecessors Count Percentage
LOAD_FAST 1,474,700 100.0%
BINARY_OP 380 0.0%
Successors Count Percentage
SWAP 1,474,560 100.0%
BINARY_OP 380 0.0%
STORE_FAST 120 0.0%
BINARY_OP_SUBTRACT_FLOAT 20 0.0%

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
LOAD_CONST_IMMORTAL 120 100.0%
Successors Count Percentage
LOAD_FAST 120 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_MORTAL 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%

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_FAST 1,474,560 59.8%
CALL_BUILTIN_O 989,400 40.2%
Successors Count Percentage
LOAD_ATTR_SLOT 1,474,560 59.8%
LOAD_FAST 989,400 40.2%

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_JIT 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_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
LOAD_ATTR_SLOT 989,760 100.0%
STORE_FAST 60 0.0%
Successors Count Percentage
LOAD_FAST 989,820 100.0%

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_DEREF

Successors and predecessors for LOAD_DEREF
Predecessors Count Percentage
STORE_FAST 60 100.0%
Successors Count Percentage
STORE_FAST 60 100.0%

LOAD_FAST

Successors and predecessors for LOAD_FAST
Predecessors Count Percentage
LOAD_ATTR_SLOT 3,482,880 19.5%
STORE_ATTR_SLOT 2,490,240 14.0%
LOAD_GLOBAL_MODULE 2,470,440 13.8%
STORE_FAST 2,458,320 13.8%
BINARY_OP_EXTEND 1,978,800 11.1%
Successors Count Percentage
LOAD_ATTR_SLOT 5,963,520 33.4%
STORE_ATTR_SLOT 4,475,400 25.1%
CALL_BUILTIN_O 1,978,800 11.1%
BINARY_OP 1,474,700 8.3%
COPY 1,474,560 8.3%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
RETURN_VALUE 12,000,000 83.0%
STORE_ATTR_SLOT 989,400 6.8%
LOAD_GLOBAL_MODULE 491,580 3.4%
BINARY_OP_ADD_FLOAT 491,520 3.4%
BINARY_OP_MULTIPLY_FLOAT 491,520 3.4%
Successors Count Percentage
STORE_SUBSCR_LIST_INT 12,000,000 83.0%
BINARY_OP_MULTIPLY_FLOAT 2,463,960 17.0%
CALL_PY_EXACT_ARGS 80 0.0%
BUILD_TUPLE 60 0.0%
CALL 60 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
BINARY_OP_MULTIPLY_FLOAT 989,400 50.0%
CALL_BUILTIN_O 989,400 50.0%
LOAD_FAST 240 0.0%
Successors Count Percentage
BINARY_OP_EXTEND 1,978,800 100.0%
BINARY_SUBSCR_LIST_INT 120 0.0%
BINARY_SUBSCR_TUPLE_INT 40 0.0%
COMPARE_OP_INT 40 0.0%
BINARY_SUBSCR 20 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_FLOAT 1,490,880 100.0%
TO_BOOL 60 0.0%
COMPARE_OP_INT 60 0.0%
Successors Count Percentage
LOAD_FAST 1,490,940 100.0%
LOAD_GLOBAL_BUILTIN 40 0.0%
LOAD_GLOBAL 20 0.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 60 100.0%
Successors Count Percentage
LOAD_CONST_MORTAL 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
LOAD_ATTR_SLOT 1,474,560 29.9%
STORE_ATTR_SLOT 989,400 20.0%
FOR_ITER_LIST 983,040 19.9%
RETURN_VALUE 508,020 10.3%
FOR_ITER_RANGE 491,640 10.0%
Successors Count Percentage
LOAD_FAST 2,458,320 49.8%
LOAD_GLOBAL_MODULE 1,972,480 39.9%
JUMP_BACKWARD_JIT 491,520 10.0%
ENTER_EXECUTOR 16,320 0.3%
LOAD_CONST_IMMORTAL 180 0.0%

STORE_FAST_STORE_FAST

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

SWAP

Successors and predecessors for SWAP
Predecessors Count Percentage
BINARY_OP 1,474,560 100.0%
Successors Count Percentage
STORE_ATTR_SLOT 1,474,560 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_FLOAT

Successors and predecessors for BINARY_OP_ADD_FLOAT
Predecessors Count Percentage
BINARY_OP_MULTIPLY_FLOAT 983,040 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 491,520 50.0%
CALL_BUILTIN_O 491,520 50.0%

BINARY_OP_EXTEND

Successors and predecessors for BINARY_OP_EXTEND
Predecessors Count Percentage
LOAD_SMALL_INT 1,978,800 100.0%
Successors Count Percentage
LOAD_FAST 1,978,800 100.0%

BINARY_OP_MULTIPLY_FLOAT

Successors and predecessors for BINARY_OP_MULTIPLY_FLOAT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 2,463,960 100.0%
Successors Count Percentage
LOAD_SMALL_INT 989,400 40.2%
BINARY_OP_ADD_FLOAT 983,040 39.9%
LOAD_FAST_LOAD_FAST 491,520 19.9%

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_SUBSCR_LIST_INT

Successors and predecessors for BINARY_SUBSCR_LIST_INT
Predecessors Count Percentage
LOAD_SMALL_INT 120 100.0%
Successors Count Percentage
STORE_FAST 120 100.0%

BINARY_SUBSCR_TUPLE_INT

Successors and predecessors for BINARY_SUBSCR_TUPLE_INT
Predecessors Count Percentage
LOAD_SMALL_INT 40 66.7%
BINARY_SUBSCR 20 33.3%
Successors Count Percentage
STORE_FAST 60 100.0%

CALL_ALLOC_AND_ENTER_INIT

Successors and predecessors for CALL_ALLOC_AND_ENTER_INIT
Predecessors Count Percentage
LOAD_FAST 491,520 100.0%
Successors Count Percentage
RESUME_CHECK 491,520 100.0%

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_BUILTIN_O

Successors and predecessors for CALL_BUILTIN_O
Predecessors Count Percentage
LOAD_FAST 1,978,800 80.1%
BINARY_OP_ADD_FLOAT 491,520 19.9%
Successors Count Percentage
COPY 989,400 40.1%
LOAD_SMALL_INT 989,400 40.1%
STORE_FAST 491,520 19.9%

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_FAST 491,640 50.0%
LOAD_ATTR_METHOD_NO_DICT 491,520 50.0%
CALL 80 0.0%
LOAD_FAST_LOAD_FAST 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 40 0.0%
Successors Count Percentage
RESUME_CHECK 983,340 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_FLOAT

Successors and predecessors for COMPARE_OP_FLOAT
Predecessors Count Percentage
LOAD_ATTR_SLOT 1,490,880 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 1,490,880 100.0%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
LOAD_SMALL_INT 40 66.7%
COMPARE_OP 20 33.3%
Successors Count Percentage
POP_JUMP_IF_FALSE 60 100.0%

FOR_ITER_LIST

Successors and predecessors for FOR_ITER_LIST
Predecessors Count Percentage
JUMP_BACKWARD_JIT 982,800 100.0%
GET_ITER 240 0.0%
Successors Count Percentage
STORE_FAST 983,040 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
JUMP_BACKWARD_JIT 491,520 100.0%
GET_ITER 180 0.0%
Successors Count Percentage
STORE_FAST 491,640 100.0%
POP_ITER 60 0.0%

JUMP_BACKWARD_JIT

Successors and predecessors for JUMP_BACKWARD_JIT
Predecessors Count Percentage
POP_TOP 491,700 33.3%
STORE_FAST 491,520 33.3%
STORE_SUBSCR_LIST_INT 491,520 33.3%
Successors Count Percentage
FOR_ITER_LIST 982,800 66.6%
FOR_ITER_RANGE 491,520 33.3%
POP_ITER 120 0.0%
LOAD_FAST 120 0.0%
RESUME_CHECK 120 0.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 140 58.3%
LOAD_ATTR 60 25.0%
LOAD_FAST_LOAD_FAST 40 16.7%
Successors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 80 33.3%
TO_BOOL 60 25.0%
LOAD_ATTR 40 16.7%
CALL_PY_EXACT_ARGS 40 16.7%
CALL 20 8.3%

LOAD_ATTR_METHOD_NO_DICT

Successors and predecessors for LOAD_ATTR_METHOD_NO_DICT
Predecessors Count Percentage
LOAD_FAST 983,040 100.0%
LOAD_ATTR_INSTANCE_VALUE 80 0.0%
LOAD_ATTR 40 0.0%
Successors Count Percentage
LOAD_FAST 491,520 50.0%
CALL_PY_EXACT_ARGS 491,520 50.0%
LOAD_FAST_LOAD_FAST 60 0.0%
CALL_METHOD_DESCRIPTOR_NOARGS 40 0.0%
CALL 20 0.0%

LOAD_ATTR_METHOD_WITH_VALUES

Successors and predecessors for LOAD_ATTR_METHOD_WITH_VALUES
Predecessors Count Percentage
LOAD_FAST 80 66.7%
LOAD_ATTR 40 33.3%
Successors Count Percentage
LOAD_FAST 60 50.0%
LOAD_FAST_LOAD_FAST 60 50.0%

LOAD_ATTR_MODULE

Successors and predecessors for LOAD_ATTR_MODULE
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 120 66.7%
LOAD_ATTR 60 33.3%
Successors Count Percentage
PUSH_NULL 120 66.7%
STORE_FAST 60 33.3%

LOAD_ATTR_SLOT

Successors and predecessors for LOAD_ATTR_SLOT
Predecessors Count Percentage
LOAD_FAST 5,963,520 80.2%
COPY 1,474,560 19.8%
Successors Count Percentage
LOAD_FAST 3,482,880 46.8%
COMPARE_OP_FLOAT 1,490,880 20.0%
STORE_FAST 1,474,560 19.8%
JUMP_FORWARD 989,760 13.3%

LOAD_CONST_IMMORTAL

Successors and predecessors for LOAD_CONST_IMMORTAL
Predecessors Count Percentage
STORE_ATTR_SLOT 1,480,920 100.0%
POP_TOP 180 0.0%
STORE_FAST 180 0.0%
LOAD_FAST 120 0.0%
LOAD_CONST_IMMORTAL 120 0.0%
Successors Count Percentage
RETURN_VALUE 1,481,100 100.0%
BUILD_LIST 120 0.0%
STORE_FAST 120 0.0%
LOAD_CONST_IMMORTAL 120 0.0%
IS_OP 60 0.0%

LOAD_CONST_MORTAL

Successors and predecessors for LOAD_CONST_MORTAL
Predecessors Count Percentage
LOAD_FAST 120 50.0%
BUILD_TUPLE 60 25.0%
POP_JUMP_IF_NOT_NONE 60 25.0%
Successors Count Percentage
BINARY_SUBSCR 120 50.0%
MAKE_FUNCTION 60 25.0%
STORE_FAST 60 25.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
STORE_FAST 120 66.7%
POP_JUMP_IF_FALSE 40 22.2%
LOAD_GLOBAL 20 11.1%
Successors Count Percentage
LOAD_FAST 180 100.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
STORE_FAST 1,972,480 66.6%
RESUME_CHECK 989,520 33.4%
POP_ITER 120 0.0%
LOAD_GLOBAL 80 0.0%
Successors Count Percentage
LOAD_FAST 2,470,440 83.4%
LOAD_FAST_LOAD_FAST 491,580 16.6%
LOAD_ATTR_MODULE 120 0.0%
LOAD_ATTR 60 0.0%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 983,340 49.8%
ENTER_EXECUTOR 497,760 25.2%
CALL_ALLOC_AND_ENTER_INIT 491,520 24.9%
CACHE 180 0.0%
JUMP_BACKWARD_JIT 120 0.0%
Successors Count Percentage
LOAD_GLOBAL_MODULE 989,520 50.2%
LOAD_FAST 983,340 49.8%
LOAD_CONST_IMMORTAL 120 0.0%
LOAD_GLOBAL 60 0.0%

STORE_ATTR_SLOT

Successors and predecessors for STORE_ATTR_SLOT
Predecessors Count Percentage
LOAD_FAST 4,475,400 75.2%
SWAP 1,474,560 24.8%
Successors Count Percentage
LOAD_FAST 2,490,240 41.9%
LOAD_CONST_IMMORTAL 1,480,920 24.9%
LOAD_FAST_LOAD_FAST 989,400 16.6%
STORE_FAST 989,400 16.6%

STORE_SUBSCR_LIST_INT

Successors and predecessors for STORE_SUBSCR_LIST_INT
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 12,000,000 100.0%
Successors Count Percentage
ENTER_EXECUTOR 11,508,480 95.9%
JUMP_BACKWARD_JIT 491,520 4.1%

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
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_SUBSCR_LIST_INT 11,508,480 99.8%
STORE_FAST 16,320 0.1%
ENTER_EXECUTOR 6,480 0.1%
Successors Count Percentage
RETURN_VALUE 11,010,600 95.5%
RESUME_CHECK 497,760 4.3%
LOAD_FAST 16,200 0.1%
ENTER_EXECUTOR 6,480 0.1%
POP_ITER 240 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,474,680 1.5%
hit

Specialized instructions that complete.

96,000,060 98.5%
Success Count Ratio
Success 20 5.0%
Failure 380 95.0%
Failure kind Count Ratio
true divide float 360 94.7%
multiply different types 20 5.3%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
deferred

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

120 35.3%
hit

Specialized instructions that complete.

180 52.9%
Success Count Ratio
Success 20 50.0%
Failure 20 50.0%
Failure kind Count Ratio
list slice 20 100.0%

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

72,000,540 100.0%
Success Count Ratio
Success 260 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

35,999,700 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.

1,474,740 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.

203,999,460 100.0%
Success Count Ratio
Success 200 90.9%
Failure 20 9.1%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

2,962,380 100.0%
Success Count Ratio
Success 100 100.0%
Failure 0 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

107,999,640 100.0%

STORE_SUBSCR

specialization stats for STORE_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

12,000,000 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 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.

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.

94,670,520 66.3%
Not specialized

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

1,476,080 1.0%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

46,594,680 32.6%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

6,960 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
BINARY_OP 1,474,680 100.0%
BINARY_SUBSCR 120 0.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%
CALL_FUNCTION_EX 0 0.0%
EXIT_INIT_CHECK 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 6,960 50.0%
RESUME_CHECK 6,960 50.0%
CACHE 0 0.0%
CALL_FUNCTION_EX 0 0.0%
EXIT_INIT_CHECK 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 0 0.0%
POP_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 180 0.0%
Calls to Python functions inlined 36,000,300 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 48,000,480 133.3%

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 143,990,800 75.0%
Frees to freelist 143,990,760
Allocations 48,001,660 25.0%
Allocations to 512 bytes 48,000,940 25.0%
Allocations to 4 kbytes 360 0.0%
Allocations over 4 kbytes 360 0.0%
Frees 48,002,020
Inline values 0
Interpreter mortal increfs 86,971,080 8.9%
Interpreter mortal decrefs 259,070,800 21.4%
Mortal increfs 846,977,267 86.2%
Mortal decrefs 866,869,687 71.7%
Interpreter immortal increfs 615,900 0.1%
Interpreter immortal decrefs 38,625,840 3.2%
Immortal increfs 47,510,827 4.8%
Immortal decrefs 45,056,787 3.7%
Materialize dict (on request) 0
Materialize dict (new key) 0
Materialize dict (too big) 0
Materialize dict (str subclass) 0
Method cache hits 193
Method cache misses 27
Method cache collisions 18
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 5,880 160 142,183,124 6,325,940 11,437,560
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,120
Traces created

The number of traces that were successfully created.

480 15.4%
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.

2,760 88.5%
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.

2,640 84.6%
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

22,542,240
Uops executed

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

2,656,243,560 11,783.4%
Count Ratio
Optimizer attempts

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

480
Optimizer successes

The number of traces that were successfully optimized.

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

JIT memory stats

JIT memory stats
Size (bytes) Ratio
Total memory size

The total size of the memory allocated for the JIT traces

7,864,320
Code size

The size of the memory allocated for the code of the JIT traces

5,943,960 75.6%
Trampoline size

The size of the memory allocated for the trampolines of the JIT traces

0 0.0%
Data size

The size of the memory allocated for the data of the JIT traces

1,026,240 13.0%
Padding size

The size of the memory allocated for the padding of the JIT traces

894,120 11.4%
Freed memory size

The size of the memory freed from the JIT traces

7,864,320 100.0%

JIT trace total memory histogram

JIT trace total memory histogram
Size (bytes) Count Ratio
<= 8,192 120 25.0%
<= 16,384 120 25.0%
<= 32,768 240 50.0%

Trace length histogram

trace length histogram
Range Count Ratio
<= 32 120 25.0%
<= 64 120 25.0%
<= 128 120 25.0%
<= 256 120 25.0%

Optimized trace length histogram

optimized trace length histogram
Range Count Ratio
<= 32 120 25.0%
<= 64 120 25.0%
<= 128 240 50.0%

Trace run length histogram

trace run length histogram

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_SET_IP 341,719,800 12.9% 12.9%
_CHECK_VALIDITY 295,702,440 11.1% 24.0%
_LOAD_FAST_0 217,068,360 8.2% 32.2%
_LOAD_ATTR_SLOT 172,560,840 6.5% 38.7%
_STORE_ATTR_SLOT 102,049,680 3.8% 42.5%
_LOAD_FAST_1 91,055,280 3.4% 45.9%
_GUARD_BOTH_FLOAT 80,044,800 3.0% 48.9%
_CHECK_PERIODIC 68,055,360 2.6% 51.5%
_LOAD_FAST_2 68,055,000 2.6% 54.1%
_MAKE_WARM 45,542,760 1.7% 55.8%
_COPY 45,536,040 1.7% 57.5%
_BINARY_OP_MULTIPLY_FLOAT 45,536,040 1.7% 59.2%
_STORE_FAST_2 45,535,920 1.7% 60.9%
_GUARD_TYPE_VERSION 45,535,800 1.7% 62.6%
_PUSH_NULL 45,038,160 1.7% 64.3%
_LOAD_CONST_INLINE 45,038,160 1.7% 66.0%
_SWAP 34,525,440 1.3% 67.3%
_BINARY_OP 34,525,440 1.3% 68.6%
_LOAD_FAST_3 34,525,440 1.3% 69.9%
_LOAD_FAST_4 34,525,440 1.3% 71.2%
_PUSH_FRAME 34,525,320 1.3% 72.5%
_GUARD_IS_TRUE_POP 34,508,760 1.3% 73.8% 0.0%
_COMPARE_OP_FLOAT 34,508,760 1.3% 75.1%
_CHECK_FUNCTION 34,027,560 1.3% 76.4%
_CALL_BUILTIN_O 33,529,680 1.3% 77.7%
_GUARD_NOT_EXHAUSTED_LIST 23,017,080 0.9% 78.5% 0.0%
_ITER_CHECK_LIST 23,017,080 0.9% 79.4%
_BINARY_OP_ADD_FLOAT 23,016,960 0.9% 80.3%
_STORE_FAST_3 23,016,960 0.9% 81.1%
_RESUME_CHECK 23,016,840 0.9% 82.0%
_CHECK_FUNCTION_EXACT_ARGS 23,016,840 0.9% 82.9%
_CHECK_FUNCTION_VERSION 23,016,840 0.9% 83.7%
_CHECK_STACK_SPACE_OPERAND 23,016,840 0.9% 84.6%
_ITER_NEXT_LIST 23,016,840 0.9% 85.5%
_LOAD_ATTR_METHOD_NO_DICT 23,016,840 0.9% 86.3%
_SAVE_RETURN_OFFSET 23,016,840 0.9% 87.2%
_RETURN_VALUE 23,000,520 0.9% 88.1%
_JUMP_TO_TOP 23,000,520 0.9% 88.9%
_STORE_FAST_1 23,000,520 0.9% 89.8%
_START_EXECUTOR 22,542,240 0.8% 90.7%
_CHECK_VALIDITY_AND_SET_IP 22,519,080 0.8% 91.5%
_LOAD_CONST_INLINE_BORROW 22,519,080 0.8% 92.4%
_BINARY_OP_EXTEND 22,021,200 0.8% 93.2%
_GUARD_BINARY_OP_EXTEND 22,021,200 0.8% 94.0%
_GUARD_NOT_EXHAUSTED_RANGE 11,508,600 0.4% 94.4% 0.0%
_ITER_CHECK_RANGE 11,508,600 0.4% 94.9%
_POP_TOP 11,508,480 0.4% 95.3%
_CHECK_AND_ALLOCATE_OBJECT 11,508,480 0.4% 95.7%
_CREATE_INIT_FRAME 11,508,480 0.4% 96.2%
_DYNAMIC_EXIT 11,508,480 0.4% 96.6%
_INIT_CALL_PY_EXACT_ARGS_0 11,508,480 0.4% 97.0%
_ITER_NEXT_RANGE 11,508,480 0.4% 97.5%
_STORE_FAST_4 11,508,480 0.4% 97.9%
_INIT_CALL_PY_EXACT_ARGS_1 11,508,360 0.4% 98.3%
_EXIT_TRACE 11,027,280 0.4% 98.8%
_TIER2_RESUME_CHECK 11,017,080 0.4% 99.2% 0.1%
_LOAD_SMALL_INT_2 11,010,600 0.4% 99.6%
_LOAD_SMALL_INT_3 11,010,600 0.4% 100.0%
_DEOPT 6,480 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.

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-02-06