- benchmark: pidigits
- fork: python
- ref: 0ac40acec045c4ce780cf7d887fcbe4c661e82b7
- commit hash: 0ac40ac
- commit date: 2024-12-14T17:25:49+02:00
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 |
---|---|---|---|---|
BINARY_OP_MULTIPLY_INT | 4,705,020 | 14.4% | 14.4% | |
LOAD_FAST | 4,311,340 | 13.2% | 27.5% | |
LOAD_FAST_LOAD_FAST | 3,789,120 | 11.6% | 39.1% | |
LOAD_SMALL_INT | 2,910,760 | 8.9% | 48.0% | |
BINARY_OP_ADD_INT | 2,512,620 | 7.7% | 55.7% | |
STORE_FAST_STORE_FAST | 2,234,580 | 6.8% | 62.5% | |
RETURN_VALUE | 1,952,880 | 6.0% | 68.4% | |
RESUME_CHECK | 1,117,740 | 3.4% | 71.9% | |
UNPACK_SEQUENCE_TUPLE | 1,117,260 | 3.4% | 75.3% | |
LOAD_GLOBAL_MODULE | 1,078,660 | 3.3% | 78.6% | |
CALL_PY_EXACT_ARGS | 1,078,540 | 3.3% | 81.9% | |
STORE_FAST | 1,037,100 | 3.2% | 85.0% | |
BUILD_TUPLE | 1,036,320 | 3.2% | 88.2% | |
ENTER_EXECUTOR | 986,220 | 3.0% | 91.2% | |
POP_JUMP_IF_FALSE | 518,220 | 1.6% | 92.8% | |
INTERPRETER_EXIT | 518,160 | 1.6% | 94.4% | |
COMPARE_OP_INT | 518,160 | 1.6% | 95.9% | |
LOAD_GLOBAL_BUILTIN | 398,220 | 1.2% | 97.2% | |
CALL_BUILTIN_FAST | 398,100 | 1.2% | 98.4% | |
POP_TOP | 120,360 | 0.4% | 98.7% | |
LOAD_CONST | 120,240 | 0.4% | 99.1% | |
YIELD_VALUE | 120,000 | 0.4% | 99.5% | |
BINARY_OP | 81,100 | 0.2% | 99.7% | |
NOP | 42,040 | 0.1% | 99.9% | |
JUMP_BACKWARD | 42,000 | 0.1% | 100.0% | |
LOAD_CONST_IMMORTAL | 600 | 0.0% | 100.0% | |
CALL_NON_PY_GENERAL | 480 | 0.0% | 100.0% | |
PUSH_NULL | 420 | 0.0% | 100.0% | |
CALL | 380 | 0.0% | 100.0% | |
LOAD_ATTR | 280 | 0.0% | 100.0% | |
LOAD_ATTR_INSTANCE_VALUE | 240 | 0.0% | 100.0% | |
LOAD_GLOBAL | 200 | 0.0% | 100.0% | |
LOAD_ATTR_MODULE | 180 | 0.0% | 100.0% | |
MAKE_FUNCTION | 120 | 0.0% | 100.0% | |
CALL_BUILTIN_CLASS | 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% | |
RETURN_GENERATOR | 60 | 0.0% | 100.0% | |
CALL_FUNCTION_EX | 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% | |
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% | |
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% | |
BINARY_SUBSCR | 20 | 0.0% | 100.0% | |
COMPARE_OP | 20 | 0.0% | 100.0% | |
UNPACK_SEQUENCE | 20 | 0.0% | 100.0% |
Pair counts for top 100 opcode pairs
Pairs of specialized operations that deoptimize and are then followed by the corresponding unspecialized instruction are not counted as pairs.
Pair | Count | Self | Cumulative |
---|---|---|---|
LOAD_FAST_LOAD_FAST BINARY_OP_MULTIPLY_INT | 3,788,820 | 11.6% | 11.6% |
BINARY_OP_MULTIPLY_INT LOAD_FAST_LOAD_FAST | 2,072,400 | 6.3% | 17.9% |
BINARY_OP_MULTIPLY_INT BINARY_OP_ADD_INT | 1,554,300 | 4.7% | 22.6% |
LOAD_FAST UNPACK_SEQUENCE_TUPLE | 1,117,260 | 3.4% | 26.1% |
STORE_FAST_STORE_FAST STORE_FAST_STORE_FAST | 1,117,260 | 3.4% | 29.5% |
BINARY_OP_ADD_INT LOAD_FAST_LOAD_FAST | 1,117,260 | 3.4% | 32.9% |
UNPACK_SEQUENCE_TUPLE STORE_FAST_STORE_FAST | 1,117,260 | 3.4% | 36.3% |
RETURN_VALUE STORE_FAST | 1,036,440 | 3.2% | 39.5% |
RESUME_CHECK LOAD_FAST | 997,440 | 3.0% | 42.5% |
LOAD_FAST LOAD_SMALL_INT | 958,300 | 2.9% | 45.4% |
LOAD_GLOBAL_MODULE LOAD_FAST | 958,180 | 2.9% | 48.4% |
ENTER_EXECUTOR RETURN_VALUE | 955,120 | 2.9% | 51.3% |
BUILD_TUPLE RETURN_VALUE | 916,200 | 2.8% | 54.1% |
LOAD_FAST BINARY_OP_MULTIPLY_INT | 916,200 | 2.8% | 56.9% |
BINARY_OP_ADD_INT BUILD_TUPLE | 916,200 | 2.8% | 59.7% |
BINARY_OP_MULTIPLY_INT LOAD_SMALL_INT | 916,200 | 2.8% | 62.5% |
LOAD_SMALL_INT LOAD_FAST | 796,200 | 2.4% | 64.9% |
LOAD_SMALL_INT BINARY_OP_ADD_INT | 796,200 | 2.4% | 67.3% |
STORE_FAST_STORE_FAST LOAD_FAST_LOAD_FAST | 599,160 | 1.8% | 69.2% |
CALL_PY_EXACT_ARGS RESUME_CHECK | 568,300 | 1.7% | 70.9% |
LOAD_SMALL_INT CALL_PY_EXACT_ARGS | 560,080 | 1.7% | 72.6% |
CACHE RESUME_CHECK | 518,160 | 1.6% | 74.2% |
STORE_FAST_STORE_FAST LOAD_FAST | 518,160 | 1.6% | 75.8% |
COMPARE_OP_INT POP_JUMP_IF_FALSE | 518,160 | 1.6% | 77.3% |
RETURN_VALUE COMPARE_OP_INT | 518,100 | 1.6% | 78.9% |
LOAD_SMALL_INT LOAD_SMALL_INT | 518,100 | 1.6% | 80.5% |
POP_JUMP_IF_FALSE LOAD_GLOBAL_MODULE | 518,100 | 1.6% | 82.1% |
CALL_PY_EXACT_ARGS ENTER_EXECUTOR | 510,120 | 1.6% | 83.6% |
STORE_FAST LOAD_GLOBAL_MODULE | 398,180 | 1.2% | 84.9% |
RETURN_VALUE INTERPRETER_EXIT | 398,160 | 1.2% | 86.1% |
LOAD_FAST CALL_BUILTIN_FAST | 398,100 | 1.2% | 87.3% |
LOAD_FAST LOAD_GLOBAL_BUILTIN | 398,100 | 1.2% | 88.5% |
STORE_FAST ENTER_EXECUTOR | 398,100 | 1.2% | 89.7% |
BINARY_OP_ADD_INT LOAD_SMALL_INT | 398,100 | 1.2% | 90.9% |
CALL_BUILTIN_FAST CALL_PY_EXACT_ARGS | 398,100 | 1.2% | 92.2% |
LOAD_GLOBAL_BUILTIN LOAD_FAST | 398,100 | 1.2% | 93.4% |
STORE_FAST LOAD_FAST | 240,420 | 0.7% | 94.1% |
LOAD_FAST BINARY_OP_ADD_INT | 162,120 | 0.5% | 94.6% |
BINARY_OP_MULTIPLY_INT LOAD_FAST | 162,120 | 0.5% | 95.1% |
LOAD_GLOBAL_MODULE LOAD_SMALL_INT | 120,060 | 0.4% | 95.5% |
BUILD_TUPLE LOAD_FAST | 120,000 | 0.4% | 95.8% |
LOAD_CONST LOAD_FAST | 120,000 | 0.4% | 96.2% |
LOAD_FAST YIELD_VALUE | 120,000 | 0.4% | 96.6% |
LOAD_FAST CALL_PY_EXACT_ARGS | 120,000 | 0.4% | 96.9% |
LOAD_FAST LOAD_GLOBAL_MODULE | 120,000 | 0.4% | 97.3% |
LOAD_SMALL_INT BUILD_TUPLE | 120,000 | 0.4% | 97.7% |
LOAD_SMALL_INT LOAD_CONST | 120,000 | 0.4% | 98.0% |
YIELD_VALUE INTERPRETER_EXIT | 120,000 | 0.4% | 98.4% |
RESUME_CHECK POP_TOP | 119,940 | 0.4% | 98.8% |
BINARY_OP RETURN_VALUE | 81,060 | 0.2% | 99.0% |
BINARY_OP_ADD_INT BINARY_OP | 81,060 | 0.2% | 99.3% |
POP_TOP ENTER_EXECUTOR | 78,000 | 0.2% | 99.5% |
POP_TOP JUMP_BACKWARD | 42,000 | 0.1% | 99.6% |
NOP LOAD_GLOBAL_MODULE | 41,980 | 0.1% | 99.7% |
JUMP_BACKWARD NOP | 41,920 | 0.1% | 99.9% |
ENTER_EXECUTOR RESUME_CHECK | 31,100 | 0.1% | 100.0% |
LOAD_FAST PUSH_NULL | 300 | 0.0% | 100.0% |
PUSH_NULL CALL_NON_PY_GENERAL | 200 | 0.0% | 100.0% |
POP_TOP LOAD_CONST_IMMORTAL | 180 | 0.0% | 100.0% |
RETURN_VALUE POP_TOP | 180 | 0.0% | 100.0% |
STORE_FAST LOAD_CONST_IMMORTAL | 180 | 0.0% | 100.0% |
LOAD_CONST_IMMORTAL RETURN_VALUE | 180 | 0.0% | 100.0% |
CALL CALL_NON_PY_GENERAL | 160 | 0.0% | 100.0% |
LOAD_GLOBAL LOAD_GLOBAL_MODULE | 160 | 0.0% | 100.0% |
LOAD_FAST LOAD_ATTR | 140 | 0.0% | 100.0% |
LOAD_FAST LOAD_ATTR_INSTANCE_VALUE | 140 | 0.0% | 100.0% |
POP_TOP LOAD_FAST | 120 | 0.0% | 100.0% |
CALL CALL_PY_EXACT_ARGS | 120 | 0.0% | 100.0% |
LOAD_CONST MAKE_FUNCTION | 120 | 0.0% | 100.0% |
LOAD_CONST STORE_FAST | 120 | 0.0% | 100.0% |
LOAD_FAST RETURN_VALUE | 120 | 0.0% | 100.0% |
LOAD_FAST LOAD_CONST_IMMORTAL | 120 | 0.0% | 100.0% |
POP_JUMP_IF_FALSE LOAD_FAST | 120 | 0.0% | 100.0% |
CALL_BUILTIN_CLASS RETURN_VALUE | 120 | 0.0% | 100.0% |
CALL_NON_PY_GENERAL POP_TOP | 120 | 0.0% | 100.0% |
LOAD_ATTR_MODULE PUSH_NULL | 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_MODULE LOAD_ATTR_MODULE | 120 | 0.0% | 100.0% |
RESUME_CHECK LOAD_GLOBAL_MODULE | 120 | 0.0% | 100.0% |
PUSH_NULL CALL | 100 | 0.0% | 100.0% |
RESUME_CHECK LOAD_GLOBAL | 100 | 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% |
CALL_NON_PY_GENERAL CALL_BUILTIN_CLASS | 80 | 0.0% | 100.0% |
LOAD_ATTR_INSTANCE_VALUE LOAD_ATTR_METHOD_NO_DICT | 80 | 0.0% | 100.0% |
LOAD_GLOBAL_MODULE CALL_PY_EXACT_ARGS | 80 | 0.0% | 100.0% |
RESUME_CHECK LOAD_GLOBAL_BUILTIN | 80 | 0.0% | 100.0% |
CACHE POP_TOP | 60 | 0.0% | 100.0% |
MAKE_FUNCTION SET_FUNCTION_ATTRIBUTE | 60 | 0.0% | 100.0% |
NOP LOAD_FAST | 60 | 0.0% | 100.0% |
POP_TOP RESUME_CHECK | 60 | 0.0% | 100.0% |
PUSH_NULL LOAD_FAST | 60 | 0.0% | 100.0% |
PUSH_NULL LOAD_FAST_LOAD_FAST | 60 | 0.0% | 100.0% |
RETURN_GENERATOR LOAD_FAST | 60 | 0.0% | 100.0% |
TO_BOOL POP_JUMP_IF_FALSE | 60 | 0.0% | 100.0% |
BUILD_TUPLE LOAD_CONST | 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% |
Top 5 predecessors and successors of each Tier 1 opcode.
This does not include the unspecialized instructions that occur after a specialized instruction deoptimizes.
Successors and predecessors for CACHE
Successors | Count | Percentage |
---|---|---|
RESUME_CHECK | 518,160 | 100.0% |
POP_TOP | 60 | 0.0% |
Successors and predecessors for BINARY_SUBSCR
Predecessors | Count | Percentage |
---|---|---|
LOAD_SMALL_INT | 20 | 100.0% |
Successors | Count | Percentage |
---|---|---|
BINARY_SUBSCR_TUPLE_INT | 20 | 100.0% |
Successors and predecessors for INTERPRETER_EXIT
Predecessors | Count | Percentage |
---|---|---|
RETURN_VALUE | 398,160 | 76.8% |
YIELD_VALUE | 120,000 | 23.2% |
Successors and predecessors for MAKE_FUNCTION
Predecessors | Count | Percentage |
---|---|---|
LOAD_CONST | 120 | 100.0% |
Successors | Count | Percentage |
---|---|---|
SET_FUNCTION_ATTRIBUTE | 60 | 50.0% |
LOAD_GLOBAL_MODULE | 40 | 33.3% |
LOAD_GLOBAL | 20 | 16.7% |
Successors and predecessors for NOP
Predecessors | Count | Percentage |
---|---|---|
JUMP_BACKWARD | 41,920 | 99.7% |
POP_JUMP_IF_TRUE | 60 | 0.1% |
STORE_FAST | 60 | 0.1% |
Successors | Count | Percentage |
---|---|---|
LOAD_GLOBAL_MODULE | 41,980 | 99.9% |
LOAD_FAST | 60 | 0.1% |
Successors and predecessors for POP_TOP
Predecessors | Count | Percentage |
---|---|---|
RESUME_CHECK | 119,940 | 99.7% |
RETURN_VALUE | 180 | 0.1% |
CALL_NON_PY_GENERAL | 120 | 0.1% |
CACHE | 60 | 0.0% |
CALL_METHOD_DESCRIPTOR_O | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
ENTER_EXECUTOR | 78,000 | 64.8% |
JUMP_BACKWARD | 42,000 | 34.9% |
LOAD_CONST_IMMORTAL | 180 | 0.1% |
LOAD_FAST | 120 | 0.1% |
RESUME_CHECK | 60 | 0.0% |
Successors and predecessors for PUSH_NULL
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 300 | 71.4% |
LOAD_ATTR_MODULE | 120 | 28.6% |
Successors | Count | Percentage |
---|---|---|
CALL_NON_PY_GENERAL | 200 | 47.6% |
CALL | 100 | 23.8% |
LOAD_FAST | 60 | 14.3% |
LOAD_FAST_LOAD_FAST | 60 | 14.3% |
Successors and predecessors for RETURN_GENERATOR
Predecessors | Count | Percentage |
---|---|---|
CALL_PY_EXACT_ARGS | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 60 | 100.0% |
Successors and predecessors for RETURN_VALUE
Predecessors | Count | Percentage |
---|---|---|
ENTER_EXECUTOR | 955,120 | 48.9% |
BUILD_TUPLE | 916,200 | 46.9% |
BINARY_OP | 81,060 | 4.2% |
LOAD_CONST_IMMORTAL | 180 | 0.0% |
LOAD_FAST | 120 | 0.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST | 1,036,440 | 53.1% |
COMPARE_OP_INT | 518,100 | 26.5% |
INTERPRETER_EXIT | 398,160 | 20.4% |
POP_TOP | 180 | 0.0% |
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% |
Successors and predecessors for BINARY_OP
Predecessors | Count | Percentage |
---|---|---|
BINARY_OP_ADD_INT | 81,060 | 100.0% |
BINARY_OP | 20 | 0.0% |
LOAD_FAST | 20 | 0.0% |
Successors | Count | Percentage |
---|---|---|
RETURN_VALUE | 81,060 | 100.0% |
BINARY_OP | 20 | 0.0% |
BINARY_OP_SUBTRACT_FLOAT | 20 | 0.0% |
Successors and predecessors for BUILD_TUPLE
Predecessors | Count | Percentage |
---|---|---|
BINARY_OP_ADD_INT | 916,200 | 88.4% |
LOAD_SMALL_INT | 120,000 | 11.6% |
LOAD_FAST | 60 | 0.0% |
LOAD_FAST_LOAD_FAST | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
RETURN_VALUE | 916,200 | 88.4% |
LOAD_FAST | 120,000 | 11.6% |
LOAD_CONST | 60 | 0.0% |
CALL_METHOD_DESCRIPTOR_O | 40 | 0.0% |
CALL | 20 | 0.0% |
Successors and predecessors for CALL
Predecessors | Count | Percentage |
---|---|---|
PUSH_NULL | 100 | 26.3% |
LOAD_FAST_LOAD_FAST | 60 | 15.8% |
CALL_NON_PY_GENERAL | 40 | 10.5% |
LOAD_CONST_IMMORTAL | 40 | 10.5% |
LOAD_GLOBAL_MODULE | 40 | 10.5% |
Successors | Count | Percentage |
---|---|---|
CALL_NON_PY_GENERAL | 160 | 42.1% |
CALL_PY_EXACT_ARGS | 120 | 31.6% |
CALL_BUILTIN_CLASS | 40 | 10.5% |
CALL_METHOD_DESCRIPTOR_NOARGS | 20 | 5.3% |
CALL_METHOD_DESCRIPTOR_O | 20 | 5.3% |
Successors and predecessors for CALL_FUNCTION_EX
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 60 | 100.0% |
Successors and predecessors for COMPARE_OP
Predecessors | Count | Percentage |
---|---|---|
LOAD_SMALL_INT | 20 | 100.0% |
Successors | Count | Percentage |
---|---|---|
COMPARE_OP_INT | 20 | 100.0% |
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% |
Successors and predecessors for FOR_ITER
Predecessors | Count | Percentage |
---|---|---|
JUMP_BACKWARD | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 60 | 100.0% |
Successors and predecessors for IS_OP
Predecessors | Count | Percentage |
---|---|---|
LOAD_CONST_IMMORTAL | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST | 60 | 100.0% |
Successors and predecessors for JUMP_BACKWARD
Predecessors | Count | Percentage |
---|---|---|
POP_TOP | 42,000 | 100.0% |
Successors | Count | Percentage |
---|---|---|
NOP | 41,920 | 99.8% |
FOR_ITER | 60 | 0.1% |
RETURN_VALUE | 20 | 0.0% |
Successors and predecessors for JUMP_FORWARD
Predecessors | Count | Percentage |
---|---|---|
STORE_FAST | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 60 | 100.0% |
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% |
Successors and predecessors for LOAD_CONST
Predecessors | Count | Percentage |
---|---|---|
LOAD_SMALL_INT | 120,000 | 99.8% |
BUILD_TUPLE | 60 | 0.0% |
POP_JUMP_IF_NOT_NONE | 60 | 0.0% |
LOAD_GLOBAL_BUILTIN | 60 | 0.0% |
RESUME_CHECK | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 120,000 | 99.8% |
MAKE_FUNCTION | 120 | 0.1% |
STORE_FAST | 120 | 0.1% |
Successors and predecessors for LOAD_DEREF
Predecessors | Count | Percentage |
---|---|---|
STORE_FAST | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST | 60 | 100.0% |
Successors and predecessors for LOAD_FAST
Predecessors | Count | Percentage |
---|---|---|
RESUME_CHECK | 997,440 | 23.1% |
LOAD_GLOBAL_MODULE | 958,180 | 22.2% |
LOAD_SMALL_INT | 796,200 | 18.5% |
STORE_FAST_STORE_FAST | 518,160 | 12.0% |
LOAD_GLOBAL_BUILTIN | 398,100 | 9.2% |
Successors | Count | Percentage |
---|---|---|
UNPACK_SEQUENCE_TUPLE | 1,117,260 | 25.9% |
LOAD_SMALL_INT | 958,300 | 22.2% |
BINARY_OP_MULTIPLY_INT | 916,200 | 21.3% |
CALL_BUILTIN_FAST | 398,100 | 9.2% |
LOAD_GLOBAL_BUILTIN | 398,100 | 9.2% |
Successors and predecessors for LOAD_FAST_LOAD_FAST
Predecessors | Count | Percentage |
---|---|---|
BINARY_OP_MULTIPLY_INT | 2,072,400 | 54.7% |
BINARY_OP_ADD_INT | 1,117,260 | 29.5% |
STORE_FAST_STORE_FAST | 599,160 | 15.8% |
PUSH_NULL | 60 | 0.0% |
LOAD_ATTR | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
BINARY_OP_MULTIPLY_INT | 3,788,820 | 100.0% |
CALL_PY_EXACT_ARGS | 80 | 0.0% |
BUILD_TUPLE | 60 | 0.0% |
CALL | 60 | 0.0% |
CALL_NON_PY_GENERAL | 40 | 0.0% |
Successors and predecessors for LOAD_GLOBAL
Predecessors | Count | Percentage |
---|---|---|
RESUME_CHECK | 100 | 50.0% |
STORE_FAST | 40 | 20.0% |
MAKE_FUNCTION | 20 | 10.0% |
LOAD_GLOBAL_BUILTIN | 20 | 10.0% |
LOAD_GLOBAL_MODULE | 20 | 10.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_GLOBAL_MODULE | 160 | 80.0% |
LOAD_GLOBAL_BUILTIN | 40 | 20.0% |
Successors and predecessors for LOAD_SMALL_INT
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 958,300 | 32.9% |
BINARY_OP_MULTIPLY_INT | 916,200 | 31.5% |
LOAD_SMALL_INT | 518,100 | 17.8% |
BINARY_OP_ADD_INT | 398,100 | 13.7% |
LOAD_GLOBAL_MODULE | 120,060 | 4.1% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 796,200 | 27.4% |
BINARY_OP_ADD_INT | 796,200 | 27.4% |
CALL_PY_EXACT_ARGS | 560,080 | 19.2% |
LOAD_SMALL_INT | 518,100 | 17.8% |
BUILD_TUPLE | 120,000 | 4.1% |
Successors and predecessors for MAKE_CELL
Predecessors | Count | Percentage |
---|---|---|
CALL_PY_GENERAL | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
RESUME_CHECK | 60 | 100.0% |
Successors and predecessors for POP_JUMP_IF_FALSE
Predecessors | Count | Percentage |
---|---|---|
COMPARE_OP_INT | 518,160 | 100.0% |
TO_BOOL | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_GLOBAL_MODULE | 518,100 | 100.0% |
LOAD_FAST | 120 | 0.0% |
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% |
Successors and predecessors for POP_JUMP_IF_TRUE
Predecessors | Count | Percentage |
---|---|---|
TO_BOOL_BOOL | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
NOP | 60 | 100.0% |
Successors and predecessors for SET_FUNCTION_ATTRIBUTE
Predecessors | Count | Percentage |
---|---|---|
MAKE_FUNCTION | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST | 60 | 100.0% |
Successors and predecessors for STORE_DEREF
Predecessors | Count | Percentage |
---|---|---|
CALL_NON_PY_GENERAL | 60 | 100.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 60 | 100.0% |
Successors and predecessors for STORE_FAST
Predecessors | Count | Percentage |
---|---|---|
RETURN_VALUE | 1,036,440 | 99.9% |
LOAD_CONST | 120 | 0.0% |
LOAD_CONST_IMMORTAL | 120 | 0.0% |
IS_OP | 60 | 0.0% |
LOAD_DEREF | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_GLOBAL_MODULE | 398,180 | 38.4% |
ENTER_EXECUTOR | 398,100 | 38.4% |
LOAD_FAST | 240,420 | 23.2% |
LOAD_CONST_IMMORTAL | 180 | 0.0% |
NOP | 60 | 0.0% |
Successors and predecessors for STORE_FAST_STORE_FAST
Predecessors | Count | Percentage |
---|---|---|
STORE_FAST_STORE_FAST | 1,117,260 | 50.0% |
UNPACK_SEQUENCE_TUPLE | 1,117,260 | 50.0% |
UNPACK_SEQUENCE_TWO_TUPLE | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST_STORE_FAST | 1,117,260 | 50.0% |
LOAD_FAST_LOAD_FAST | 599,160 | 26.8% |
LOAD_FAST | 518,160 | 23.2% |
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% |
Successors and predecessors for YIELD_VALUE
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 120,000 | 100.0% |
Successors | Count | Percentage |
---|---|---|
INTERPRETER_EXIT | 120,000 | 100.0% |
Successors and predecessors for BINARY_OP_ADD_INT
Predecessors | Count | Percentage |
---|---|---|
BINARY_OP_MULTIPLY_INT | 1,554,300 | 61.9% |
LOAD_SMALL_INT | 796,200 | 31.7% |
LOAD_FAST | 162,120 | 6.5% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST_LOAD_FAST | 1,117,260 | 44.5% |
BUILD_TUPLE | 916,200 | 36.5% |
LOAD_SMALL_INT | 398,100 | 15.8% |
BINARY_OP | 81,060 | 3.2% |
Successors and predecessors for BINARY_OP_MULTIPLY_INT
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST_LOAD_FAST | 3,788,820 | 80.5% |
LOAD_FAST | 916,200 | 19.5% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST_LOAD_FAST | 2,072,400 | 44.0% |
BINARY_OP_ADD_INT | 1,554,300 | 33.0% |
LOAD_SMALL_INT | 916,200 | 19.5% |
LOAD_FAST | 162,120 | 3.4% |
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% |
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% |
Successors and predecessors for CALL_BUILTIN_CLASS
Predecessors | Count | Percentage |
---|---|---|
CALL_NON_PY_GENERAL | 80 | 66.7% |
CALL | 40 | 33.3% |
Successors | Count | Percentage |
---|---|---|
RETURN_VALUE | 120 | 100.0% |
Successors and predecessors for CALL_BUILTIN_FAST
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 398,100 | 100.0% |
Successors | Count | Percentage |
---|---|---|
CALL_PY_EXACT_ARGS | 398,100 | 100.0% |
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% |
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% |
Successors and predecessors for CALL_NON_PY_GENERAL
Predecessors | Count | Percentage |
---|---|---|
PUSH_NULL | 200 | 41.7% |
CALL | 160 | 33.3% |
LOAD_FAST | 40 | 8.3% |
LOAD_FAST_LOAD_FAST | 40 | 8.3% |
LOAD_SMALL_INT | 40 | 8.3% |
Successors | Count | Percentage |
---|---|---|
POP_TOP | 120 | 25.0% |
CALL_BUILTIN_CLASS | 80 | 16.7% |
RETURN_VALUE | 60 | 12.5% |
LOAD_FAST | 60 | 12.5% |
STORE_DEREF | 60 | 12.5% |
Successors and predecessors for CALL_PY_EXACT_ARGS
Predecessors | Count | Percentage |
---|---|---|
LOAD_SMALL_INT | 560,080 | 51.9% |
CALL_BUILTIN_FAST | 398,100 | 36.9% |
LOAD_FAST | 120,000 | 11.1% |
CALL | 120 | 0.0% |
LOAD_FAST_LOAD_FAST | 80 | 0.0% |
Successors | Count | Percentage |
---|---|---|
RESUME_CHECK | 568,300 | 52.7% |
ENTER_EXECUTOR | 510,120 | 47.3% |
RETURN_GENERATOR | 60 | 0.0% |
COPY_FREE_VARS | 60 | 0.0% |
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% |
Successors and predecessors for COMPARE_OP_INT
Predecessors | Count | Percentage |
---|---|---|
RETURN_VALUE | 518,100 | 100.0% |
LOAD_SMALL_INT | 40 | 0.0% |
COMPARE_OP | 20 | 0.0% |
Successors | Count | Percentage |
---|---|---|
POP_JUMP_IF_FALSE | 518,160 | 100.0% |
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% |
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% |
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% |
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% |
Successors and predecessors for LOAD_CONST_IMMORTAL
Predecessors | Count | Percentage |
---|---|---|
POP_TOP | 180 | 30.0% |
STORE_FAST | 180 | 30.0% |
LOAD_FAST | 120 | 20.0% |
LOAD_CONST_IMMORTAL | 120 | 20.0% |
Successors | Count | Percentage |
---|---|---|
RETURN_VALUE | 180 | 30.0% |
STORE_FAST | 120 | 20.0% |
LOAD_CONST_IMMORTAL | 120 | 20.0% |
IS_OP | 60 | 10.0% |
CALL | 40 | 6.7% |
Successors and predecessors for LOAD_GLOBAL_BUILTIN
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 398,100 | 100.0% |
RESUME_CHECK | 80 | 0.0% |
LOAD_GLOBAL | 40 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 398,100 | 100.0% |
LOAD_CONST | 60 | 0.0% |
LOAD_GLOBAL_MODULE | 40 | 0.0% |
LOAD_GLOBAL | 20 | 0.0% |
Successors and predecessors for LOAD_GLOBAL_MODULE
Predecessors | Count | Percentage |
---|---|---|
POP_JUMP_IF_FALSE | 518,100 | 48.0% |
STORE_FAST | 398,180 | 36.9% |
LOAD_FAST | 120,000 | 11.1% |
NOP | 41,980 | 3.9% |
LOAD_GLOBAL | 160 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 958,180 | 88.8% |
LOAD_SMALL_INT | 120,060 | 11.1% |
LOAD_ATTR_MODULE | 120 | 0.0% |
CALL_PY_EXACT_ARGS | 80 | 0.0% |
LOAD_ATTR | 60 | 0.0% |
Successors and predecessors for RESUME_CHECK
Predecessors | Count | Percentage |
---|---|---|
CALL_PY_EXACT_ARGS | 568,300 | 50.8% |
CACHE | 518,160 | 46.4% |
ENTER_EXECUTOR | 31,100 | 2.8% |
POP_TOP | 60 | 0.0% |
COPY_FREE_VARS | 60 | 0.0% |
Successors | Count | Percentage |
---|---|---|
LOAD_FAST | 997,440 | 89.2% |
POP_TOP | 119,940 | 10.7% |
LOAD_GLOBAL_MODULE | 120 | 0.0% |
LOAD_GLOBAL | 100 | 0.0% |
LOAD_GLOBAL_BUILTIN | 80 | 0.0% |
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% |
Successors and predecessors for UNPACK_SEQUENCE_TUPLE
Predecessors | Count | Percentage |
---|---|---|
LOAD_FAST | 1,117,260 | 100.0% |
Successors | Count | Percentage |
---|---|---|
STORE_FAST_STORE_FAST | 1,117,260 | 100.0% |
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% |
Successors and predecessors for ENTER_EXECUTOR
Predecessors | Count | Percentage |
---|---|---|
CALL_PY_EXACT_ARGS | 510,120 | 51.7% |
STORE_FAST | 398,100 | 40.4% |
POP_TOP | 78,000 | 7.9% |
Successors | Count | Percentage |
---|---|---|
RETURN_VALUE | 955,120 | 96.8% |
RESUME_CHECK | 31,100 | 3.2% |
Specialization stats by family
specialization stats for BINARY_OP family
Kind | Count | Ratio |
---|---|---|
deferred
ⓘLists the number of "deferred" (i.e. not specialized) instructions executed. |
81,060 | 1.1% |
hit
ⓘSpecialized instructions that complete. |
7,217,700 | 98.9% |
Success | Count | Ratio |
---|---|---|
Success | 20 | 50.0% |
Failure | 20 | 50.0% |
Failure kind | Count | Ratio |
---|---|---|
floor divide | 20 | 100.0% |
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% |
specialization stats for CALL family
Kind | Count | Ratio |
---|---|---|
hit
ⓘSpecialized instructions that complete. |
1,476,880 | 100.0% |
Success | Count | Ratio |
---|---|---|
Success | 380 | 100.0% |
Failure | 0 | 0.0% |
specialization stats for COMPARE_OP family
Kind | Count | Ratio |
---|---|---|
hit
ⓘSpecialized instructions that complete. |
518,160 | 100.0% |
Success | Count | Ratio |
---|---|---|
Success | 20 | 100.0% |
Failure | 0 | 0.0% |
specialization stats for FOR_ITER family
Kind | Count | Ratio |
---|---|---|
deferred
ⓘLists the number of "deferred" (i.e. not specialized) instructions executed. |
60 | 100.0% |
specialization stats for LOAD_ATTR family
Kind | Count | Ratio |
---|---|---|
deferred
ⓘLists the number of "deferred" (i.e. not specialized) instructions executed. |
60 | 6.4% |
hit
ⓘSpecialized instructions that complete. |
660 | 70.2% |
Success | Count | Ratio |
---|---|---|
Success | 200 | 90.9% |
Failure | 20 | 9.1% |
specialization stats for LOAD_GLOBAL family
Kind | Count | Ratio |
---|---|---|
hit
ⓘSpecialized instructions that complete. |
1,476,880 | 100.0% |
Success | Count | Ratio |
---|---|---|
Success | 200 | 100.0% |
Failure | 0 | 0.0% |
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% |
specialization stats for UNPACK_SEQUENCE family
Kind | Count | Ratio |
---|---|---|
hit
ⓘSpecialized instructions that complete. |
1,117,320 | 100.0% |
Success | Count | Ratio |
---|---|---|
Success | 20 | 100.0% |
Failure | 0 | 0.0% |
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. |
19,740,540 | 60.3% |
Not specialized
ⓘInstructions that could be specialized but aren't, e.g. |
82,180 | 0.3% |
Specialized hits
ⓘSpecialized instructions, e.g. |
12,926,600 | 39.5% |
Specialized misses
ⓘSpecialized instructions, e.g. |
0 | 0.0% |
Breakdown of deferred (not specialized) instruction counts by family
Name | Count | Ratio |
---|---|---|
BINARY_OP | 81,060 | 99.8% |
TO_BOOL | 60 | 0.1% |
FOR_ITER | 60 | 0.1% |
LOAD_ATTR | 60 | 0.1% |
BINARY_SLICE | 0 | 0.0% |
STORE_SLICE | 0 | 0.0% |
CACHE | 0 | 0.0% |
BINARY_SUBSCR | 0 | 0.0% |
INTERPRETER_EXIT | 0 | 0.0% |
MAKE_FUNCTION | 0 | 0.0% |
Breakdown of misses (specialized deopts) instruction counts by family
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 | 518,220 | 25.0% |
Calls to Python functions inlined | 1,554,720 | 75.0% |
Calls via PyEval_EvalFrame (total) | 518,220 | 25.0% |
Calls via PyEval_EvalFrame (vector) | 398,220 | 19.2% |
Calls via PyEval_EvalFrame (generator) | 120,000 | 5.8% |
Calls via PyEval_EvalFrame (legacy) | 0 | 0.0% |
Calls via PyEval_EvalFrame (function vectorcall) | 398,220 | 19.2% |
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 | 1,952,940 | 94.2% |
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 | 2,720,920 | 22.3% |
Frees to freelist | 2,720,940 | |
Allocations | 9,458,480 | 77.7% |
Allocations to 512 bytes | 1,862,740 | 15.3% |
Allocations to 4 kbytes | 2,862,880 | 23.5% |
Allocations over 4 kbytes | 4,732,860 | 38.9% |
Frees | 9,458,222 | |
Inline values | 0 | |
Interpreter mortal increfs | 25,611,100 | 58.7% |
Interpreter mortal decrefs | 31,699,500 | 57.0% |
Mortal increfs | 77,122 | 0.2% |
Mortal decrefs | 6,167,706 | 11.1% |
Interpreter immortal increfs | 8,503,380 | 19.5% |
Interpreter immortal decrefs | 15,634,700 | 28.1% |
Immortal increfs | 9,459,022 | 21.7% |
Immortal decrefs | 2,098,618 | 3.8% |
Materialize dict (on request) | 0 | |
Materialize dict (new key) | 0 | |
Materialize dict (too big) | 0 | |
Materialize dict (str subclass) | 0 | |
Method cache hits | 198 | |
Method cache misses | 22 | |
Method cache collisions | 34 | |
Method cache dunder hits | 40 | |
Method cache dunder misses | 20 |
GC collections and effectiveness
Collected/visits gives some measure of efficiency.
Generation | Collections | Objects collected | Object visits | Reachable from roots | Not reachable from roots |
---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 |
2 | 0 | 0 | 0 | 0 | 0 |
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. |
260 | |
Traces created
ⓘThe number of traces that were successfully created. |
40 | 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. |
240 | 92.3% |
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. |
220 | 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 |
1,431,260 | |
Uops executed
ⓘThe total number of uops (micro-operations) that were executed |
33,804,800 | 2,361.9% |
Count | Ratio | |
---|---|---|
Optimizer attempts
ⓘThe number of times the trace optimizer (_Py_uop_analyze_and_optimize) was run. |
40 | |
Optimizer successes
ⓘThe number of traces that were successfully optimized. |
40 | 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
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 | 50.0% |
<= 64 | 20 | 50.0% |
optimized trace length histogram
Range | Count | Ratio |
---|---|---|
<= 1 | 0 | 0.0% |
<= 2 | 0 | 0.0% |
<= 4 | 0 | 0.0% |
<= 8 | 0 | 0.0% |
<= 16 | 20 | 50.0% |
<= 32 | 20 | 50.0% |
trace run length histogram
Range | Count | Ratio |
---|---|---|
<= 1 | 0 | 0.0% |
uop execution stats
Name | Count | Self | Cumulative | Miss ratio |
---|---|---|---|---|
_BINARY_OP_ADD_INT | 1,910,280 | 5.7% | 5.7% | |
_BINARY_OP_MULTIPLY_INT | 1,910,280 | 5.7% | 11.3% | |
_GUARD_TOS_INT | 1,910,280 | 5.7% | 17.0% | |
_LOAD_FAST_1 | 1,910,280 | 5.7% | 22.6% | |
_SET_IP | 1,907,380 | 5.6% | 28.2% | |
_CHECK_VALIDITY | 1,431,260 | 4.2% | 32.5% | |
_LOAD_FAST_0 | 1,431,260 | 4.2% | 36.7% | |
_MAKE_WARM | 1,431,260 | 4.2% | 40.9% | |
_START_EXECUTOR | 1,431,260 | 4.2% | 45.2% | |
_LOAD_FAST_2 | 1,353,240 | 4.0% | 49.2% | |
_UNPACK_SEQUENCE_TUPLE | 955,140 | 2.8% | 52.0% | |
_EXIT_TRACE | 955,140 | 2.8% | 54.8% | |
_BINARY_OP | 955,140 | 2.8% | 57.7% | |
_GUARD_BOTH_INT | 955,140 | 2.8% | 60.5% | |
_GUARD_NOS_INT | 955,140 | 2.8% | 63.3% | |
_LOAD_FAST_3 | 955,140 | 2.8% | 66.1% | |
_LOAD_FAST_4 | 955,140 | 2.8% | 69.0% | |
_LOAD_FAST_5 | 955,140 | 2.8% | 71.8% | |
_STORE_FAST_2 | 955,140 | 2.8% | 74.6% | |
_STORE_FAST_3 | 955,140 | 2.8% | 77.4% | |
_STORE_FAST_4 | 955,140 | 2.8% | 80.3% | |
_STORE_FAST_5 | 955,140 | 2.8% | 83.1% | |
_TIER2_RESUME_CHECK | 955,140 | 2.8% | 85.9% | |
_CHECK_FUNCTION | 476,120 | 1.4% | 87.3% | |
_CHECK_FUNCTION_VERSION_INLINE | 476,120 | 1.4% | 88.7% | |
_CHECK_PERIODIC | 476,120 | 1.4% | 90.1% | |
_CHECK_STACK_SPACE | 476,120 | 1.4% | 91.5% | |
_DYNAMIC_EXIT | 476,120 | 1.4% | 93.0% | |
_INIT_CALL_PY_EXACT_ARGS_2 | 476,120 | 1.4% | 94.4% | |
_LOAD_CONST_INLINE_WITH_NULL | 476,120 | 1.4% | 95.8% | |
_PUSH_FRAME | 476,120 | 1.4% | 97.2% | |
_SAVE_RETURN_OFFSET | 476,120 | 1.4% | 98.6% | |
_LOAD_SMALL_INT | 398,100 | 1.2% | 99.8% | |
_LOAD_SMALL_INT_3 | 78,020 | 0.2% | 100.0% |
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 |
---|---|---|---|
_GUARD_TOS_INT _BINARY_OP_ADD_INT | 1,910,280 | 5.7% | 5.7% |
_START_EXECUTOR _MAKE_WARM | 1,431,260 | 4.2% | 9.9% |
_UNPACK_SEQUENCE_TUPLE _STORE_FAST_2 | 955,140 | 2.8% | 12.7% |
_SET_IP _BINARY_OP | 955,140 | 2.8% | 15.5% |
_BINARY_OP _CHECK_VALIDITY | 955,140 | 2.8% | 18.4% |
_BINARY_OP_ADD_INT _SET_IP | 955,140 | 2.8% | 21.2% |
_BINARY_OP_ADD_INT _LOAD_FAST_4 | 955,140 | 2.8% | 24.0% |
_BINARY_OP_MULTIPLY_INT _LOAD_FAST_3 | 955,140 | 2.8% | 26.8% |
_BINARY_OP_MULTIPLY_INT _LOAD_FAST_5 | 955,140 | 2.8% | 29.7% |
_CHECK_VALIDITY _EXIT_TRACE | 955,140 | 2.8% | 32.5% |
_GUARD_BOTH_INT _BINARY_OP_MULTIPLY_INT | 955,140 | 2.8% | 35.3% |
_GUARD_NOS_INT _BINARY_OP_MULTIPLY_INT | 955,140 | 2.8% | 38.1% |
_LOAD_FAST_0 _UNPACK_SEQUENCE_TUPLE | 955,140 | 2.8% | 41.0% |
_LOAD_FAST_1 _GUARD_BOTH_INT | 955,140 | 2.8% | 43.8% |
_LOAD_FAST_1 _GUARD_NOS_INT | 955,140 | 2.8% | 46.6% |
_LOAD_FAST_2 _LOAD_FAST_1 | 955,140 | 2.8% | 49.4% |
_LOAD_FAST_3 _GUARD_TOS_INT | 955,140 | 2.8% | 52.3% |
_LOAD_FAST_4 _LOAD_FAST_1 | 955,140 | 2.8% | 55.1% |
_LOAD_FAST_5 _GUARD_TOS_INT | 955,140 | 2.8% | 57.9% |
_MAKE_WARM _TIER2_RESUME_CHECK | 955,140 | 2.8% | 60.7% |
_STORE_FAST_2 _STORE_FAST_3 | 955,140 | 2.8% | 63.6% |
_STORE_FAST_3 _STORE_FAST_4 | 955,140 | 2.8% | 66.4% |
_STORE_FAST_4 _STORE_FAST_5 | 955,140 | 2.8% | 69.2% |
_STORE_FAST_5 _LOAD_FAST_2 | 955,140 | 2.8% | 72.0% |
_TIER2_RESUME_CHECK _LOAD_FAST_0 | 955,140 | 2.8% | 74.9% |
_SET_IP _CHECK_FUNCTION_VERSION_INLINE | 476,120 | 1.4% | 76.3% |
_SET_IP _CHECK_PERIODIC | 476,120 | 1.4% | 77.7% |
_CHECK_FUNCTION _LOAD_CONST_INLINE_WITH_NULL | 476,120 | 1.4% | 79.1% |
_CHECK_FUNCTION_VERSION_INLINE _CHECK_STACK_SPACE | 476,120 | 1.4% | 80.5% |
_CHECK_PERIODIC _CHECK_VALIDITY | 476,120 | 1.4% | 81.9% |
_CHECK_STACK_SPACE _INIT_CALL_PY_EXACT_ARGS_2 | 476,120 | 1.4% | 83.3% |
_INIT_CALL_PY_EXACT_ARGS_2 _SAVE_RETURN_OFFSET | 476,120 | 1.4% | 84.7% |
_LOAD_CONST_INLINE_WITH_NULL _LOAD_FAST_0 | 476,120 | 1.4% | 86.1% |
_MAKE_WARM _SET_IP | 476,120 | 1.4% | 87.5% |
_PUSH_FRAME _DYNAMIC_EXIT | 476,120 | 1.4% | 89.0% |
_SAVE_RETURN_OFFSET _PUSH_FRAME | 476,120 | 1.4% | 90.4% |
_CHECK_VALIDITY _LOAD_FAST_2 | 398,100 | 1.2% | 91.5% |
_LOAD_FAST_0 _LOAD_SMALL_INT | 398,100 | 1.2% | 92.7% |
_LOAD_FAST_2 _CHECK_FUNCTION | 398,100 | 1.2% | 93.9% |
_LOAD_SMALL_INT _SET_IP | 398,100 | 1.2% | 95.1% |
_CHECK_VALIDITY _CHECK_FUNCTION | 78,020 | 0.2% | 95.3% |
_LOAD_FAST_0 _LOAD_SMALL_INT_3 | 78,020 | 0.2% | 95.5% |
_LOAD_SMALL_INT_3 _SET_IP | 78,020 | 0.2% | 95.8% |
unsupported opcodes
Optimization stopped after encountering this opcode
Counts of rare/unlikely events
Event | Count |
---|---|
set class
ⓘSetting an object's class, |
0 |
set bases
ⓘSetting the bases of a class, |
0 |
set eval frame func
ⓘSetting the PEP 523 frame eval function |
0 |
builtin dict
ⓘModifying the builtins, |
0 |
func modification
ⓘModifying a function, e.g. |
0 |
watched dict modification
ⓘA watched dict has been modified |
0 |
watched globals modification
ⓘA watched |
0 |
Meta statistics
Count | |
---|---|
Number of data files | 20 |
Stats gathered on: 2024-12-15