RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Debug DrawingGPU Mesh StructsImGui FFIMath Structs (FFI)FFI C DefinitionsPID ControllersCSV LibraryDelay LineDequeDevelopment UtilitiesEvent ReferenceExtension SystemSignal FiltersGraph PathfindingUI BridgeInput Filter Constants2D Bilinear InterpolationIntrospectionJBeam Pretty PrinterJSON AST ParserSJSON ParserJSON Debug ParserJSON Pretty PrinterK-D Tree (2D Boxes)K-D Tree (3D)K-D Tree (3D)Lua SerializerC++/Lua BindingLua CoreLua ProfilerMath LibraryParticlesQuadtreeSettingsTCP ServerTimer SchedulerUtility Library
jit/ - LuaJIT Compiler & Profiler ModulesLuaJIT ProfilerVerbose JIT CompilerLuaJIT VM DefinitionsProfiler Zones

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

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.

FileDescription
p.luaBuilt-in sampling profiler CLI (top-N, annotated source, flame graph output)
v.luaVerbose JIT trace compiler output (trace start/stop/abort logging)
vmdef.luaAuto-generated VM bytecode/IR definitions (DO NOT EDIT)
zone.luaHierarchical zone stack for labeling profiler sections

See Also

  • jit.p (LuaJIT Profiler) Reference - Related reference
  • jit.v (Verbose JIT Compiler Output) Reference - Related reference
  • jit.vmdef (VM Definitions) Reference - Related reference
  • Common Libraries Overview - Guide

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).

LuaJIT Profiler

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.

On this page

See Also