Skip to content

Latest commit

 

History

History
7468 lines (6788 loc) · 132 KB

bm-20241025-azure-x86_64-brandtbucher-justin_no_externs-3.14.0a1+-64b198a-pystats-json.md

File metadata and controls

7468 lines (6788 loc) · 132 KB

Pystats results

  • benchmark: json
  • fork: brandtbucher
  • ref: justin-no-externs
  • commit hash: 64b198a
  • commit date: 2024-10-25T10:03:36-07: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 8,260,140 19.0% 19.0%
RETURN_VALUE 6,192,360 14.3% 33.3%
STORE_FAST 2,066,360 4.8% 38.1%
ENTER_EXECUTOR 2,066,100 4.8% 42.9%
LOAD_FAST_LOAD_FAST 2,065,320 4.8% 47.6%
PUSH_NULL 2,065,120 4.8% 52.4%
POP_TOP 2,065,100 4.8% 57.1%
CALL_NON_PY_GENERAL 2,065,040 4.8% 61.9%
LOAD_ATTR_METHOD_NO_DICT 2,064,940 4.8% 66.7%
STORE_FAST_STORE_FAST 2,064,220 4.8% 71.4%
UNPACK_SEQUENCE_TWO_TUPLE 2,064,220 4.8% 76.2%
LOAD_GLOBAL_BUILTIN 2,064,160 4.8% 80.9%
POP_JUMP_IF_FALSE 2,064,100 4.8% 85.7%
CALL_METHOD_DESCRIPTOR_FAST 2,064,100 4.8% 90.5%
CALL_LEN 2,064,000 4.8% 95.2%
COMPARE_OP_INT 2,064,000 4.8% 100.0%
LOAD_GLOBAL_MODULE 1,180 0.0% 100.0%
LOAD_CONST 1,020 0.0% 100.0%
LOAD_ATTR_MODULE 920 0.0% 100.0%
RESUME_CHECK 740 0.0% 100.0% 10.8%
CALL_LIST_APPEND 720 0.0% 100.0%
BINARY_OP_ADD_FLOAT 660 0.0% 100.0% 9.1%
BINARY_OP_SUBTRACT_FLOAT 620 0.0% 100.0%
LOAD_ATTR 460 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE 400 0.0% 100.0%
CALL 380 0.0% 100.0%
CALL_PY_EXACT_ARGS 360 0.0% 100.0%
RETURN_CONST 300 0.0% 100.0%
BUILD_TUPLE 220 0.0% 100.0%
POP_JUMP_IF_NOT_NONE 180 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE 180 0.0% 100.0%
LOAD_GLOBAL 160 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES 160 0.0% 100.0%
POP_JUMP_IF_TRUE 140 0.0% 100.0%
CALL_PY_GENERAL 140 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_NOARGS 120 0.0% 100.0% 50.0%
GET_ITER 120 0.0% 100.0%
INTERPRETER_EXIT 120 0.0% 100.0%
TO_BOOL 120 0.0% 100.0%
BUILD_LIST 120 0.0% 100.0%
CALL_FUNCTION_EX 120 0.0% 100.0%
LOAD_DEREF 120 0.0% 100.0%
LOAD_SPECIAL 120 0.0% 100.0%
SWAP 120 0.0% 100.0%
NOP 100 0.0% 100.0%
TO_BOOL_BOOL 100 0.0% 100.0%
JUMP_FORWARD 80 0.0% 100.0%
BINARY_SLICE 60 0.0% 100.0%
MAKE_FUNCTION 60 0.0% 100.0%
BINARY_OP 60 0.0% 100.0%
CALL_INTRINSIC_1 60 0.0% 100.0%
COPY 60 0.0% 100.0%
COPY_FREE_VARS 60 0.0% 100.0%
FOR_ITER 60 0.0% 100.0%
IS_OP 60 0.0% 100.0%
JUMP_BACKWARD 60 0.0% 100.0%
LIST_EXTEND 60 0.0% 100.0%
LOAD_FAST_CHECK 60 0.0% 100.0%
MAKE_CELL 60 0.0% 100.0%
SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
STORE_DEREF 60 0.0% 100.0%
BINARY_SUBSCR_TUPLE_INT 60 0.0% 100.0%
CALL_BUILTIN_CLASS 60 0.0% 100.0%
CALL_BUILTIN_FAST 60 0.0% 100.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 60 0.0% 100.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0% 100.0%
FOR_ITER_LIST 60 0.0% 100.0%
FOR_ITER_RANGE 60 0.0% 100.0%
LOAD_ATTR_CLASS 60 0.0% 100.0%
TO_BOOL_STR 60 0.0% 100.0%
UNPACK_SEQUENCE 40 0.0% 100.0%
BINARY_SUBSCR 20 0.0% 100.0%
CALL_ISINSTANCE 20 0.0% 100.0%
CALL_KW_PY 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
STORE_FAST LOAD_FAST 2,065,140 4.8% 4.8%
UNPACK_SEQUENCE_TWO_TUPLE STORE_FAST_STORE_FAST 2,064,220 4.8% 9.5%
LOAD_FAST RETURN_VALUE 2,064,180 4.8% 14.3%
LOAD_FAST PUSH_NULL 2,064,120 4.8% 19.0%
STORE_FAST_STORE_FAST LOAD_FAST 2,064,120 4.8% 23.8%
LOAD_FAST_LOAD_FAST CALL_NON_PY_GENERAL 2,064,080 4.8% 28.6%
POP_JUMP_IF_FALSE LOAD_FAST 2,064,080 4.8% 33.3%
LOAD_GLOBAL_BUILTIN LOAD_FAST 2,064,080 4.8% 38.1%
PUSH_NULL LOAD_FAST_LOAD_FAST 2,064,060 4.8% 42.8%
RETURN_VALUE POP_TOP 2,064,060 4.8% 47.6%
RETURN_VALUE RETURN_VALUE 2,064,060 4.8% 52.4%
CALL_METHOD_DESCRIPTOR_FAST STORE_FAST 2,064,060 4.8% 57.1%
RETURN_VALUE UNPACK_SEQUENCE_TWO_TUPLE 2,064,040 4.8% 61.9%
LOAD_FAST LOAD_GLOBAL_BUILTIN 2,064,020 4.8% 66.6%
CALL_NON_PY_GENERAL LOAD_ATTR_METHOD_NO_DICT 2,064,020 4.8% 71.4%
LOAD_ATTR_METHOD_NO_DICT CALL_METHOD_DESCRIPTOR_FAST 2,064,020 4.8% 76.1%
POP_TOP ENTER_EXECUTOR 2,064,000 4.8% 80.9%
LOAD_FAST CALL_LEN 2,064,000 4.8% 85.7%
CALL_LEN COMPARE_OP_INT 2,064,000 4.8% 90.4%
COMPARE_OP_INT POP_JUMP_IF_FALSE 2,064,000 4.8% 95.2%
ENTER_EXECUTOR RETURN_VALUE 2,063,960 4.8% 99.9%
ENTER_EXECUTOR ENTER_EXECUTOR 1,340 0.0% 99.9%
LOAD_ATTR_MODULE PUSH_NULL 920 0.0% 99.9%
LOAD_GLOBAL_MODULE LOAD_ATTR_MODULE 860 0.0% 100.0%
PUSH_NULL CALL_NON_PY_GENERAL 800 0.0% 100.0%
LOAD_FAST LOAD_ATTR_METHOD_NO_DICT 720 0.0% 100.0%
CALL_NON_PY_GENERAL STORE_FAST 680 0.0% 100.0%
ENTER_EXECUTOR POP_TOP 680 0.0% 100.0%
LOAD_FAST CALL_LIST_APPEND 660 0.0% 100.0%
BINARY_OP_ADD_FLOAT STORE_FAST 660 0.0% 100.0%
CALL_LIST_APPEND ENTER_EXECUTOR 660 0.0% 100.0%
LOAD_ATTR_METHOD_NO_DICT LOAD_FAST 660 0.0% 100.0%
POP_TOP LOAD_GLOBAL_MODULE 620 0.0% 100.0%
LOAD_FAST BINARY_OP_SUBTRACT_FLOAT 620 0.0% 100.0%
LOAD_FAST_LOAD_FAST LOAD_FAST 620 0.0% 100.0%
STORE_FAST LOAD_FAST_LOAD_FAST 620 0.0% 100.0%
BINARY_OP_SUBTRACT_FLOAT BINARY_OP_ADD_FLOAT 620 0.0% 100.0%
STORE_FAST LOAD_CONST 300 0.0% 100.0%
CALL_PY_EXACT_ARGS RESUME_CHECK 300 0.0% 100.0%
LOAD_FAST LOAD_ATTR 280 0.0% 100.0%
RESUME_CHECK LOAD_FAST 260 0.0% 100.0%
LOAD_CONST LOAD_CONST 240 0.0% 100.0%
LOAD_CONST STORE_FAST 240 0.0% 100.0%
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 240 0.0% 100.0%
PUSH_NULL LOAD_FAST 200 0.0% 100.0%
LOAD_FAST LOAD_CONST 200 0.0% 100.0%
CACHE RESUME_CHECK 180 0.0% 100.0%
POP_TOP RETURN_CONST 180 0.0% 100.0%
LOAD_FAST POP_JUMP_IF_NOT_NONE 180 0.0% 100.0%
RETURN_CONST POP_TOP 180 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL_MODULE 180 0.0% 100.0%
LOAD_FAST_LOAD_FAST BUILD_TUPLE 160 0.0% 100.0%
LOAD_FAST_LOAD_FAST CALL_PY_EXACT_ARGS 140 0.0% 100.0%
POP_TOP LOAD_FAST 120 0.0% 100.0%
RETURN_VALUE STORE_FAST 120 0.0% 100.0%
LOAD_ATTR LOAD_FAST_LOAD_FAST 120 0.0% 100.0%
LOAD_FAST STORE_ATTR_INSTANCE_VALUE 120 0.0% 100.0%
LOAD_GLOBAL LOAD_GLOBAL_MODULE 120 0.0% 100.0%
POP_JUMP_IF_NOT_NONE LOAD_FAST 120 0.0% 100.0%
CALL_NON_PY_GENERAL POP_TOP 120 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE LOAD_FAST 120 0.0% 100.0%
STORE_ATTR_INSTANCE_VALUE RETURN_CONST 120 0.0% 100.0%
NOP LOAD_FAST 100 0.0% 100.0%
BUILD_TUPLE RETURN_VALUE 100 0.0% 100.0%
CALL CALL_NON_PY_GENERAL 100 0.0% 100.0%
CALL CALL_PY_EXACT_ARGS 100 0.0% 100.0%
LOAD_FAST LOAD_ATTR_METHOD_WITH_VALUES 100 0.0% 100.0%
LOAD_FAST_LOAD_FAST LOAD_ATTR_INSTANCE_VALUE 100 0.0% 100.0%
STORE_FAST LOAD_GLOBAL_MODULE 100 0.0% 100.0%
STORE_FAST_STORE_FAST LOAD_FAST_LOAD_FAST 100 0.0% 100.0%
JUMP_FORWARD LOAD_FAST 80 0.0% 100.0%
LOAD_ATTR LOAD_ATTR_METHOD_NO_DICT 80 0.0% 100.0%
LOAD_FAST CALL_PY_GENERAL 80 0.0% 100.0%
POP_JUMP_IF_TRUE LOAD_GLOBAL_MODULE 80 0.0% 100.0%
CALL_PY_GENERAL ENTER_EXECUTOR 80 0.0% 100.0%
LOAD_ATTR_INSTANCE_VALUE LOAD_ATTR_METHOD_NO_DICT 80 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST 80 0.0% 100.0%
LOAD_ATTR_METHOD_WITH_VALUES LOAD_FAST_LOAD_FAST 80 0.0% 100.0%
RESUME_CHECK LOAD_GLOBAL 80 0.0% 100.0%
ENTER_EXECUTOR RESUME_CHECK 80 0.0% 100.0%
BINARY_SLICE LOAD_FAST 60 0.0% 100.0%
GET_ITER FOR_ITER_LIST 60 0.0% 100.0%
GET_ITER FOR_ITER_RANGE 60 0.0% 100.0%
MAKE_FUNCTION SET_FUNCTION_ATTRIBUTE 60 0.0% 100.0%
POP_TOP JUMP_BACKWARD 60 0.0% 100.0%
POP_TOP LOAD_CONST 60 0.0% 100.0%
POP_TOP LOAD_FAST_CHECK 60 0.0% 100.0%
PUSH_NULL CALL 60 0.0% 100.0%
RETURN_VALUE INTERPRETER_EXIT 60 0.0% 100.0%
TO_BOOL POP_JUMP_IF_FALSE 60 0.0% 100.0%
BINARY_OP STORE_FAST 60 0.0% 100.0%
BUILD_LIST LOAD_DEREF 60 0.0% 100.0%
BUILD_LIST STORE_FAST 60 0.0% 100.0%
BUILD_TUPLE LOAD_CONST 60 0.0% 100.0%
CALL_FUNCTION_EX RESUME_CHECK 60 0.0% 100.0%
CALL_INTRINSIC_1 CALL_FUNCTION_EX 60 0.0% 100.0%
COPY LOAD_SPECIAL 60 0.0% 100.0%
COPY_FREE_VARS RESUME_CHECK 60 0.0% 100.0%
FOR_ITER LOAD_FAST 60 0.0% 100.0%
IS_OP STORE_FAST 60 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_CONST 60 100.0%
Successors Count Percentage
LOAD_FAST 60 100.0%

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 20 100.0%
Successors Count Percentage
BINARY_SUBSCR_TUPLE_INT 20 100.0%

