Performance Logger
Profiling utility for measuring execution time of Lua functions within the vehicle environment. Helps identify performance bottlenecks during development.
Profiling utility for measuring execution time of Lua functions within the vehicle environment. Wraps target functions with timing instrumentation and logs results for analysis. Useful during mod development to identify performance bottlenecks.
Public API
This extension operates via internal instrumentation. No public callable API.
Usage Example
-- Load the performance logger
extensions.load("performanceLogger")
-- Timing data is logged to the console/log fileSee Also
- Profiling (p) — LuaJIT profiler integration
- Profiling (zone) — Zone-based profiling
Perfect Launch
Assists the player or AI in achieving optimal standing starts by managing clutch engagement and throttle application timing.
Simple Trip App
Backend support for the 'Simple Trip' UI app. Computes and streams trip data including distance, average speed, fuel consumption, and elapsed time.