Skip to content

Latest commit

 

History

History
3519 lines (3270 loc) · 71.1 KB

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

File metadata and controls

3519 lines (3270 loc) · 71.1 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 6,164,040 6,164,040 0.0%
LOAD_SMALL_INT 6,058,860 6,058,860 0.0%
BINARY_OP 2,950,900 2,950,900 0.0%
BINARY_SUBSCR_LIST_INT 2,897,280 2,897,280 0.0%
LOAD_ATTR_INSTANCE_VALUE 2,163,240 2,163,240 0.0%
PUSH_NULL 2,082,000 2,082,000 0.0%
STORE_FAST 1,792,200 1,792,200 0.0%
SWAP 1,750,320 1,750,320 0.0%
LOAD_CONST_IMMORTAL 1,387,680 1,387,680 0.0%
RETURN_VALUE 1,383,480 1,383,480 0.0%
RESUME_CHECK 1,086,480 1,086,480 0.0%
LOAD_GLOBAL_MODULE 1,044,600 1,044,600 0.0%
GET_ITER 1,042,860 1,042,860 0.0%
BUILD_LIST 1,042,140 1,042,140 0.0%
LOAD_GLOBAL_BUILTIN 1,038,120 1,038,120 0.0%
CALL_LEN 1,037,040 1,037,040 0.0%
CALL_PY_EXACT_ARGS 1,036,680 1,036,680 0.0%
ENTER_EXECUTOR 817,820 817,820 0.0%
FOR_ITER_RANGE 726,660 726,660 0.0%
COMPARE_OP_INT 718,320 718,320 0.0%
BINARY_OP_ADD_INT 714,720 714,720 0.0%
COPY 712,080 712,080 0.0%
BINARY_OP_SUBTRACT_INT 710,400 710,400 0.0%
POP_JUMP_IF_FALSE 697,440 697,440 0.0%
CALL_BUILTIN_CLASS 696,300 696,300 0.0%
LOAD_CONST_MORTAL 691,800 691,800 0.0%
POP_TOP 690,780 690,780 0.0%
BINARY_OP_MULTIPLY_INT 690,480 690,480 0.0%
LIST_EXTEND 690,300 690,300 0.0%
STORE_SUBSCR_LIST_INT 386,880 386,880 0.0%
LIST_APPEND 355,440 355,440 0.0%
STORE_ATTR_INSTANCE_VALUE 346,800 346,800 0.0%
LOAD_FAST_AND_CLEAR 346,560 346,560 0.0%
BINARY_SLICE 346,320 346,320 0.0%
LOAD_METHOD_WITH_VALUES 345,840 345,840 0.0%
STORE_FAST_STORE_FAST 345,420 345,420 0.0%
UNPACK_SEQUENCE_LIST 345,120 345,120 0.0%
LOAD_FAST_LOAD_FAST 74,940 74,940 0.0%
LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES 46,800 46,800 0.0%
JUMP_BACKWARD 42,420
POP_JUMP_IF_TRUE 21,660 21,660 0.0%
EXTENDED_ARG 7,440 7,440 0.0%
POP_ITER 6,360 6,360 0.0%
STORE_FAST_LOAD_FAST 3,840 3,840 0.0%
JUMP_FORWARD 2,460 2,460 0.0%
LOAD_ATTR_MODULE 1,440 1,440 0.0%
BINARY_SUBSCR_TUPLE_INT 1,020 1,020 0.0%
CALL_BUILTIN_FAST 960 960 0.0%
CALL_NON_PY_GENERAL 780 780 0.0%
EXIT_INIT_CHECK 720 720 0.0%
CALL_ALLOC_AND_ENTER_INIT 720 720 0.0%
LOAD_METHOD 500 500 0.0%
FOR_ITER 300 300 0.0%
POP_JUMP_IF_NOT_NONE 300 300 0.0%
TO_BOOL_BOOL 300 300 0.0%
UNPACK_SEQUENCE_TWO_TUPLE 300 300 0.0%
CONTAINS_OP 280 280 0.0%
CALL 260 260 0.0%
BINARY_SUBSCR_DICT 240 240 0.0%
CALL_ISINSTANCE 240 240 0.0%
LOAD_ATTR_PROPERTY 240 240 0.0%
LOAD_ATTR 140 140 0.0%
LOAD_GLOBAL 140 140 0.0%
CALL_FUNCTION_EX 120 120 0.0%
BUILD_TUPLE 120 120 0.0%
LOAD_DEREF 120 120 0.0%
CALL_METHOD_DESCRIPTOR_NOARGS 120 120 0.0%
CONTAINS_OP_SET 120 120 0.0%
LOAD_METHOD_NO_DICT 120 120 0.0%
TO_BOOL 100 100 0.0%
COMPARE_OP 80 80 0.0%
MAKE_FUNCTION 60 60 0.0%
NOP 60 60 0.0%
CALL_INTRINSIC_1 60 60 0.0%
COPY_FREE_VARS 60 60 0.0%
IS_OP 60 60 0.0%
LOAD_FAST_CHECK 60 60 0.0%
MAKE_CELL 60 60 0.0%
SET_FUNCTION_ATTRIBUTE 60 60 0.0%
STORE_DEREF 60 60 0.0%
BINARY_OP_SUBTRACT_FLOAT 60 60 0.0%
CALL_METHOD_DESCRIPTOR_O 60 60 0.0%
CALL_PY_GENERAL 60 60 0.0%
CALL_TYPE_1 60 60 0.0%
BINARY_SUBSCR 20 20 0.0%
UNPACK_SEQUENCE 20 20 0.0%
JUMP_BACKWARD_JIT 42,420

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.

