Skip to content

Latest commit

 

History

History
3768 lines (3518 loc) · 77.4 KB

bm-20250121-azure-x86_64-brandtbucher-remove_optimizer_api-3.14.0a4+-085e172-pystats-hexiom-vs-base.md

File metadata and controls

3768 lines (3518 loc) · 77.4 KB

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 Base Count Head Count Change
LOAD_FAST 40,712,500 40,712,500 0.0%
ENTER_EXECUTOR 39,819,900 39,819,900 0.0%
RESUME_CHECK 34,937,820 34,937,820 0.0%
POP_TOP 29,509,860 29,509,860 0.0%
INTERPRETER_EXIT 28,723,560 28,723,560 0.0%
YIELD_VALUE 27,287,340 27,287,340 0.0%
LOAD_SMALL_INT 24,416,040 24,416,040 0.0%
STORE_FAST 20,590,200 20,590,200 0.0%
RETURN_VALUE 16,133,020 16,133,020 0.0%
POP_JUMP_IF_FALSE 14,512,260 14,512,260 0.0%
BINARY_SUBSCR_LIST_INT 13,283,340 13,283,340 0.0%
COMPARE_OP_INT 13,254,260 13,254,260 0.0%
LOAD_ATTR_INSTANCE_VALUE 10,780,800 10,780,800 0.0%
LOAD_FAST_LOAD_FAST 7,473,860 7,473,860 0.0%
LOAD_GLOBAL_MODULE 6,934,000 6,934,000 0.0%
BINARY_OP_ADD_INT 6,920,240 6,920,240 0.0%
CALL_PY_EXACT_ARGS 6,561,620 6,561,620 0.0%
LOAD_METHOD_WITH_VALUES 6,023,780 6,023,780 0.0%
PUSH_NULL 5,965,600 5,965,600 0.0%
CALL_LEN 5,284,220 5,284,220 0.0%
LOAD_GLOBAL_BUILTIN 5,258,400 5,258,400 0.0%
TO_BOOL_BOOL 5,071,160 5,071,160 0.0%
GET_ITER 4,522,560 4,522,560 0.0%
FOR_ITER_LIST 3,854,240 3,854,240 0.0%
LOAD_CONST_IMMORTAL 3,004,540 3,004,540 0.0%
SWAP 2,737,040 2,737,040 0.0%
POP_JUMP_IF_TRUE 2,345,120 2,345,120 0.0%
BINARY_SUBSCR_GETITEM 2,245,900 2,245,900 0.0%
COPY 2,203,800 2,203,800 0.0%
LOAD_DEREF 2,130,500 2,130,500 0.0%
CONTAINS_OP 1,955,300 1,955,300 0.0%
POP_ITER 1,340,160 1,340,160 0.0%
FOR_ITER_RANGE 1,282,100 1,282,100 0.0%
STORE_SUBSCR_LIST_INT 1,281,420 1,281,420 0.0%
BINARY_OP_SUBTRACT_INT 1,117,260 1,117,260 0.0%
JUMP_BACKWARD 1,005,880
CALL_BUILTIN_CLASS 955,260 955,260 0.0%
LOAD_CONST_MORTAL 698,180 698,180 0.0%
NOT_TAKEN 664,100 664,100 0.0%
STORE_ATTR_INSTANCE_VALUE 651,320 651,320 0.0%
BUILD_LIST 618,220 618,220 0.0%
LOAD_METHOD_NO_DICT 609,700 609,700 0.0%
BUILD_TUPLE 548,580 548,580 0.0%
BINARY_SUBSCR 421,600 421,600 0.0%
POP_JUMP_IF_NOT_NONE 376,780 376,780 0.0%
EXTENDED_ARG 357,980 357,980 0.0%
CALL_LIST_APPEND 311,040 311,040 0.0%
CALL_METHOD_DESCRIPTOR_O 291,400 291,400 0.0%
EXIT_INIT_CHECK 236,160 236,160 0.0%
CALL_ALLOC_AND_ENTER_INIT 236,160 236,160 0.0%
MAKE_FUNCTION 223,880 223,880 0.0%
RETURN_GENERATOR 223,820 223,820 0.0%
COPY_FREE_VARS 223,820 223,820 0.0%
SET_FUNCTION_ATTRIBUTE 223,820 223,820 0.0%
CALL_BUILTIN_FAST_WITH_KEYWORDS 223,760 223,760 0.0%
MAKE_CELL 207,420 207,420 0.0%
LIST_APPEND 203,520 203,520 0.0%
STORE_FAST_LOAD_FAST 201,260 201,260 0.0%
LOAD_ATTR_CLASS 188,220 188,220 0.0%
JUMP_FORWARD 165,180 165,180 0.0%
LOAD_FAST_AND_CLEAR 156,480 156,480 0.0%
BINARY_SUBSCR_TUPLE_INT 155,560 155,560 0.0%
CALL_PY_GENERAL 154,620 154,620 0.0%
STORE_FAST_STORE_FAST 124,920 124,920 0.0%
UNPACK_SEQUENCE_TWO_TUPLE 124,920 124,920 0.0%
STORE_DEREF 114,440 114,440 0.0%
CONTAINS_OP_DICT 109,440 109,440 0.0%
BINARY_SUBSCR_DICT 98,940 98,940 0.0%
COMPARE_OP_STR 36,540 36,540 0.0%
BINARY_SUBSCR_STR_INT 36,480 36,480 0.0%
CALL_KW_NON_PY 27,840 27,840 0.0%
BINARY_OP 25,220 25,220 0.0%
BINARY_SLICE 23,040 23,040 0.0%
STORE_SUBSCR_DICT 18,240 18,240 0.0%
CALL_STR_1 11,520 11,520 0.0%
BINARY_OP_MULTIPLY_INT 7,680 7,680 0.0%
CALL_METHOD_DESCRIPTOR_FAST 6,180 6,180 0.0%
CALL_NON_PY_GENERAL 1,320 1,320 0.0%
LOAD_ATTR_MODULE 1,260 1,260 0.0%
CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 1,020 1,020 0.0%
CALL_METHOD_DESCRIPTOR_NOARGS 1,020 1,020 0.0%
BUILD_MAP 960 960 0.0%
CALL_KW_PY 960 960 0.0%
LOAD_METHOD_LAZY_DICT 960 960 0.0%
CALL 380 380 0.0%
LOAD_METHOD 240 240 0.0%
LOAD_GLOBAL 200 200 0.0%
LOAD_ATTR 180 180 0.0%
CALL_FUNCTION_EX 120 120 0.0%
TO_BOOL 100 100 0.0%
NOP 60 60 0.0%
CALL_INTRINSIC_1 60 60 0.0%
FOR_ITER 60 60 0.0%
IS_OP 60 60 0.0%
LIST_EXTEND 60 60 0.0%
LOAD_FAST_CHECK 60 60 0.0%
BINARY_OP_SUBTRACT_FLOAT 60 60 0.0%
UNPACK_SEQUENCE 40 40 0.0%
COMPARE_OP 20 20 0.0%
JUMP_BACKWARD_JIT 1,005,880

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.

