RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

bananabench-async Referencebananabench-csv Referencebananabench-json Referencebananabench-print Referencebananabench-xml Referencebananabench Referencebenchphysics ReferenceBeamConsole Folder Overviewjson-performance Referencemain Referenceresave-pcs Referenceservertests Referencesimpleload Referencesimtest Referencetest_dyncol Referencetest Referenceunittests Reference

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 Referenceconsole

bananabench-json Reference

Script defined in `lua/console/bananabench-json.lua`. Runs the bananabench physics benchmark with default settings and saves results to a JSON file.

Script defined in lua/console/bananabench-json.lua. Runs the bananabench physics benchmark with default settings and saves results to a JSON file.


Functions/Exports

None (standalone script).

Usage

# Default output: bananabench.json
beamng -console lua/console/bananabench-json.lua

# Custom output file via args
beamng -console lua/console/bananabench-json.lua output.json

Internal Notes

  • Requires lua/console/bananabench module
  • Calls bench.physics() with defaults (pickup vehicle, 1-40 count)
  • Uses jsonWriteFile() to serialize results
  • Output filename from args[2] or defaults to bananabench.json

bananabench-csv Reference

Script defined in `lua/console/bananabench-csv.lua`. Runs the full bananabench physics benchmark across ALL vehicles and exports results in CSV format.

bananabench-print Reference

Script defined in `lua/console/bananabench-print.lua`. Simplest bananabench runner - executes the benchmark and prints results to console only.

On this page

Functions/ExportsUsageInternal Notes