2,948,640 5.9% 2,948,640 5.9% 0.0%
hit

Specialized instructions that complete.

46,636,140 94.0% 46,636,140 94.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 20 0.9% 20 0.9% 0.0%
Failure 2,240 99.1% 2,240 99.1% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
xor 440 19.6% 440 19.6% 0.0%
lshift 400 17.9% 400 17.9% 0.0%
and int 320 14.3% 320 14.3% 0.0%
rshift 280 12.5% 280 12.5% 0.0%
or 240 10.7% 240 10.7% 0.0%
floor divide 200 8.9% 200 8.9% 0.0%
remainder 200 8.9% 200 8.9% 0.0%
add other 80 3.6% 80 3.6% 0.0%
multiply different types 80 3.6% 80 3.6% 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.

346,320 100.0% 346,320 100.0% 0.0%

BINARY_SUBSCR

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

Specialized instructions that complete.

147,158,700 100.0% 147,158,700 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%

CALL

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

Specialized instructions that complete.

23,134,140 100.0% 23,134,140 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 260 100.0% 260 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
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.

1,063,440 100.0% 1,063,440 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 0 0.0% 0 0.0%
Failure 20 100.0% 20 100.0% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
bytes 20 100.0% 20 100.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.

240 0.0% 240 0.0% 0.0%
hit

Specialized instructions that complete.

6,212,160 100.0% 6,212,160 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 0 0.0% 0 0.0%
Failure 40 100.0% 40 100.0% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
tuple 40 100.0% 40 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.

300 0.0% 300 0.0% 0.0%
hit

Specialized instructions that complete.

726,660 100.0% 726,660 100.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.

80,504,760 100.0% 80,504,760 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 140 100.0% 140 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.

2,082,720 100.0% 2,082,720 100.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 140 100.0% 140 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.

360 72.0% 360 72.0% 0.0%
Success Base Count Base Ratio Head Count Head Ratio Change
Success 80 57.1% 80 57.1% 0.0%
Failure 60 42.9% 60 42.9% 0.0%
Failure kind Base Count Base Ratio Head Count Head Ratio Change
other 40 66.7% 40 66.7% 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.

346,800 100.0% 346,800 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.

12,811,200 100.0% 12,811,200 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 15.0% 60 15.0% 0.0%
hit

Specialized instructions that complete.

300 75.0% 300 75.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.

5,865,180 100.0% 5,865,180 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%

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.

18,118,020 38.1% 18,160,440 38.2% 0.2%
Basic

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

26,132,780 55.0% 26,090,360 54.9% -0.2%
Not specialized

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

3,299,060 6.9% 3,299,060 6.9% 0.0%
Specialized misses

Specialized instructions, e.g. LOAD_ATTR_MODULE that deopt.