GET_ITER

Successors and predecessors for GET_ITER
Predecessors Count Percentage
LOAD_FAST 60 50.0%
CALL_BUILTIN_CLASS 60 50.0%
Successors Count Percentage
FOR_ITER_LIST 60 50.0%
FOR_ITER_RANGE 60 50.0%

INTERPRETER_EXIT

Successors and predecessors for INTERPRETER_EXIT
Predecessors Count Percentage
RETURN_VALUE 60 50.0%
RETURN_CONST 60 50.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 60.0%
RESUME_CHECK 40 40.0%
Successors Count Percentage
LOAD_FAST 100 100.0%

POP_TOP

Successors and predecessors for POP_TOP
Predecessors Count Percentage
RETURN_VALUE 2,064,060 99.9%
ENTER_EXECUTOR 680 0.0%
RETURN_CONST 180 0.0%
CALL_NON_PY_GENERAL 120 0.0%
CALL_METHOD_DESCRIPTOR_O 60 0.0%
Successors Count Percentage
ENTER_EXECUTOR 2,064,000 99.9%
LOAD_GLOBAL_MODULE 620 0.0%
RETURN_CONST 180 0.0%
LOAD_FAST 120 0.0%
JUMP_BACKWARD 60 0.0%

PUSH_NULL

Successors and predecessors for PUSH_NULL
Predecessors Count Percentage
LOAD_FAST 2,064,120 100.0%
LOAD_ATTR_MODULE 920 0.0%
LOAD_DEREF 60 0.0%
LOAD_FAST_LOAD_FAST 20 0.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 2,064,060 99.9%
CALL_NON_PY_GENERAL 800 0.0%
LOAD_FAST 200 0.0%
CALL 60 0.0%

