API Referencecommonjit
jit/ - LuaJIT Compiler & Profiler Modules
Standard LuaJIT modules for JIT compiler introspection and profiling.
Standard LuaJIT modules for JIT compiler introspection and profiling.
| File | Description |
|---|---|
p.lua | Built-in sampling profiler CLI (top-N, annotated source, flame graph output) |
v.lua | Verbose JIT trace compiler output (trace start/stop/abort logging) |
vmdef.lua | Auto-generated VM bytecode/IR definitions (DO NOT EDIT) |
zone.lua | Hierarchical zone stack for labeling profiler sections |
Wheels Reference
Module defined in `lua/common/jbeam/sections/wheels.lua`. Constructs wheel geometry (nodes and beams) from JBeam wheel definitions. The largest file in the jbeam subsystem (~2000 lines).
jit.p (LuaJIT Profiler) Reference
Module defined in `lua/common/jit/p.lua`. LuaJIT's built-in low-overhead profiler CLI interface. Collects stack samples and outputs top-N lists, annotated source, or raw data for flame graphs.