60 0.0% 60 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
BINARY_OP 2,948,640 89.5% 2,948,640 89.5% 0.0%
BINARY_SLICE 346,320 10.5% 346,320 10.5% 0.0%
LOAD_METHOD 360 0.0% 360 0.0% 0.0%
FOR_ITER 300 0.0% 300 0.0% 0.0%
CONTAINS_OP 240 0.0% 240 0.0% 0.0%
TO_BOOL 60 0.0% 60 0.0% 0.0%
COMPARE_OP 60 0.0% 60 0.0% 0.0%
STORE_SLICE 0 0.0% 0 0.0%
CACHE 0 0.0% 0 0.0%
BINARY_SUBSCR 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
RESUME 60 50.0% 60 50.0% 0.0%
RESUME_CHECK 60 50.0% 60 50.0% 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%
MAKE_FUNCTION 0 0.0% 0 0.0%
NOP 0 0.0% 0 0.0%
POP_ITER 0 0.0% 0 0.0%
POP_TOP 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 60 0.0% 60 0.0% 0.0%
Calls to Python functions inlined 5,524,080 100.0% 5,524,080 100.0% 0.0%
Calls via PyEval_EvalFrame (total) 60 0.0% 60 0.0% 0.0%
Calls via PyEval_EvalFrame (vector) 60 0.0% 60 0.0% 0.0%
Calls via PyEval_EvalFrame (generator) 0 0.0% 0 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 5,524,860 100.0% 5,524,860 100.0% 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 misses 21 31 47.6%
Method cache collisions 16 18 12.5%
Method cache dunder hits 720 717 -0.4%
Method cache hits 6,212,359 6,212,349 -0.0%
Immortal increfs 350,181,861 39.4% 350,181,875 39.4% 0.0%
Mortal increfs 519,721,181 58.5% 519,721,195 58.5% 0.0%
Mortal decrefs 647,855,083 49.5% 647,855,099 49.5% 0.0%
Immortal decrefs 605,528,319 46.3% 605,528,333 46.3% 0.0%
Allocations from freelist 39,815,580 26.0% 39,815,580 26.0% 0.0%
Frees to freelist 39,815,480 39,815,480 0.0%
Allocations 113,214,120 74.0% 113,214,120 74.0% 0.0%
Allocations to 512 bytes 113,213,860 74.0% 113,213,860 74.0% 0.0%
Allocations to 4 kbytes 20 0.0% 20 0.0% 0.0%
Allocations over 4 kbytes 240 0.0% 240 0.0% 0.0%
Frees 113,905,442 113,905,442 0.0%
Inline values 720 720 0.0%
Interpreter mortal increfs 12,035,420 1.4% 12,035,420 1.4% 0.0%
Interpreter mortal decrefs 31,742,940 2.4% 31,742,940 2.4% 0.0%
Interpreter immortal increfs 6,119,880 0.7% 6,119,880 0.7% 0.0%
Interpreter immortal decrefs 22,378,560 1.7% 22,378,560 1.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 dunder misses 0 3 3 / 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.

160 160 0.0%
Traces created

The number of traces that were successfully created.

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

160 100.0% 160 100.0% 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.

140 87.5% 140 87.5% 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

11,685,480 11,685,480 0.0%
Uops executed

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

2,249,747,940 19,252.5% 2,249,747,940 19,252.5% 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.

20 20 0.0%
Optimizer successes

The number of traces that were successfully optimized.