RETURN_VALUE

Successors and predecessors for RETURN_VALUE
Predecessors Count Percentage
LOAD_FAST 2,064,180 33.3%
RETURN_VALUE 2,064,060 33.3%
ENTER_EXECUTOR 2,063,960 33.3%
BUILD_TUPLE 100 0.0%
CALL_NON_PY_GENERAL 60 0.0%
Successors Count Percentage
POP_TOP 2,064,060 33.3%
RETURN_VALUE 2,064,060 33.3%
UNPACK_SEQUENCE_TWO_TUPLE 2,064,040 33.3%
STORE_FAST 120 0.0%
INTERPRETER_EXIT 60 0.0%

TO_BOOL

Successors and predecessors for TO_BOOL
Predecessors Count Percentage
LOAD_ATTR_INSTANCE_VALUE 60 50.0%
LOAD_FAST 40 33.3%
TO_BOOL 20 16.7%
Successors Count Percentage
POP_JUMP_IF_FALSE 60 50.0%
TO_BOOL 20 16.7%
POP_JUMP_IF_TRUE 20 16.7%
TO_BOOL_BOOL 20 16.7%

BINARY_OP

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

BUILD_LIST

Successors and predecessors for BUILD_LIST
Predecessors Count Percentage
LOAD_FAST 60 50.0%
STORE_FAST 60 50.0%
Successors Count Percentage
LOAD_DEREF 60 50.0%
STORE_FAST 60 50.0%

BUILD_TUPLE

Successors and predecessors for BUILD_TUPLE
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 160 72.7%
LOAD_FAST 60 27.3%
Successors Count Percentage
RETURN_VALUE 100 45.5%
LOAD_CONST 60 27.3%
CALL_METHOD_DESCRIPTOR_O 40 18.2%
CALL 20 9.1%

