| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Out of 263 total uops, 155 of these are ignored by the tier two optimizer. These represent over half of all uops by dynamic execution count.
This issue will serve as a checklist for auditing these missing uops, and adding them where they make sense. At first glance, there's quite a bit of potential here... especially around ability to narrow known output types (like _CONTAINS_OP_SET), and the ability to narrow and remove guards on input types (like _BINARY_OP_SUBSCR_LIST_INT). As I'm going through, I'll cross out anything that doesn't seem like it makes sense to add.
First, here are the 53 missing uops that each represent at least 0.1% of all uops executed:
DetailsAnd here are the 102 missing uops that are less than 0.1%. These are less important, but still may net us some wins on individual benchmarks:
Details| Back | FazBrowse Home | New Git URL |
Activity
GH-131798: Remove type checks for _TO_BOOL_STR (GH-131816)
brandtbucher commented on Apr 1, 2025
@diegorusso is going to add _CALL_LEN.
GH-131798: Allow the JIT to remove more int/float/str guards (GH-131800)
brandtbucher commented on Apr 3, 2025
@fluhus is going to add _BINARY_SLICE.
brandtbucher commented on Apr 3, 2025
@Klaus117 is going to improve _TO_BOOL_INT.
GH-131798: Narrow the result of _CONTAINS_OP_SET to bool in the JIT (G…
brandtbucher commented on Apr 7, 2025
@Zheaoli is going to add _CONTAINS_OP_DICT.
pythongh-131798: Allow the JIT to remove an extra _TO_BOOL_BOOL for _…
186 remaining items
pythongh-131798: Split `_CHECK_AND_ALLOCATE_OBJECT` into smaller uops (…
pythongh-131798: optimize through keyword and bound method calls in t…
pythongh-131798: JIT: Optimize `_CHECK_IS_NOT_PY_CALLABLE_EX` and `_C…
pythongh-131798: Constant-fold `_CONTAINS_OP_DICT` for frozendict (py…
gh-pythongh-131798: optimize `LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN` in t…
pythongh-131798: constant fold special method lookups in JIT (python#…
pythongh-131798: Fix `_ITER_CHECK_RANGE` type in the JIT (python#148607)
pythonGH-131798: Narrow the return type of _GET_LEN to int (pythonGH-…
pythonGH-131798: Narrow types more aggressively in the JIT (pythonGH-…
pythonGH-131798: Turn _LOAD_SMALL_INT into _LOAD_CONST_INLINE_BORROW …
pythonGH-131798: Optimize cached class attributes and methods in the …
pythonGH-131798: Optimize away isinstance calls in the JIT (pythonGH-…
pythonGH-131798: Optimize away isinstance calls in the JIT (pythonGH-…
pythongh-131798: Small improvements to `remove_unneeded_uops` (python…
pythongh-131798: Optimize `_ITER_CHECK_TUPLE` (pythonGH-134803)