Not included in comparative output.

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.

Not included in comparative output.

Specialization stats

Specialization stats by family

BINARY_OP

specialization stats for BINARY_OP family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

24,960 0.2% 24,960 0.2% 0.0%
hit

Specialized instructions that complete.

11,242,620 99.8% 11,242,620 99.8% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 20 7.7% 20 7.7% 0.0%
Failure 240 92.3% 240 92.3% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
multiply different types 160 66.7% 160 66.7% 0.0%
remainder 80 33.3% 80 33.3% 0.0%

BINARY_SLICE

specialization stats for BINARY_SLICE family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

23,040 100.0% 23,040 100.0% 0.0%

BINARY_SUBSCR

specialization stats for BINARY_SUBSCR family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

421,440 0.5% 421,440 0.5% 0.0%
hit

Specialized instructions that complete.

82,219,320 99.5% 82,219,320 99.5% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 40 25.0% 40 25.0% 0.0%
Failure 120 75.0% 120 75.0% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
list slice 120 100.0% 120 100.0% 0.0%

CALL

specialization stats for CALL family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

76,126,140 100.0% 76,126,140 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 380 100.0% 380 100.0% 0.0%
Failure 0 0.0% 0 0.0%

COMPARE_OP

specialization stats for COMPARE_OP family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