CALL

Successors and predecessors for CALL
Predecessors Count Percentage
PUSH_NULL 60 15.8%
LOAD_CONST 60 15.8%
LOAD_FAST_LOAD_FAST 60 15.8%
LOAD_FAST 40 10.5%
LOAD_ATTR_METHOD_NO_DICT 40 10.5%
Successors Count Percentage
CALL_NON_PY_GENERAL 100 26.3%
CALL_PY_EXACT_ARGS 100 26.3%
CALL_METHOD_DESCRIPTOR_NOARGS 40 10.5%
CALL_BUILTIN_CLASS 20 5.3%
CALL_BUILTIN_FAST_WITH_KEYWORDS 20 5.3%

CALL_FUNCTION_EX

Successors and predecessors for CALL_FUNCTION_EX
Predecessors Count Percentage
CALL_INTRINSIC_1 60 50.0%
LOAD_FAST 60 50.0%
Successors Count Percentage
RESUME_CHECK 60 100.0%

CALL_INTRINSIC_1

Successors and predecessors for CALL_INTRINSIC_1
Predecessors Count Percentage
LIST_EXTEND 60 100.0%
Successors Count Percentage
CALL_FUNCTION_EX 60 100.0%

COPY

Successors and predecessors for COPY
Predecessors Count Percentage
CALL_BUILTIN_FAST_WITH_KEYWORDS 60 100.0%
Successors Count Percentage
LOAD_SPECIAL 60 100.0%

COPY_FREE_VARS

Successors and predecessors for COPY_FREE_VARS
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 60 100.0%
Successors Count Percentage
RESUME_CHECK 60 100.0%

FOR_ITER

Successors and predecessors for FOR_ITER
Predecessors Count Percentage
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 60 100.0%
Successors Count Percentage
STORE_FAST 60 100.0%

JUMP_BACKWARD

Successors and predecessors for JUMP_BACKWARD
Predecessors Count Percentage
POP_TOP 60 100.0%
Successors Count Percentage
FOR_ITER 60 100.0%

JUMP_FORWARD

Successors and predecessors for JUMP_FORWARD
Predecessors Count Percentage
STORE_FAST 60 75.0%
POP_JUMP_IF_FALSE 20 25.0%
Successors Count Percentage
LOAD_FAST 80 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 280 60.9%
LOAD_GLOBAL_MODULE 60 13.0%
LOAD_ATTR 40 8.7%
LOAD_ATTR_INSTANCE_VALUE 40 8.7%
LOAD_FAST_CHECK 20 4.3%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 120 26.1%
LOAD_ATTR_METHOD_NO_DICT 80 17.4%
LOAD_ATTR_INSTANCE_VALUE 60 13.0%
LOAD_ATTR_MODULE 60 13.0%
LOAD_ATTR 40 8.7%

LOAD_CONST

Successors and predecessors for LOAD_CONST
Predecessors Count Percentage
STORE_FAST 300 29.4%
LOAD_CONST 240 23.5%
LOAD_FAST 200 19.6%
POP_TOP 60 5.9%
BUILD_TUPLE 60 5.9%
Successors Count Percentage
LOAD_CONST 240 23.5%
STORE_FAST 240 23.5%
BINARY_SLICE 60 5.9%
MAKE_FUNCTION 60 5.9%
CALL 60 5.9%

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
STORE_FAST 2,065,140 25.0%
STORE_FAST_STORE_FAST 2,064,120 25.0%
POP_JUMP_IF_FALSE 2,064,080 25.0%
LOAD_GLOBAL_BUILTIN 2,064,080 25.0%
LOAD_ATTR_METHOD_NO_DICT 660 0.0%
Successors Count Percentage
RETURN_VALUE 2,064,180 25.0%
PUSH_NULL 2,064,120 25.0%
LOAD_GLOBAL_BUILTIN 2,064,020 25.0%
CALL_LEN 2,064,000 25.0%
LOAD_ATTR_METHOD_NO_DICT 720 0.0%

LOAD_FAST_CHECK

Successors and predecessors for LOAD_FAST_CHECK
Predecessors Count Percentage
POP_TOP 60 100.0%
Successors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 40 66.7%
LOAD_ATTR 20 33.3%

LOAD_FAST_LOAD_FAST

Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors Count Percentage
PUSH_NULL 2,064,060 99.9%
STORE_FAST 620 0.0%
LOAD_ATTR 120 0.0%
STORE_FAST_STORE_FAST 100 0.0%
LOAD_ATTR_METHOD_WITH_VALUES 80 0.0%
Successors Count Percentage
CALL_NON_PY_GENERAL 2,064,080 99.9%
LOAD_FAST 620 0.0%
BUILD_TUPLE 160 0.0%
CALL_PY_EXACT_ARGS 140 0.0%
LOAD_ATTR_INSTANCE_VALUE 100 0.0%

LOAD_GLOBAL

Successors and predecessors for LOAD_GLOBAL
Predecessors Count Percentage
RESUME_CHECK 80 50.0%
STORE_FAST 40 25.0%
LOAD_ATTR_METHOD_NO_DICT 20 12.5%
LOAD_GLOBAL_BUILTIN 20 12.5%
Successors Count Percentage
LOAD_GLOBAL_MODULE 120 75.0%
LOAD_GLOBAL_BUILTIN 40 25.0%

LOAD_SPECIAL

