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
Call TracerDate UtilsDebug DrawingFilter Chainutils/ - Utility ModulesHeatmap GeneratorHTTP JSON ServerInteractive ShellLanguage MapPerformance ProfilerPixel Drawing LibraryHTTP ServerTorqueScript ParserWebSocket Server
Profiler Report

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 ReferencecommonutilssimpleProfiler

Profiler Report

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 report
    • meta - 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 simpleProfiler subsystem

See Also

  • Common Libraries Overview - Guide

WebSocket Server

Module defined in `lua/common/utils/wsUtils.lua`. WebSocket server creation and management utilities using BeamNG's `BNGWebWSServer` API.

Bananabench Async

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

On this page

ExportsFunctionsM.createReport(filebasename, reportTitle, meta)Internal NotesSee Also