Alex Malyshev
90d · built 2026-11-30
Performance
What Alex Malyshev shipped in the selected window, measured in ETV, and how it compares with the 90 days before it.
Effective capacity
+1.7engineers
delivers like 2.7 (2.7x pre-AI)
Output (ETV)
23.9ETV
−26.0% vs 32.3 prior
Features share
16.7%
−1.1 pp vs prior window
Fixes share
25.6%
−1.0 pp vs prior window
Work mix
16.7% Features26% Maintenance30.5% Tests1.2% Docs25.6% Fixes
151 commits over 90 days, ending 2026-11-30.
Where this dev ranks
Percentile against the global top-100 leaderboard (all-time totals).
- By commits
- Top 29 %
- By Features share
- Top 94 %
Daily performance
Daily ETV, stacked by Features, Maintenance, Tests, Docs and Fixes.
Repository spread
Where this developer's commits land. Concentrated work (top1 > 80%) vs polymath spread (top1 < 30%).
Most impactful commits
Top 10 by ETV in the last 90 days.
- 1.1ETVPrepare Python 3.15t support Summary: - Add `borrowed-3.15.free-threading.c.template`, its generated OSS cache, the `3.15t` build flavor, and cache regeneration support. Resolve the TLBC/list APIs exported by CPython 3.15 directly rather than renaming them to 3.14-only borrows. - Use the CPython 3.15 stack-reference tags and provide the shared interpreter headers to the 3.15t flavor. - Route ordinary free-threaded lists through `PyList_Append`, avoiding heap corruption from the checked-list helper allocation layout. - Restrict entry `TagIfDeferred` to root functions. Inlined callee arguments alias caller registers, which may own references; tagging them as borrowed deferred references leaked the original owned reference. Preserve inherited tags and ownership instead. - Add allocation/ownership, stack-reference representation, and inlined deferred-reference lifetime regressions; regenerate affected 3.14t HIR goldens and generate the missing 3.15t text and C++ expect blocks without changing existing versions. GitHub workflows, `pyproject.toml`, and OSS signal configuration are unchanged. The new Python CI test matrix remains empty while support is being prepared. Reviewed By: yoney Differential Revision: D132397072 fbshipit-source-id: 95809f1d33099987e9ab4ad011ebce779e08bda8github.com-facebookincubator-cinderx · 481fde67 · 2026-11-17
- 0.9ETVSupport `LOAD_MAPPING_ARG` in the JIT Summary: Add JIT support for Static Python’s `LOAD_MAPPING_ARG` bytecode, allowing statically bound `**kwargs` calls to compile instead of leaving the entire caller interpreted. The `LoadMappingArg` HIR instruction uses `rt::loadMappingArg(mapping, name, default_value)` to validate the container, perform a strong-reference dictionary lookup, and return an owned value or default. A null default marks a required argument; missing arguments raise `TypeError`, and lookup exceptions propagate. The instruction carries `DeoptBase` metadata for reentrant key equality, GC, and active deoptimization. Tests cover required/defaulted arguments, invalid containers, dict subclasses, temporary ownership, and direct/inlined reentrant hit, miss, and error paths. Comparison traces are checked against a single builtin lookup to avoid hash-seed-dependent assumptions. Reviewed By: DinoV Differential Revision: D132406282 fbshipit-source-id: 56b5911e72bad5a61e8ccf0e2261504273182c18github.com-facebookincubator-cinderx · 968d5b2d · 2026-11-18
- 0.9ETVSupport multiple outputs on HIR instructions, remove GetSecondOutput Summary: Helpers that return a two-word struct (`LoadMethodResult`, `GenSendRes`, `StaticMethodInfo`) were modeled in HIR as the producing instruction plus a separate `GetSecondOutput` that read the second word, and in LIR as a `LoadSecondCallResult` that a post-generation rewrite turned into a move from the second return register, tracing through Phis when the producer had been split by the simplifier. `Instr` can now define more than one output: - Outputs are stored in a fixed `std::array<Register*, kMaxOutputs>` (`kMaxOutputs = 2`), replacing `output_`. `output()`/`setOutput(dst)` keep meaning the primary output; `numOutputs()`, output(i)`, `setOutput(i, dst)` and `outputs()` cover the rest. Outputs are contiguous from index 0. `Instr` grows by one pointer (6 -> 7 words). - Only opcodes with `hir::numOutputs(op) > 1` may set an output past index 0. The type of a second output comes from the new `outputType(instr, output_idx)`. - Every output shares the instruction's memory effects, so the refcount pass treats them alike (all current second outputs are owned or uncounted, as with `GetSecondOutput`). - The HIR printer and parser use `v1:T1, v2:T2 = Op ...` syntax. - SSA construction and checking, liveness, assignment analysis, call-site live values, type reflow, refcount insertion and HIR stats iterate over all outputs. CSE only handles single-output instructions. - `isAnyLoadMethod()` now takes a `Register` and is only true for an instruction's primary output, so deopt metadata doesn't mistake a `LoadMethod`'s instance output for the callable. - The simplifier's `Env` gains `extra_outputs` for replacing non-primary outputs, plus `addOutput()` and `emitCondMulti()`. Specializing a `LoadMethod` into `LoadTypeMethodCacheEntryValue`/`FillTypeMethodCache` now joins each output with its own Phi rather than reading the second word through a Phi. - `LoadMethodElimination` replaces the `LoadMethod`'s second output with an `Assign` of the receiver. LIR: `appendCall2RetValues()` takes the HIR instruction and defines its second output right after the call, with a `Move` from the second return register (or a `Load` from the struct-return buffer on Windows). This removes `LoadSecondCallResult` and its Phi-tracing rewrite in postgen. Instructions converted to define their second output directly: - `LoadMethod`, `LoadMethodSuper`, `LoadModuleMethodCached`, `LoadTypeMethodCacheEntryValue`, `FillTypeMethodCache`, `LoadSpecial` (the method's `self`/null, `OptObject`) - `Send` (the done flag, `CInt64`) - `CallInd` (the second struct word, `CPtr`, used for the Static Python `vte_load` entry point). `CallInd::returnsTwoValues()` is now derived from having a second output, replacing `setReturnsTwoValues()`. We _could_ follow up with allocating `Instr::outputs_` as a variable-length field the same way we do for its operands, but that can come later. One bit of awkwardness that still remains is `Instr::has_output`, it doesn't tell the user how many outputs there actually are. We'll want to consolidate this and `Instr::numOutputs()` afterwards. Reviewed By: yoney Differential Revision: D126788124 fbshipit-source-id: 837196fbc4039b517ca9e8e4a2949627b3c5e053github.com-facebookincubator-cinderx · 90de1dc0 · 2026-10-23
- 0.9ETVReuse the ELF utilities for GDB debug objects Summary: Replace the AOT shared-library serializer with a relocatable ELF section writer and use the existing ELF64 headers, symbols, and string tables in GDB support. Replace fixed-size scratch storage and unaligned DWARF stores with growable byte buffers. Preserve live-code NOBITS sections, symbol bindings, line programs, and shared unwind data. Keep a bounded portable ELF reader for structural verification. Remove AOT notes, dynamic/hash tables, bytecode checksums, and the obsolete ELF-reader/zlib build options. Reviewed By: yoney Differential Revision: D133101342 fbshipit-source-id: 2dc4b8b38a1cc1310107c6cd27b9a3f40efda283github.com-facebookincubator-cinderx · 65c90273 · 2026-11-19
- 0.9ETVCache class-receiver method loads in tagged entries Summary: `LoadMethodCache` caches method loads on class receivers whose metaclass is exactly `type`, including dynamic `cls.method(...)` calls and the `object.__setattr__` loads generated by frozen dataclasses. The receiver key is its pointer tagged with `0x01`. Class and instance receivers share the four existing entries, with the class receiver's `tp_version_tag` stored in the entry's version word. The type check precedes the ordinary instance scan. Class entries are validated before their borrowed values are accessed and need no watcher registration. Instance fills prefer empty entries, then reclaim class entries; class fills never evict instance entries. Recompile profiling records class observations as an unbound `type` marker, keeping mixed sites polymorphic without exposing tagged pointers. The cache is 104 bytes, with 24-byte entries, enforced by static assertions. Cacheable attributes are functions, method and wrapper descriptors, Python static/class methods, C class methods, and immutable non-descriptor values found along the receiver's MRO. Data descriptors on `type`, custom metaclasses and unsupported lookups use the normal attribute lookup. `LoadMethodCache` keeps Python static/class method descriptors in its entries; their wrapped callable is read on each hit, so reinitializing a descriptor at these generic sites does not leave a stale callable. The descriptor flag fits in the entry's padding. Class receiver caching and mutable-descriptor shortcuts are disabled for free-threaded builds. Adds `typemethod`, `typeclassmethod` and `polytypemethod` workloads to the attribute-cache benchmark, plus tests for descriptor behavior, invalidation, polymorphic and mixed receivers, profiling, slot reclamation and descriptor reinitialization. Reviewed By: DinoV Differential Revision: D129482175 fbshipit-source-id: 01a9387d637a5c65b118807672b7b063a5365da8github.com-facebookincubator-cinderx · c6699415 · 2026-11-18
- 0.8ETVRefactor perf writers into classes Summary: One last refactor here. I'd like to try to isolate these implementations more from the rest of the JIT. So they'll get initialized as classes with the state they need for logging perf entries and for handling after-fork scenarios. They'll be part of the ModuleState so they can get wired into its `afterForkChild()` handler. They still depend on the logging library, but otherwise they're entirely separate from the rest of the extension. Reviewed By: mpage Differential Revision: D122578833 fbshipit-source-id: 6530844fd4acb3490b1c9b1b07f90622fe31d8dcgithub.com-facebookincubator-cinderx · 05ec368f · 2026-10-06
- 0.7ETVName multithreaded worker threads, catch worker exceptions Summary: Trying to make these easier to debug. This starts with: * Giving them easy to understand names, e.g. `cx_compile_5`. In debug logs we'll also log the C++ thread ID, which is a larger number/pointer that we can't fit in the thread's name. * Catch top-level exceptions that bubble up to the top of the thread, to make sure they don't crash the entire process. Reviewed By: DinoV Differential Revision: D125279388 fbshipit-source-id: 7138d30f67339d342a0dd64b1ed1381aa80b6f66github.com-facebookincubator-cinderx · 21fc5649 · 2026-10-15
- 0.6ETVDerive HIR destination handling from opcode metadata Summary: Make the manual `numOutputs(Opcode)` switch constexpr in `ops.h` and expose `InstrT::kOpcode`. Use the opcode output count to constrain destination-taking constructors and to allocate destination registers in `emitInstr` and `emitVariadic`. Remove `HasOutput` and `has_output`, move operand and allocation mixins into `InstrBaseT`, and standardize `Send` and `BuildTemplate` call sites to take the destination first. `Instr::numOutputs()` continues to count attached registers. Reviewed By: mpage Differential Revision: D126978988 fbshipit-source-id: 117c82a11b1ed71116fea3ae215588b161e56aabgithub.com-facebookincubator-cinderx · 9f6692da · 2026-10-28
- 0.6ETVReplace `MoveRelaxed` with `Load`/`Store` memory order Summary: Add a `MemoryOrder` LIR subopcode (`kNone`, `kRelaxed`) carried by `Load` and `Store`, mirroring how `Condition` works for `BranchCC`/`Compare`. `Load`/`Store` print and parse with per-order names (`LoadRelaxed`, `StoreRelaxed`), with plain `Load`/`Store` meaning `kNone`. Remove the `kMoveRelaxed` opcode and convert all emitters to relaxed `Load`/`Store`; `Move` is now register-only. Relaxed codegen (including TSAN atomic helpers) keys off the order on `Load`/`Store`. Post-alloc pair formation and the stack-spill Load-to-`Move` fold skip relaxed accesses. Reviewed By: DinoV Differential Revision: D118680179 fbshipit-source-id: 4490b0b9ded0b28ad9fc182f83389701bed23da6github.com-facebookincubator-cinderx · a6ff25a5 · 2026-09-15
- 0.5ETVFix more issues with JIT shutdown Summary: The keepalive reference we create in `funcDestroyed` is a hack, and doesn't actually work 100% of the time. Replace it with something better. Reorder the logic in the function+code watchers to try to update metadata first, then delete function/code entries. The deletion is what can trigger deleting the whole context, we want to do that last. funcDestroyed() has to be extra careful and needs to forward back all compiled function references first, before destroying _any_ of them. codeDestroyed() no longer checks whether the JIT is running. This prevents invalid entries in the Code->OuterFunction mapping. There's also a small change here to always run the free-threaded entrypoint guard first thing. We shouldn't need a fast path in funcDestroyed() when the module state is already destroyed. Reviewed By: mpage Differential Revision: D122166524 fbshipit-source-id: 606408ee1cd80d290a82bfc0d2438fc7030e8dafgithub.com-facebookincubator-cinderx · 358c3649 · 2026-09-29