Successors and predecessors for LOAD_SPECIAL
Predecessors Count Percentage
COPY 60 50.0%
SWAP 60 50.0%
Successors Count Percentage
SWAP 60 50.0%
CALL_METHOD_DESCRIPTOR_NOARGS 40 33.3%
CALL 20 16.7%

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 2,064,000 100.0%
TO_BOOL 60 0.0%
TO_BOOL_BOOL 40 0.0%
Successors Count Percentage
LOAD_FAST 2,064,080 100.0%
JUMP_FORWARD 20 0.0%

POP_JUMP_IF_NOT_NONE

Successors and predecessors for POP_JUMP_IF_NOT_NONE
Predecessors Count Percentage
LOAD_FAST 180 100.0%
Successors Count Percentage
LOAD_FAST 120 66.7%
LOAD_CONST 60 33.3%

POP_JUMP_IF_TRUE

Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors Count Percentage
TO_BOOL_BOOL 60 42.9%
TO_BOOL_STR 60 42.9%
TO_BOOL 20 14.3%
Successors Count Percentage
LOAD_GLOBAL_MODULE 80 57.1%
NOP 60 42.9%

RETURN_CONST

Successors and predecessors for RETURN_CONST
Predecessors Count Percentage
POP_TOP 180 60.0%
STORE_ATTR_INSTANCE_VALUE 120 40.0%
Successors Count Percentage
POP_TOP 180 60.0%
INTERPRETER_EXIT 60 20.0%
STORE_FAST 60 20.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
CALL_METHOD_DESCRIPTOR_FAST 2,064,060 99.9%
CALL_NON_PY_GENERAL 680 0.0%
BINARY_OP_ADD_FLOAT 660 0.0%
LOAD_CONST 240 0.0%
RETURN_VALUE 120 0.0%
Successors Count Percentage
LOAD_FAST 2,065,140 99.9%
LOAD_FAST_LOAD_FAST 620 0.0%
LOAD_CONST 300 0.0%
LOAD_GLOBAL_MODULE 100 0.0%
BUILD_LIST 60 0.0%

STORE_FAST_STORE_FAST

Successors and predecessors for STORE_FAST_STORE_FAST
Predecessors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 2,064,220 100.0%
Successors Count Percentage
LOAD_FAST 2,064,120 100.0%
LOAD_FAST_LOAD_FAST 100 0.0%

SWAP

Successors and predecessors for SWAP
Predecessors Count Percentage
LOAD_SPECIAL 60 50.0%
SWAP 60 50.0%
Successors Count Percentage
LOAD_SPECIAL 60 50.0%
SWAP 60 50.0%

UNPACK_SEQUENCE

Successors and predecessors for UNPACK_SEQUENCE
Predecessors Count Percentage
RETURN_VALUE 20 50.0%
CALL_METHOD_DESCRIPTOR_NOARGS 20 50.0%
Successors Count Percentage
UNPACK_SEQUENCE_TWO_TUPLE 40 100.0%

BINARY_OP_ADD_FLOAT

Successors and predecessors for BINARY_OP_ADD_FLOAT
Predecessors Count Percentage
BINARY_OP_SUBTRACT_FLOAT 620 93.9%
ENTER_EXECUTOR 40 6.1%
Successors Count Percentage
STORE_FAST 660 100.0%

BINARY_OP_SUBTRACT_FLOAT

Successors and predecessors for BINARY_OP_SUBTRACT_FLOAT
Predecessors Count Percentage
LOAD_FAST 620 100.0%
Successors Count Percentage
BINARY_OP_ADD_FLOAT 620 100.0%

BINARY_SUBSCR_TUPLE_INT

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

CALL_BUILTIN_CLASS

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

CALL_BUILTIN_FAST

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

CALL_BUILTIN_FAST_WITH_KEYWORDS

Successors and predecessors for CALL_BUILTIN_FAST_WITH_KEYWORDS
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 40 66.7%
CALL 20 33.3%
Successors Count Percentage
COPY 60 100.0%

CALL_ISINSTANCE

Successors and predecessors for CALL_ISINSTANCE
Predecessors Count Percentage
LOAD_GLOBAL_BUILTIN 20 100.0%
Successors Count Percentage
TO_BOOL_BOOL 20 100.0%

CALL_KW_PY

Successors and predecessors for CALL_KW_PY
Predecessors Count Percentage
LOAD_CONST 20 100.0%
Successors Count Percentage
ENTER_EXECUTOR 20 100.0%

CALL_LEN

Successors and predecessors for CALL_LEN
Predecessors Count Percentage
LOAD_FAST 2,064,000 100.0%
Successors Count Percentage
COMPARE_OP_INT 2,064,000 100.0%

CALL_LIST_APPEND

Successors and predecessors for CALL_LIST_APPEND
Predecessors Count Percentage
LOAD_FAST 660 91.7%
CALL_NON_PY_GENERAL 40 5.6%
CALL 20 2.8%
Successors Count Percentage
ENTER_EXECUTOR 660 91.7%
LOAD_FAST_LOAD_FAST 60 8.3%

CALL_METHOD_DESCRIPTOR_FAST

Successors and predecessors for CALL_METHOD_DESCRIPTOR_FAST
Predecessors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 2,064,020 100.0%
LOAD_ATTR 40 0.0%
CALL 20 0.0%
LOAD_CONST 20 0.0%
Successors Count Percentage
STORE_FAST 2,064,060 100.0%
LOAD_CONST 20 0.0%
TO_BOOL_BOOL 20 0.0%

CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS

Successors and predecessors for CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
Predecessors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 40 66.7%
CALL 20 33.3%
Successors Count Percentage
STORE_FAST 60 100.0%

CALL_METHOD_DESCRIPTOR_NOARGS