53,532,540 100.0% 53,532,540 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 20 100.0% 20 100.0% 0.0%
Failure 0 0.0% 0 0.0%

CONTAINS_OP

specialization stats for CONTAINS_OP family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

1,954,760 94.7% 1,954,760 94.7% 0.0%
hit

Specialized instructions that complete.

109,440 5.3% 109,440 5.3% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 0 0.0% 0 0.0%
Failure 540 100.0% 540 100.0% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
list 540 100.0% 540 100.0% 0.0%

FOR_ITER

specialization stats for FOR_ITER family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

60 0.0% 60 0.0% 0.0%
hit

Specialized instructions that complete.

5,034,580 98.0% 5,034,580 98.0% 0.0%
miss

Specialized instructions that deopt.

101,760 2.0% 101,760 2.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 1,920 100.0% 1,920 100.0% 0.0%
Failure 0 0.0% 0 0.0%

LOAD_ATTR

specialization stats for LOAD_ATTR family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

105,165,540 100.0% 105,165,540 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 180 100.0% 180 100.0% 0.0%
Failure 0 0.0% 0 0.0%

LOAD_GLOBAL

specialization stats for LOAD_GLOBAL family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

13,612,880 100.0% 13,612,880 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 200 100.0% 200 100.0% 0.0%
Failure 0 0.0% 0 0.0%

LOAD_METHOD

specialization stats for LOAD_METHOD family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

60 25.0% 60 25.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 160 88.9% 160 88.9% 0.0%
Failure 20 11.1% 20 11.1% 0.0%

STORE_ATTR

specialization stats for STORE_ATTR family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

708,480 100.0% 708,480 100.0% 0.0%

STORE_SUBSCR

specialization stats for STORE_SUBSCR family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

3,494,400 100.0% 3,494,400 100.0% 0.0%

TO_BOOL

specialization stats for TO_BOOL family
Kind Base Count Base Ratio Head Count Head Ratio Change
deferred

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

60 0.0% 60 0.0% 0.0%
hit

Specialized instructions that complete.

5,071,160 100.0% 5,071,160 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 20 50.0% 20 50.0% 0.0%
Failure 20 50.0% 20 50.0% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
sequence 20 100.0% 20 100.0% 0.0%

UNPACK_SEQUENCE

specialization stats for UNPACK_SEQUENCE family
Kind Base Count Base Ratio Head Count Head Ratio Change
hit

Specialized instructions that complete.

124,920 100.0% 124,920 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 40 100.0% 40 100.0% 0.0%
Failure 0 0.0% 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 Base Count Base Ratio Head Count Head Ratio Change
Specialized hits

Specialized instructions, e.g. LOAD_ATTR_MODULE that complete.

131,952,660 32.1% 132,958,540 32.4% 0.8%
Basic

Instructions that are not and cannot be specialized, e.g. LOAD_FAST.

276,300,960 67.3% 275,295,080 67.0% -0.4%
Not specialized

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

2,426,380 0.6% 2,426,380 0.6% 0.0%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

102,040 0.0% 102,040 0.0% 0.0%

Deferred by instruction

Breakdown of deferred (not specialized) instruction counts by family
Name Base Count Base Ratio Head Count Head Ratio Change
CONTAINS_OP 1,954,760 80.6% 1,954,760 80.6% 0.0%
BINARY_SUBSCR 421,440 17.4% 421,440 17.4% 0.0%
BINARY_OP 24,960 1.0% 24,960 1.0% 0.0%
BINARY_SLICE 23,040 1.0% 23,040 1.0% 0.0%
TO_BOOL 60 0.0% 60 0.0% 0.0%
FOR_ITER 60 0.0% 60 0.0% 0.0%
LOAD_METHOD 60 0.0% 60 0.0% 0.0%
STORE_SLICE 0 0.0% 0 0.0%
CACHE 0 0.0% 0 0.0%
CALL_FUNCTION_EX 0 0.0% 0 0.0%

