API ReferencecommonutilssimpleProfiler
simpleProfiler/report Reference
Module defined in `lua/common/utils/simpleProfiler/report.lua`. Generates flame chart HTML reports from profiling data using Mustache templates.
Module defined in lua/common/utils/simpleProfiler/report.lua. Generates flame chart HTML reports from profiling data using Mustache templates.
Exports
Functions
M.createReport(filebasename, reportTitle, meta)
Generate a flame chart / HTML report from profiling data.
- Parameters:
filebasename- string - Base filename for output (without extension)reportTitle- string - Title displayed in the reportmeta- table - Metadata and profiling data to render
- Returns:
self(module table, for chaining)
Internal Notes
- Uses
lustache(Mustache) templating library for HTML generation - Generates interactive flame chart visualizations
- Part of the
simpleProfilersubsystem
wsUtils Reference
Module defined in `lua/common/utils/wsUtils.lua`. WebSocket server creation and management utilities using BeamNG's `BNGWebWSServer` API.
bananabench-async Reference
Script defined in `lua/console/bananabench-async.lua`. Async/coroutine-based variant of the bananabench physics benchmark. Uses `coroutine.yield()` during physics steps to allow frame-by-frame executi