Successors and predecessors for CALL_METHOD_DESCRIPTOR_NOARGS
Predecessors Count Percentage
CALL 40 33.3%
LOAD_SPECIAL 40 33.3%
LOAD_ATTR_METHOD_NO_DICT 40 33.3%
Successors Count Percentage
STORE_FAST 60 50.0%
UNPACK_SEQUENCE_TWO_TUPLE 40 33.3%
UNPACK_SEQUENCE 20 16.7%

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
LOAD_FAST_LOAD_FAST 2,064,080 100.0%
PUSH_NULL 800 0.0%
CALL 100 0.0%
LOAD_CONST 60 0.0%
Successors Count Percentage
LOAD_ATTR_METHOD_NO_DICT 2,064,020 100.0%
STORE_FAST 680 0.0%
POP_TOP 120 0.0%
RETURN_VALUE 60 0.0%
STORE_DEREF 60 0.0%

CALL_PY_EXACT_ARGS

Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors Count Percentage
LOAD_FAST_LOAD_FAST 140 38.9%
CALL 100 27.8%
LOAD_CONST 40 11.1%
LOAD_FAST 40 11.1%
LOAD_ATTR_INSTANCE_VALUE 40 11.1%
Successors Count Percentage
RESUME_CHECK 300 83.3%
COPY_FREE_VARS 60 16.7%

CALL_PY_GENERAL

Successors and predecessors for CALL_PY_GENERAL
Predecessors Count Percentage
LOAD_FAST 80 57.1%
LOAD_CONST 40 28.6%
CALL 20 14.3%
Successors Count Percentage
ENTER_EXECUTOR 80 57.1%
MAKE_CELL 60 42.9%

COMPARE_OP_INT

Successors and predecessors for COMPARE_OP_INT
Predecessors Count Percentage
CALL_LEN 2,064,000 100.0%
Successors Count Percentage
POP_JUMP_IF_FALSE 2,064,000 100.0%

FOR_ITER_LIST

Successors and predecessors for FOR_ITER_LIST
Predecessors Count Percentage
GET_ITER 60 100.0%
Successors Count Percentage
STORE_FAST 60 100.0%

FOR_ITER_RANGE

Successors and predecessors for FOR_ITER_RANGE
Predecessors Count Percentage
GET_ITER 60 100.0%
Successors Count Percentage
STORE_FAST 60 100.0%

LOAD_ATTR_CLASS

Successors and predecessors for LOAD_ATTR_CLASS
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 60 100.0%
Successors Count Percentage
LOAD_FAST_LOAD_FAST 60 100.0%

LOAD_ATTR_INSTANCE_VALUE

Successors and predecessors for LOAD_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 240 60.0%
LOAD_FAST_LOAD_FAST 100 25.0%
LOAD_ATTR 60 15.0%
Successors Count Percentage
LOAD_FAST 120 30.0%
LOAD_ATTR_METHOD_NO_DICT 80 20.0%
TO_BOOL 60 15.0%
LOAD_ATTR 40 10.0%
LOAD_FAST_LOAD_FAST 40 10.0%

LOAD_ATTR_METHOD_NO_DICT

Successors and predecessors for LOAD_ATTR_METHOD_NO_DICT
Predecessors Count Percentage
CALL_NON_PY_GENERAL 2,064,020 100.0%
LOAD_FAST 720 0.0%
LOAD_ATTR 80 0.0%
LOAD_ATTR_INSTANCE_VALUE 80 0.0%
LOAD_FAST_CHECK 40 0.0%
Successors Count Percentage
CALL_METHOD_DESCRIPTOR_FAST 2,064,020 100.0%
LOAD_FAST 660 0.0%
LOAD_FAST_LOAD_FAST 60 0.0%
CALL 40 0.0%
CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 40 0.0%

LOAD_ATTR_METHOD_WITH_VALUES

Successors and predecessors for LOAD_ATTR_METHOD_WITH_VALUES
Predecessors Count Percentage
LOAD_FAST 100 62.5%
LOAD_ATTR 40 25.0%
LOAD_GLOBAL_MODULE 20 12.5%
Successors Count Percentage
LOAD_FAST 80 50.0%
LOAD_FAST_LOAD_FAST 80 50.0%

LOAD_ATTR_MODULE

Successors and predecessors for LOAD_ATTR_MODULE
Predecessors Count Percentage
LOAD_GLOBAL_MODULE 860 93.5%
LOAD_ATTR 60 6.5%
Successors Count Percentage
PUSH_NULL 920 100.0%

LOAD_GLOBAL_BUILTIN

Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors Count Percentage
LOAD_FAST 2,064,020 100.0%
RESUME_CHECK 60 0.0%
LOAD_GLOBAL 40 0.0%
STORE_FAST 40 0.0%
Successors Count Percentage
LOAD_FAST 2,064,080 100.0%
LOAD_GLOBAL_MODULE 40 0.0%
LOAD_GLOBAL 20 0.0%
CALL_ISINSTANCE 20 0.0%

LOAD_GLOBAL_MODULE

Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors Count Percentage
POP_TOP 620 52.5%
RESUME_CHECK 180 15.3%
LOAD_GLOBAL 120 10.2%
STORE_FAST 100 8.5%
POP_JUMP_IF_TRUE 80 6.8%
Successors Count Percentage
LOAD_ATTR_MODULE 860 72.9%
LOAD_ATTR 60 5.1%
LOAD_FAST 60 5.1%
LOAD_FAST_LOAD_FAST 60 5.1%
LOAD_ATTR_CLASS 60 5.1%

RESUME_CHECK

Successors and predecessors for RESUME_CHECK
Predecessors Count Percentage
CALL_PY_EXACT_ARGS 300 40.5%
CACHE 180 24.3%
ENTER_EXECUTOR 80 10.8%
CALL_FUNCTION_EX 60 8.1%
COPY_FREE_VARS 60 8.1%
Successors Count Percentage
LOAD_FAST 260 35.1%
LOAD_GLOBAL_MODULE 180 24.3%
LOAD_GLOBAL 80 10.8%
LOAD_DEREF 60 8.1%
LOAD_FAST_LOAD_FAST 60 8.1%