Misses by instruction

Breakdown of misses (specialized deopts) instruction counts by family
Name Base Count Base Ratio Head Count Head Ratio Change
FOR_ITER_LIST 50,880 49.7% 50,880 49.7% 0.0%
FOR_ITER_RANGE 50,880 49.7% 50,880 49.7% 0.0%
RESUME 280 0.3% 280 0.3% 0.0%
RESUME_CHECK 280 0.3% 280 0.3% 0.0%
CACHE 0 0.0% 0 0.0%
CALL_FUNCTION_EX 0 0.0% 0 0.0%
EXIT_INIT_CHECK 0 0.0% 0 0.0%
GET_ITER 0 0.0% 0 0.0%
INTERPRETER_EXIT 0 0.0% 0 0.0%
MAKE_FUNCTION 0 0.0% 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.

Base Count Base Ratio Head Count Head Ratio Change
Calls to PyEval_EvalDefault 28,723,620 39.7% 28,723,620 39.7% 0.0%
Calls to Python functions inlined 43,591,140 60.3% 43,591,140 60.3% 0.0%
Calls via PyEval_EvalFrame (total) 28,723,620 39.7% 28,723,620 39.7% 0.0%
Calls via PyEval_EvalFrame (vector) 60 0.0% 60 0.0% 0.0%
Calls via PyEval_EvalFrame (generator) 28,723,560 39.7% 28,723,560 39.7% 0.0%
Calls via PyEval_EvalFrame (legacy) 0 0.0% 0 0.0%
Calls via PyEval_EvalFrame (function vectorcall) 60 0.0% 60 0.0% 0.0%
Calls via PyEval_EvalFrame (build class) 0 0.0% 0 0.0%
Calls via PyEval_EvalFrame (slot) 0 0.0% 0 0.0%
Calls via PyEval_EvalFrame (function ex) 60 0.0% 60 0.0% 0.0%
Calls via PyEval_EvalFrame (api) 0 0.0% 0 0.0%
Calls via PyEval_EvalFrame (method) 0 0.0% 0 0.0%
Frame objects created 0 0.0% 0 0.0%
Frames pushed 43,827,360 60.6% 43,827,360 60.6% 0.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.

Base Count Base Ratio Head Count Head Ratio Change
Method cache dunder misses 2 1 -50.0%
Method cache misses 41 34 -17.1%
Method cache hits 51,179 51,186 0.0%
Method cache dunder hits 94,138 94,139 0.0%
Frees 14,864,247 14,864,240 -0.0%
Immortal increfs 256,323,933 27.1% 256,323,922 27.1% -0.0%
Mortal decrefs 395,515,340 32.0% 395,515,328 32.0% -0.0%
Mortal increfs 497,629,753 52.6% 497,629,748 52.6% -0.0%
Immortal decrefs 454,114,506 36.8% 454,114,502 36.8% -0.0%
Allocations from freelist 4,369,740 23.1% 4,369,740 23.1% 0.0%
Frees to freelist 4,369,660 4,369,660 0.0%
Allocations 14,541,560 76.9% 14,541,560 76.9% 0.0%
Allocations to 512 bytes 14,539,980 76.9% 14,539,980 76.9% 0.0%
Allocations to 4 kbytes 1,500 0.0% 1,500 0.0% 0.0%
Allocations over 4 kbytes 80 0.0% 80 0.0% 0.0%
Inline values 236,160 236,160 0.0%
Interpreter mortal increfs 110,707,600 11.7% 110,707,600 11.7% 0.0%
Interpreter mortal decrefs 228,938,980 18.5% 228,938,980 18.5% 0.0%
Interpreter immortal increfs 81,139,860 8.6% 81,139,860 8.6% 0.0%
Interpreter immortal decrefs 156,690,480 12.7% 156,690,480 12.7% 0.0%
Materialize dict (on request) 0 0.0% 0 0.0%
Materialize dict (new key) 0 0.0% 0 0.0%
Materialize dict (too big) 0 0.0% 0 0.0%
Materialize dict (str subclass) 0 0.0% 0 0.0%
Method cache collisions 32 32 0.0%

