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.