STORE_ATTR_INSTANCE_VALUE

Successors and predecessors for STORE_ATTR_INSTANCE_VALUE
Predecessors Count Percentage
LOAD_FAST 120 66.7%
LOAD_FAST_LOAD_FAST 60 33.3%
Successors Count Percentage
RETURN_CONST 120 66.7%
LOAD_FAST 60 33.3%

TO_BOOL_BOOL

Successors and predecessors for TO_BOOL_BOOL
Predecessors Count Percentage
LOAD_FAST 40 40.0%
TO_BOOL 20 20.0%
CALL_ISINSTANCE 20 20.0%
CALL_METHOD_DESCRIPTOR_FAST 20 20.0%
Successors Count Percentage
POP_JUMP_IF_TRUE 60 60.0%
POP_JUMP_IF_FALSE 40 40.0%

TO_BOOL_STR

Successors and predecessors for TO_BOOL_STR
Predecessors Count Percentage
LOAD_FAST 60 100.0%
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
RETURN_VALUE 2,064,040 100.0%
CALL_BUILTIN_FAST 60 0.0%
UNPACK_SEQUENCE 40 0.0%
CALL_METHOD_DESCRIPTOR_NOARGS 40 0.0%
CALL_NON_PY_GENERAL 40 0.0%
Successors Count Percentage
STORE_FAST_STORE_FAST 2,064,220 100.0%

ENTER_EXECUTOR

Successors and predecessors for ENTER_EXECUTOR
Predecessors Count Percentage
POP_TOP 2,064,000 99.9%
ENTER_EXECUTOR 1,340 0.1%
CALL_LIST_APPEND 660 0.0%
CALL_PY_GENERAL 80 0.0%
CALL_KW_PY 20 0.0%
Successors Count Percentage
RETURN_VALUE 2,063,960 99.9%
ENTER_EXECUTOR 1,340 0.1%
POP_TOP 680 0.0%
RESUME_CHECK 80 0.0%
BINARY_OP_ADD_FLOAT 40 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.

60 1.5%
hit

Specialized instructions that complete.

3,780 96.9%
miss

Specialized instructions that deopt.

60 1.5%

BINARY_SLICE

specialization stats for BINARY_SLICE family
Kind Count Ratio
deferred

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

60 100.0%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Count Ratio
hit

Specialized instructions that complete.

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

CALL

specialization stats for CALL family
Kind Count Ratio
hit

Specialized instructions that complete.

10,322,760 100.0%
miss

Specialized instructions that deopt.

60 0.0%
Success Count Ratio
Success 380 100.0%
Failure 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Count Ratio
hit

Specialized instructions that complete.

2,064,000 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 33.3%
hit

Specialized instructions that complete.

120 66.7%

LOAD_ATTR

specialization stats for LOAD_ATTR family
Kind Count Ratio
deferred

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

180 0.0%
hit

Specialized instructions that complete.

12,387,620 100.0%
Success Count Ratio
Success 240 85.7%
Failure 40 14.3%
Failure kind Count Ratio
not managed dict 20 50.0%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Count Ratio
hit

Specialized instructions that complete.

2,065,340 100.0%
Success Count Ratio
Success 160 100.0%
Failure 0 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Count Ratio
hit

Specialized instructions that complete.

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

80 0.0%
hit

Specialized instructions that complete.

6,192,060 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.

4,128,180 100.0%
Success Count Ratio
Success 40 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.

28,912,360 66.7%
Not specialized

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

1,360 0.0%
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

14,457,200 33.3%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

200 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Count Ratio
LOAD_ATTR 180 40.9%
TO_BOOL 80 18.2%
BINARY_SLICE 60 13.6%
BINARY_OP 60 13.6%
FOR_ITER 60 13.6%
STORE_SLICE 0 0.0%
CACHE 0 0.0%
BINARY_SUBSCR 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Count Ratio
RESUME 80 28.6%
RESUME_CHECK 80 28.6%
BINARY_OP_ADD_FLOAT 60 21.4%
CALL_METHOD_DESCRIPTOR_NOARGS 60 21.4%
CACHE 0 0.0%
GET_ITER 0 0.0%
INTERPRETER_EXIT 0 0.0%
MAKE_FUNCTION 0 0.0%
NOP 0 0.0%
POP_TOP 0 0.0%

Call stats

Inlined calls and frame stats

This shows what fraction of calls to Python functions are inlined (i.e. not having a call at the C level) and for those that are not, where the call comes from. The various categories overlap.

Also includes the count of frame objects created.

Count Ratio
Calls to PyEval_EvalDefault 180 0.0%
Calls to Python functions inlined 6,192,480 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) 60 0.0%
Calls via PyEval_EvalFrame (api) 60 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0%
Frame objects created 0 0.0%
Frames pushed 6,192,660 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 16,519,200 14.3%
Frees to freelist 16,519,200
Allocations 99,178,600 85.7%
Allocations to 512 bytes 99,076,700 85.6%
Allocations to 4 kbytes 101,600 0.1%
Allocations over 4 kbytes 300 0.0%
Frees 103,309,281
Inline values 60
Interpreter mortal increfs 30,973,680 7.4%
Interpreter mortal decrefs 61,933,960 13.7%
Mortal increfs 254,035,139 60.3%
Mortal decrefs 322,262,825 71.3%
Interpreter immortal increfs 2,620 0.0%
Interpreter immortal decrefs 14,449,820 3.2%
Immortal increfs 136,264,805 32.3%
Immortal decrefs 53,535,259 11.8%
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 2,940
Method cache misses 220
Method cache collisions 244
Method cache dunder hits 138
Method cache dunder misses 42