GC stats

GC collections and effectiveness

Collected/visits gives some measure of efficiency.

Generation Base Collections Base Objects collected Base Object visits Base Reachable from roots Base Not reachable from roots Head Collections Head Objects collected Head Object visits Head Reachable from roots Head Not reachable from roots
0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0

Optimization (Tier 2) stats

statistics about the Tier 2 optimizer
Base Count Base Ratio Head Count Head Ratio Change
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.

9,420 9,420 0.0%
Traces created

The number of traces that were successfully created.

860 9.1% 860 9.1% 0.0%
Trace stack overflow

A trace is truncated because it would require more than 5 stack frames.

0 0.0% 0 0.0%
Trace stack underflow

A potential trace is abandoned because it pops more frames than it pushes.

8,680 92.1% 8,680 92.1% 0.0%
Trace too long

A trace is truncated because it is longer than the instruction buffer.

0 0.0% 0 0.0%
Trace too short

A potential trace is abandoned because it it too short.

8,560 90.9% 8,560 90.9% 0.0%
Inner loop found

A trace is truncated because it has an inner loop

0 0.0% 0 0.0%
Recursive call

A trace is truncated because it has a recursive call.

0 0.0% 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% 0 0.0%
Executors invalidated

The number of executors that were invalidated due to watched dictionary changes.

0 0.0% 0 0.0%
Traces executed

The number of traces that were executed

99,577,020 99,577,020 0.0%
Uops executed

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

2,549,052,860 2,559.9% 2,549,052,860 2,559.9% 0.0%
Base Count Base Ratio Head Count Head Ratio Change
Optimizer attempts

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

860 860 0.0%
Optimizer successes

The number of traces that were successfully optimized.

860 100.0% 860 100.0% 0.0%
Optimizer no memory

The number of optimizations that failed due to no memory.

0 0.0% 0 0.0%
Remove globals builtins changed

The builtins changed during optimization

0 0.0% 0 0.0%
Remove globals incorrect keys

The keys in the globals dictionary aren't what was expected

0 0.0% 0 0.0%

Trace length histogram

trace length histogram
Range Base Count Base Ratio Head Count Head Ratio Change
<= 1 0 0.0% 0 0.0%
<= 2 0 0.0% 0 0.0%
<= 4 0 0.0% 0 0.0%
<= 8 220 25.6% 220 25.6% 0.0%
<= 16 80 9.3% 80 9.3% 0.0%
<= 32 160 18.6% 160 18.6% 0.0%
<= 64 120 14.0% 120 14.0% 0.0%
<= 128 200 23.3% 200 23.3% 0.0%
<= 256 80 9.3% 80 9.3% 0.0%

Optimized trace length histogram

optimized trace length histogram
Range Base Count Base Ratio Head Count Head Ratio Change
<= 1 0 0.0% 0 0.0%
<= 2 0 0.0% 0 0.0%
<= 4 180 20.9% 180 20.9% 0.0%
<= 8 40 4.7% 40 4.7% 0.0%
<= 16 100 11.6% 100 11.6% 0.0%
<= 32 200 23.3% 200 23.3% 0.0%
<= 64 220 25.6% 220 25.6% 0.0%
<= 128 100 11.6% 100 11.6% 0.0%
<= 256 20 2.3% 20 2.3% 0.0%

Trace run length histogram

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

Uop execution stats