20 100.0% 20 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 0 0.0% 0 0.0%
<= 16 20 100.0% 20 100.0% 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 0 0.0% 0 0.0%
<= 8 20 100.0% 20 100.0% 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 293,690,280 293,690,280 0.0%
_CHECK_VALIDITY 272,292,900 272,292,900 0.0%
_BINARY_OP 215,697,840 215,697,840 0.0%
_CHECK_VALIDITY_AND_SET_IP 175,318,980 175,318,980 0.0%
_LOAD_SMALL_INT 157,374,720 157,374,720 0.0%
_BINARY_SUBSCR_LIST_INT 144,260,160 144,260,160 0.0%
_LOAD_FAST_7 84,554,400 84,554,400 0.0%
_LOAD_FAST_0 82,088,880 82,088,880 0.0%
_LOAD_FAST 79,032,480 79,032,480 0.0%
_GUARD_DORV_VALUES_INST_ATTR_FROM_DICT 55,564,080 55,564,080 0.0%
_GUARD_KEYS_VERSION 55,564,080 55,564,080 0.0%
_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES 55,219,200 55,219,200 0.0%
_BINARY_OP_ADD_INT 42,449,760 42,449,760 0.0%
_GUARD_TOS_INT 41,414,400 41,414,400 0.0%
_CHECK_PERIODIC 31,058,820 31,058,820 0.0%
_MAKE_WARM 28,594,200 28,594,200 0.0%
_GUARD_NOT_EXHAUSTED_RANGE 22,087,680 22,087,680 0.0%
_ITER_CHECK_RANGE 22,087,680 22,087,680 0.0%
_GUARD_TYPE_VERSION 21,693,240 21,693,240 0.0%
_LOAD_FAST_3 19,324,560 19,324,560 0.0%
_ITER_NEXT_RANGE 17,946,240 17,946,240 0.0%
_JUMP_TO_TOP 16,908,720 16,908,720 0.0%
_CHECK_MANAGED_OBJECT_HAS_VALUES 16,516,200 16,516,200 0.0%
_LOAD_ATTR_INSTANCE_VALUE 16,516,200 16,516,200 0.0%
_LOAD_FAST_6 15,530,400 15,530,400 0.0%
_STORE_FAST_7 15,185,280 15,185,280 0.0%
_LOAD_FAST_4 13,804,800 13,804,800 0.0%
_LOAD_FAST_5 13,804,800 13,804,800 0.0%
_STORE_SUBSCR_LIST_INT 12,424,320 12,424,320 0.0%
_PUSH_NULL 11,734,020 11,734,020 0.0%
_START_EXECUTOR 11,685,480 11,685,480 0.0%
_EXIT_TRACE 11,340,540 11,340,540 0.0%
_CHECK_FUNCTION 11,043,780 11,043,780 0.0%
_LOAD_CONST_INLINE 11,043,720 11,043,720 0.0%
_LOAD_FAST_1 10,698,540 10,698,540 0.0%
_STORE_FAST 8,282,820 8,282,820 0.0%
_LOAD_FAST_2 7,245,360 7,245,360 0.0%
_LOAD_CONST_INLINE_BORROW 6,902,340 6,902,340 0.0%
_LIST_APPEND 6,555,120 6,555,120 0.0%
_CONTAINS_OP_SET 6,212,040 6,212,040 0.0%
_CALL_LIST_APPEND 5,521,920 5,521,920 0.0%
_LOAD_METHOD_NO_DICT 5,521,920 5,521,920 0.0%
_LOAD_SMALL_INT_0 5,521,920 5,521,920 0.0%
_FOR_ITER_TIER_TWO 5,520,000 5,520,000 0.0%
_UNPACK_SEQUENCE_TWO_TUPLE 5,519,760 5,519,760 0.0%
_STORE_FAST_2 5,519,760 5,519,760 0.0%
_STORE_FAST_3 5,519,760 5,519,760 0.0%
_PUSH_FRAME 4,486,320 4,486,320 0.0%
_SAVE_RETURN_OFFSET 4,486,320 4,486,320 0.0%
_RESUME_CHECK 4,141,440 4,141,440 0.0%
_POP_TOP 4,141,440 4,141,440 0.0%
_CHECK_FUNCTION_VERSION_INLINE 4,141,440 4,141,440 0.0%
_CHECK_STACK_SPACE_OPERAND 4,141,440 4,141,440 0.0%
_INIT_CALL_PY_EXACT_ARGS_1 4,141,440 4,141,440 0.0%
_RETURN_VALUE 4,141,380 4,141,380 0.0%
_GET_ITER 3,796,320 3,796,320 0.0%
_CALL_BUILTIN_CLASS 3,796,320 3,796,320 0.0%
_GUARD_IS_TRUE_POP 3,451,140 3,451,140 0.0%
_CALL_TYPE_1 3,106,020 3,106,020 0.0%
_CALL_METHOD_DESCRIPTOR_NOARGS 3,106,020 3,106,020 0.0%
_GUARD_IS_FALSE_POP 3,106,020 3,106,020 0.0%
_LOAD_METHOD 3,106,020 3,106,020 0.0%
_STORE_FAST_1 3,106,020 3,106,020 0.0%
_BINARY_OP_MULTIPLY_INT 2,070,720 2,070,720 0.0%
_LOAD_SMALL_INT_1 1,380,480 1,380,480 0.0%
_BINARY_SLICE 1,035,360 1,035,360 0.0%
_LOAD_SMALL_INT_2 1,035,360 1,035,360 0.0%
_LOAD_SMALL_INT_3 1,035,360 1,035,360 0.0%
_CALL_LEN 690,240 690,240 0.0%
_BUILD_LIST 345,120 345,120 0.0%
_COMPARE_OP_INT 345,120 345,120 0.0%
_GUARD_BOTH_INT 345,120 345,120 0.0%
_COPY 344,880 344,880 0.0%
_DYNAMIC_EXIT 344,880 344,880 0.0%
_LOAD_ATTR_PROPERTY_FRAME 344,880 344,880 0.0%
_LOAD_METHOD_WITH_VALUES 344,880 344,880 0.0%
_TIER2_RESUME_CHECK 296,280 296,280 0.0%
_DEOPT 60 60 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