GC stats

GC collections and effectiveness

Collected/visits gives some measure of efficiency.

Generation Collections Objects collected Object visits
0 0 0 0
1 0 0 0
2 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.

520
Traces created

The number of traces that were successfully created.

20 3.8%
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.

500 96.2%
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 abandoced because it it too short.

500 96.2%
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

8,259,220
Uops executed

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

258,075,640 3,124.7%
Count Ratio
Optimizer attempts

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

20
Optimizer successes

The number of traces that were successfully optimized.

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

Optimized trace length histogram

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

Trace run length histogram

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

Uop execution stats

uop execution stats
Name Count Self Cumulative Miss ratio
_SET_IP 20,646,700 8.0% 8.0%
_CHECK_VALIDITY 14,454,800 5.6% 13.6%
_GUARD_IS_NONE_POP 12,383,880 4.8% 18.4%
_CHECK_PERIODIC 10,324,980 4.0% 22.4%
_GUARD_TYPE_VERSION 10,321,140 4.0% 26.4%
_LOAD_FAST_0 10,319,880 4.0% 30.4%
_MAKE_WARM 8,259,220 3.2% 33.6%
_START_EXECUTOR 8,259,220 3.2% 36.8%
_LOAD_CONST_INLINE 8,259,040 3.2% 40.0%
_LOAD_FAST_1 8,255,900 3.2% 43.2%
_TIER2_RESUME_CHECK 6,192,000 2.4% 45.6% 0.0%
_LOAD_FAST_2 6,191,920 2.4% 48.0%
_DYNAMIC_EXIT 6,191,900 2.4% 50.4%
_PUSH_FRAME 6,191,900 2.4% 52.8%
_SAVE_RETURN_OFFSET 6,191,900 2.4% 55.2%
_CALL_NON_PY_GENERAL 4,131,100 1.6% 56.8%
_CHECK_IS_NOT_PY_CALLABLE 4,131,100 1.6% 58.4%
_PUSH_NULL 4,131,080 1.6% 60.0%
_LOAD_FAST_3 4,129,800 1.6% 61.6%
_LOAD_FAST_4 4,129,240 1.6% 63.2%
_CHECK_FUNCTION 4,129,220 1.6% 64.8%
_LOAD_ATTR_METHOD_NO_DICT 4,129,220 1.6% 66.4%
_LOAD_FAST 4,129,180 1.6% 68.0%
_TO_BOOL_BOOL 4,127,960 1.6% 69.6%
_CALL_METHOD_DESCRIPTOR_FAST 4,127,960 1.6% 71.2%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 4,127,960 1.6% 72.8%
_GUARD_IS_FALSE_POP 4,127,960 1.6% 74.4%
_GUARD_KEYS_VERSION 4,127,960 1.6% 76.0%
_LOAD_ATTR_METHOD_WITH_VALUES 4,127,960 1.6% 77.6%
_LOAD_CONST_INLINE_BORROW 4,127,960 1.6% 79.2%
_CHECK_FUNCTION_VERSION 4,127,920 1.6% 80.8%
_GUARD_IS_TRUE_POP 4,127,920 1.6% 82.4%
_PY_FRAME_GENERAL 4,127,920 1.6% 84.0%
_EXIT_TRACE 2,067,240 0.8% 84.8%
_LOAD_FAST_7 2,066,540 0.8% 85.6%
_GUARD_NOT_EXHAUSTED_LIST 2,065,860 0.8% 86.4% 0.1%
_ITER_CHECK_LIST 2,065,860 0.8% 87.2%
_LOAD_FAST_5 2,065,240 0.8% 88.0%
_STORE_FAST 2,065,240 0.8% 88.8%
_STORE_FAST_4 2,065,220 0.8% 89.6%
_CALL_ISINSTANCE 2,063,980 0.8% 90.4%
_CHECK_FUNCTION_VERSION_KW 2,063,980 0.8% 91.2%
_LOAD_CONST_INLINE_WITH_NULL 2,063,980 0.8% 92.0%
_LOAD_FAST_6 2,063,980 0.8% 92.8%
_PY_FRAME_KW 2,063,980 0.8% 93.6%
_TO_BOOL 2,063,980 0.8% 94.4%
_BUILD_TUPLE 2,063,960 0.8% 95.2%
_UNPACK_SEQUENCE_TWO_TUPLE 2,063,960 0.8% 96.0%
_CHECK_MANAGED_OBJECT_HAS_VALUES 2,063,960 0.8% 96.8%
_LOAD_ATTR_INSTANCE_VALUE_1 2,063,960 0.8% 97.6%
_STORE_FAST_3 2,063,960 0.8% 98.4%
_TO_BOOL_STR 2,063,940 0.8% 99.2%
_ITER_NEXT_LIST 2,063,940 0.8% 100.0%
_GUARD_NOT_EXHAUSTED_RANGE 1,920 0.0% 100.0% 3.1%
_ITER_CHECK_RANGE 1,920 0.0% 100.0%
_GET_ITER 1,860 0.0% 100.0%
_ITER_NEXT_RANGE 1,860 0.0% 100.0%
_STORE_FAST_6 1,860 0.0% 100.0%
_STORE_FAST_7 1,860 0.0% 100.0%
_GUARD_NOS_FLOAT 1,300 0.0% 100.0% 3.1%
_POP_TOP 1,300 0.0% 100.0%
_BINARY_OP_SUBTRACT_FLOAT 1,300 0.0% 100.0%
_GUARD_BOTH_FLOAT 1,300 0.0% 100.0%
_CALL_LIST_APPEND 1,260 0.0% 100.0%
_BINARY_OP_ADD_FLOAT 1,260 0.0% 100.0%
_DEOPT 80 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: 2024-10-25