RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

AI Module ReferenceBackwards Compatibility Module ReferenceBdebug Module ReferenceBdebugImpl Module ReferenceBeamstate Module ReferenceBullettime Module ReferenceController Module ReferenceDamageTracker Module ReferenceDrivetrain Module ReferenceElectrics Module ReferenceElectrics Custom Value ParserEnergyStorage Module ReferenceExtensions Module ReferenceFire Module ReferenceVehicle Engine True GlobalsGuihooks Module ReferenceGUI Streams Module ReferenceHTML Texture Module ReferenceHydros Module ReferenceInput Module ReferenceJBeam-Lua Integration GuideMapmgr Module ReferenceMaterial Module ReferenceBeamNG Math & Unit Conversions Referenceobj (Vehicle C++ Object)PartCondition Module ReferenceParticlefilter Module ReferenceParticles Module ReferencePowertrain Module ReferenceVehicle Property & Module TreeProps Module ReferenceProtocols Module ReferenceRecovery Module ReferenceScriptAI Module ReferenceSensors Module ReferenceSounds Module ReferenceStreams Module ReferenceThrusters Module Reference`v` (Vehicle Data & JBeam)Wheels Module Reference
Advanced Wheel DebugAero DebugVehicle APIChassis DataCouplingsCruise ControlDrag AIDynamic Vehicle DataDyno ClientESC CalibrationESC MeasurementVehicle Extensions OverviewGameplay InterfaceGameplay StatisticInput AnalyzerMQTT Grafana DemoOdometerOutGaugeOutSimPerfect LaunchPerformance LoggerSimple Trip AppSkeletonStraight LineTelemetry LoggerUT RecorderVehicle Performance DataVehicle Stats Logger
Profiling (p)Profiling VM DefinitionsProfiling 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 Referenceveextensionsprofiling

Profiling (p)

LuaJIT profiler integration for detailed performance analysis. Provides low-level profiling hooks for measuring function execution times within the vehicle Lua VM.

LuaJIT profiler integration for detailed performance analysis. Provides low-level profiling hooks for measuring function execution times within the vehicle Lua VM. Use when investigating frame drops or optimizing hot code paths.


Public API

This module provides profiling primitives. Load it to enable LuaJIT profiling instrumentation.

See Also

  • Profiling (zone) — Zone-based profiling
  • Profiling (vmdef) — VM definition helpers
  • Performance Logger — Higher-level function timing

Watch Burnout

Gameplay statistic watcher that tracks tire burnout events. Detects sustained wheel spin and measures burnout duration and intensity.

Profiling VM Definitions

LuaJIT VM definition helpers for the profiling system. Provides bytecode and IR name tables used by the profiler to decode execution traces.

On this page

Public APISee Also