Dino Viehland
90d · built 2026-11-30
Performance
What Dino Viehland shipped in the selected window, measured in ETV, and how it compares with the 90 days before it.
Effective capacity
+5.9engineers
delivers like 6.9 (6.9x pre-AI)
Output (ETV)
39.6ETV
+75.7% vs 22.5 prior
Features share
37.7%
+2.9 pp vs prior window
Fixes share
14.4%
−6.7 pp vs prior window
Work mix
37.7% Features15.6% Maintenance30.7% Tests1.6% Docs14.4% Fixes
149 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 21 %
- By Features share
- Top 21 %
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.3ETVRegister unwind info Summary: Ads AI training crashes with SIGBUS in libunwind while unwinding through CinderX JIT code (T296442166). The JIT emitted no unwind info, so libunwind fell back to scanning backwards from the return address, into an adjacent `/dev/nvidia0` mapping. This diff registers `.eh_frame` unwind info for JITed functions and trampolines. Most of the `.eh_frame` builder is vendored from CPython's `Python/jit_unwind.c` (upstream main). No CPython source is changed, and the vendored code does not use CPython internal headers, `PyMutex`, `PyMem`, or the `_Py_JIT` / `pyconfig` macros, so the same code serves Python 3.12, 3.14, 3.15, and 3.16. Only the absolute-address flavor is vendored; the PC-relative perf flavor encodes CPython's trampoline epilogue and is not applicable. The frame rule is CinderX's: every entry sequence establishes a frame pointer, so the FDE describes CFA = frame pointer + 16, with the saved frame pointer at CFA-16 and the return address at CFA-8. Each code section is registered with both unwinder families, which consult disjoint registries: `__register_frame` for libgcc / glibc `backtrace()`, and `_U_dyn_register` with a `UNW_INFO_FORMAT_TABLE` entry for HP libunwind (used by jemalloc's `unw_backtrace`), which has no `__register_frame` and otherwise scans backwards. `NativeGenerator` registers one frame per code section and transfers ownership to `CompiledFunctionData`, which unregisters before releasing code; the GDB JIT ELF object gains an `.eh_frame` section; split-section cold-section addresses are computed with integer arithmetic. Standalone trampoline registrations are permanent: they are owned by `JitUnwindPermanentRegistry` in `ModuleState`, which unregisters them when the module state is torn down, and frame buffers are owned by `EhFrameBuffer`, a `std::unique_ptr` with a `free` deleter. Per-function `__register_frame` is gated by the `unwind.libgcc_frame_registration` JIT config flag (`cinderx-jit-unwind-libgcc-frame-registration`, env `CINDERX_JIT_UNWIND_LIBGCC_FRAME_REGISTRATION`), off by default. Turning it on enables only the libgcc half; HP libunwind registration is unaffected and always on. On libgcc older than GCC 13, every C++ exception or `backtrace()` lookup takes a global mutex and walks every registered frame, so per-function registration stays opt-in: processes that need glibc backtraces through JIT frames can turn it on, and processes with a high C++ unwind rate leave it off. Two test repairs from CI failures are included. `test_jit_unwind.py` looks `backtrace` up in `libc.so.6`: the global lookup finds the CinderX binary's own statically linked HP libunwind `unw_backtrace`, which does not export `_U_dyn_register` and stops at generator frames whose frame pointer holds the heap `GenDataFooter`. `test_backtrace_after_uncompile_and_gc` is skipped under the prefork-model refleak step: it uncompiles and recompiles a function, and prefork immortalizes every `CompiledFunction` (6 leaked references per run). Reusing CPython's own builder on 3.16+ via exported `_PyJit_*` APIs is left as a follow-up; this diff uses the vendored builder on all versions. Reviewed By: alexmalyshev Differential Revision: D129215193 fbshipit-source-id: b4c3015069f10d008df2a1019994a84fb2ea6c10github.com-facebookincubator-cinderx · d86fb149 · 2026-11-04
- 1.2ETVOptimize import / import from Summary: Currently when we have a `import foo` or `from foo import bar` in a function we just generate the general go off and import something logic that CPython typically uses. But we can do much better - we can use a dictionary watcher on sys.modules to verify that we're getting the right dictionary and then use a dictionary watcher on the module's members to grab the members as they currently stand. This bypasses a bunch of general purpose logic such as "the hell that is fromlist" (https://www.internalfb.com/code/fbsource/[f4ed764145d454c46d80de2238ee9d4bac7b06b7]/third-party/python/3.12/Lib/importlib/_bootstrap.py?lines=1412) and a bunch of other useless stuff. Reviewed By: alexmalyshev Differential Revision: D121081130 fbshipit-source-id: ac673231dee9b6214a99b52ecc9f10d1c5da332egithub.com-facebookincubator-cinderx · c175190a · 2026-10-29
- 1.0ETVImprove lambda creation performance Summary: It's been noted that our lambda creation performance is about 4x worse than baseline CPython. There's a number of factors for this. This addresses the cost of looking up if a function is eligible for compilation and if it's been compiled. We add a new `NestedCompiledData` which tracks this state and when we generate code for creating a function we allocate one of these and embed it as part of the call. Then we can quickly consult our known data during function creation time. Reviewed By: alexmalyshev Differential Revision: D116848883 fbshipit-source-id: 157a9b33b3f34871de14b505a6a76c2a2456620bgithub.com-facebookincubator-cinderx · 5e5cbeb7 · 2026-09-09
- 0.9ETVSupport load method elimination on Python functions when we know the instance type Summary: We can know the instance type of the receiver at compile time (e.g. because it's global we've pinned) and we can know that the receiver isn't showing any attributes (because it's shared keys doesn't contain them). In this case we can replace the `LoadMethod` with a call to the exact function. We'll deopt if the type is modified. Reviewed By: alexmalyshev Differential Revision: D119413357 fbshipit-source-id: 35259ccc59de263f49759d343f008268b9b3c63egithub.com-facebookincubator-cinderx · 00368f45 · 2026-09-17
- 0.9ETVReset profile data on deopt Summary: Adds support for removing recompile profile data when a guard deopts. This introduces a new set of guards which are specific for profiled compilation. The reason for the new guards is primarily to keep the runtime overhead on guards to a minimum but these could be pushed down to the normal GuardIs/GuardType if that seems like too fiddly of a concern. The additional overhead is required because we need to track the actual profile instruction independently from the existing deopt instruction index because guards snap to their dominating frame state in the ref count insertion pass. When one of these guards deopts we simply lookup the recompile profile for the CodeRuntime and remove any associated guard information. Reviewed By: mpage Differential Revision: D124016860 fbshipit-source-id: b654f13b8955b74ef8e027076faee063dd88dbf2github.com-facebookincubator-cinderx · 4f1b3eb7 · 2026-10-21
- 0.8ETVSupport calling functions w/ keyword arguments Summary: Currently if a function is KWARGS we can't call it. This adds support for binding to a function w/ keyword arguments. We try and bind any position arguments where they should go and the keyword arguments to their correct location. If there are any left over we'll create a tuple for passing the keyword arguments Reviewed By: mpage Differential Revision: D129670450 fbshipit-source-id: d17564e04f898fb52116dba8bff57083876b8588github.com-facebookincubator-cinderx · 7545b4ab · 2026-11-12
- 0.8ETVAdd TO_BOOL caches Summary: This ends up causing us to deopt a lot - it may even be worth removing it in some cases. The issue is that we're frequently going to have something that alternates between None and some other type. We'll get only a single type from the interpreter and we'll pick it, and then we'll deopt every single time we see the other thing. Reviewed By: yoney Differential Revision: D131568473 fbshipit-source-id: 9f727ed3f1a6cc68ea6650405fa96a876ebe3691github.com-facebookincubator-cinderx · 2fc7487d · 2026-11-13
- 0.8ETVRemove compiled_funcs Summary: This completely eliminates our `compiled_funcs_` tracking at runtime. It's replaced by a logical tracking of the compiled functions references that we resolve at GC time. We replace Python's function object's `tp_traverse` and `tp_clear` functions at runtime so that we can report/clear our references. We then lookup and see if the function is a function which we have a `CompiledFunction` object and report the references. This let's us transform the tracking of the function's we've compiled and the functions associated with each compiled function into a single incref of the `CompiledFunction` when we attach the compiled code and a single decref when we remove it/the function is freed. We track references identically to how we do today. For a simple function there's a 1<->1 correspondence with the `CompiledFunction`. For a nested function the outer-most function logically owns the reference to the `CompiledFunction` for it's nested functions so that creating and destroying nested functions does not re-compile. It gets rid of manifesting the dictionary object for every compiled function and eliminates putting the function in a list in the outer function's dictionary. We use the function's vectorcall entrypoint as the source of truth for "This function is using this `CompiledFunction`". This should play nicely once we have re-compilation because we can still disambiguate between what `CompiledFunction` a function is attached to without the runtime overhead of tracking every single function -> `CompiledFunction` explicitly. Ideally we want to gate all of this through `CompiledFunction::addFunction` and `CompiledFunction::removeFunction` so that the vectorcall updates are always paired with logically adding/removing the reference. We can't fully do that yet because we need to replace the vectorcall on deopt and still keep the function alive. That will get cleaner in the next diff. The Reviewed By: kddnewton, yoney Differential Revision: D117576499 fbshipit-source-id: 5f1f2487c1450e8e3354721183649793f2a3a6aegithub.com-facebookincubator-cinderx · a4062901 · 2026-09-09
- 0.7ETVFix up runtime offsets Summary: Dynamically compute offsets of things we need to access in `_PyRuntime`. A good chunk of this is accessing the TLBC on free-threaded build. But there's also some things in the interpreter loop where we're accessing it too. Reviewed By: alexmalyshev Differential Revision: D127842320 fbshipit-source-id: ad58e793e3ee7d5e245b23e64727055dc96d2b20github.com-facebookincubator-cinderx · 8487453f · 2026-10-29
- 0.7ETVSupport raise w/o deopt Summary: Currently we implement `raise` by deopting into the interpreter. This makes it so that we directly support raise when we're not in an exception handler. We reify the interpreter frame into a `PyFrameObject` and initialize the traceback. We then return NULL. This now still uses the deopt machinery (so we get locals) but avoids resuming in the interpreter by adding a new deopt kind. Reviewed By: mpage Differential Revision: D131279023 fbshipit-source-id: 77b378d2d8c08f19a01b05d34b8a09372e382bccgithub.com-facebookincubator-cinderx · ec88eb3b · 2026-11-16