uop execution stats
Name Base Count Head Count Change
_SET_IP 280,150,160 280,150,160 0.0%
_CHECK_VALIDITY 241,210,500 241,210,500 0.0%
_MAKE_WARM 113,945,980 113,945,980 0.0%
_START_EXECUTOR 99,577,020 99,577,020 0.0%
_EXIT_TRACE 94,606,420 94,606,420 0.0%
_CHECK_VALIDITY_AND_SET_IP 78,318,120 78,318,120 0.0%
_CHECK_PERIODIC 70,771,520 70,771,520 0.0%
_LOAD_FAST_1 63,796,580 63,796,580 0.0%
_BINARY_SUBSCR_LIST_INT 61,660,980 61,660,980 0.0%
_CHECK_MANAGED_OBJECT_HAS_VALUES 58,854,960 58,854,960 0.0%
_LOAD_ATTR_INSTANCE_VALUE 58,854,960 58,854,960 0.0%
_LOAD_FAST_0 46,495,000 46,495,000 0.0%
_GUARD_TYPE_VERSION 40,647,260 40,647,260 0.0%
_COMPARE_OP_INT 40,241,740 40,241,740 0.0%
_LOAD_FAST_4 39,638,880 39,638,880 0.0%
_LOAD_SMALL_INT_1 39,099,600 39,099,600 0.0%
_ITER_CHECK_LIST 38,760,520 38,760,520 0.0%
_GUARD_NOT_EXHAUSTED_LIST 38,724,040 38,724,040 0.0%
_GUARD_IS_TRUE_POP 37,970,760 37,970,760 0.0%
_GUARD_IS_FALSE_POP 37,388,220 37,388,220 0.0%
_LOAD_FAST 37,345,900 37,345,900 0.0%
_LOAD_DEREF 35,713,780 35,713,780 0.0%
_ITER_NEXT_LIST 35,474,720 35,474,720 0.0%
_GUARD_NOS_INT 35,344,000 35,344,000 0.0%
_LOAD_CONST_INLINE 34,866,880 34,866,880 0.0%
_CONTAINS_OP 34,418,680 34,418,680 0.0%
_PUSH_FRAME 34,391,820 34,391,820 0.0%
_LOAD_FAST_6 34,095,560 34,095,560 0.0%
_PUSH_NULL 33,568,880 33,568,880 0.0%
_CHECK_FUNCTION 32,031,800 32,031,800 0.0%
_STORE_FAST 30,150,400 30,150,400 0.0%
_CALL_LEN 29,922,820 29,922,820 0.0%
_SAVE_RETURN_OFFSET 29,703,640 29,703,640 0.0%
_CHECK_FUNCTION_EXACT_ARGS 29,653,700 29,653,700 0.0%
_CHECK_FUNCTION_VERSION 29,653,700 29,653,700 0.0%
_GUARD_NOT_EXHAUSTED_RANGE 29,609,800 29,609,800 0.0%
_ITER_CHECK_RANGE 29,609,800 29,609,800 0.0%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 28,441,300 28,441,300 0.0%
_GUARD_KEYS_VERSION 28,441,300 28,441,300 0.0%
_LOAD_METHOD_WITH_VALUES 28,441,300 28,441,300 0.0%
_RESUME_CHECK 28,208,920 28,208,920 0.0%
_CHECK_STACK_SPACE_OPERAND 27,930,260 27,930,260 0.0%
_ITER_NEXT_RANGE 27,763,340 27,763,340 0.0%
_RETURN_VALUE 27,694,340 27,694,340 0.0%
_STORE_FAST_1 26,276,160 26,276,160 0.0%
_INIT_CALL_PY_EXACT_ARGS_1 26,222,960 26,222,960 0.0%
_LOAD_SMALL_INT_0 24,718,200 24,718,200 0.0%
_STORE_FAST_6 16,792,980 16,792,980 0.0%
_JUMP_TO_TOP 14,368,960 14,368,960 0.0%
_LOAD_FAST_3 8,002,180 8,002,180 0.0%
_TIER2_RESUME_CHECK 7,731,900 7,731,900 0.0%
_LOAD_FAST_5 5,717,220 5,717,220 0.0%
_GUARD_TOS_INT 5,643,880 5,643,880 0.0%
_POP_TOP 5,192,560 5,192,560 0.0%
_DYNAMIC_EXIT 4,970,500 4,970,500 0.0%
_BINARY_SUBSCR_CHECK_FUNC 4,688,180 4,688,180 0.0%
_BINARY_SUBSCR_INIT_CALL 4,688,180 4,688,180 0.0%
_SWAP 4,446,640 4,446,640 0.0%
_COPY 4,389,480 4,389,480 0.0%
_LOAD_FAST_2 4,343,380 4,343,380 0.0%
_STORE_FAST_3 4,030,120 4,030,120 0.0%
_LOAD_CONST_INLINE_BORROW 3,963,660 3,963,660 0.0%
_LOAD_FAST_7 3,185,700 3,185,700 0.0%
_GET_ITER 2,627,700 2,627,700 0.0%
_INIT_CALL_PY_EXACT_ARGS_2 2,242,400 2,242,400 0.0%
_STORE_SUBSCR_LIST_INT 2,194,740 2,194,740 0.0%
_BINARY_OP_SUBTRACT_INT 2,194,740 2,194,740 0.0%
_STORE_FAST_2 2,111,960 2,111,960 0.0%
_LIST_APPEND 1,954,560 1,954,560 0.0%
_BINARY_SUBSCR 1,935,360 1,935,360 0.0%
_GUARD_BOTH_INT 1,860,480 1,860,480 0.0%
_STORE_DEREF 1,544,500 1,544,500 0.0%
_GUARD_BUILTINS_VERSION_PUSH_KEYS 1,420,480 1,420,480 0.0%
_GUARD_GLOBALS_VERSION 1,420,480 1,420,480 0.0%
_LOAD_GLOBAL_BUILTINS_FROM_KEYS 1,420,480 1,420,480 0.0%
_INIT_CALL_PY_EXACT_ARGS_0 1,238,280 1,238,280 0.0%
_BUILD_TUPLE 1,233,300 1,233,300 0.0%
_MAKE_FUNCTION 1,212,400 1,212,400 0.0%
_RETURN_GENERATOR 1,212,400 1,212,400 0.0%
_COPY_FREE_VARS 1,212,400 1,212,400 0.0%
_SET_FUNCTION_ATTRIBUTE 1,212,400 1,212,400 0.0%
_CALL_BUILTIN_FAST_WITH_KEYWORDS 1,212,400 1,212,400 0.0%
_CALL_BUILTIN_CLASS 1,139,520 1,139,520 0.0%
_STORE_FAST_7 1,074,340 1,074,340 0.0%
_BINARY_OP_ADD_INT 1,002,640 1,002,640 0.0%
_LOAD_SMALL_INT 403,020 403,020 0.0%
_CHECK_STACK_SPACE 282,320 282,320 0.0%
_LOAD_METHOD_NO_DICT 264,560 264,560 0.0%
_GUARD_IS_NOT_NONE_POP 146,480 146,480 0.0%
_BUILD_LIST 145,040 145,040 0.0%
_CALL_LIST_APPEND 137,280 137,280 0.0%
_CALL_METHOD_DESCRIPTOR_O 127,280 127,280 0.0%
_GUARD_DORV_NO_DICT 57,160 57,160 0.0%
_GUARD_TYPE_VERSION_AND_LOCK 57,160 57,160 0.0%
_STORE_ATTR_INSTANCE_VALUE 57,160 57,160 0.0%
_BINARY_SUBSCR_TUPLE_INT 49,940 49,940 0.0%
_CHECK_FUNCTION_VERSION_INLINE 49,940 49,940 0.0%
_STORE_FAST_5 33,060 33,060 0.0%
_STORE_FAST_4 1,700 1,700 0.0%
_DEOPT 100 100 0.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.

Not included in comparative output.

Unsupported opcodes

unsupported opcodes

Optimizer errored out with opcode

Optimization stopped after encountering this opcode

Rare events

Counts of rare/unlikely events
Event Base Count Head Count Change
set class

Setting an object's class, obj.__class__ = ...

0 0
set bases

Setting the bases of a class, cls.__bases__ = ...

0 0
set eval frame func

Setting the PEP 523 frame eval function _PyInterpreterState_SetFrameEvalFunc()

0 0
builtin dict

Modifying the builtins, __builtins__.__dict__[var] = ...

0 0
func modification

Modifying a function, e.g. func.__defaults__ = ..., etc.

0 0
watched dict modification

A watched dict has been modified

0 0
watched globals modification

A watched globals() dict has been modified

0 0

Meta stats

Meta statistics
Base Count Head Count Change
Number of data files 20 20 0.0%

Stats gathered on: 2025-01-22