baconya-BaconBenchmark icon

BaconBenchmark

In-game automated benchmark tool for Lethal Company & modpacks: pick a preset, moon, weather and fixed seed, run a repeatable test on an isolated save, and inspect Avg FPS, 1% & 0.1% lows, frametime graph, RAM breakdown, and Before/After comparisons.

By baconya

CHANGELOG

Changelog

1.0.0

  • First release: standalone in-game benchmark suite for vanilla Lethal Company and modpacks of any size (only requires BepInExPack).
  • Main Menu > BENCHMARK button (and F9 hotkey) opens the benchmark dashboard in Lethal Company's Original orange/red terminal theme (with TerminalGreen & Cyan theme options), 4 presets (Quick, Standard, Stress, Orbit Only), vanilla + all modded moons discovery (LethalLevelLoader, DawnLib, LethalLib, and loaded SelectableLevel assets), multi-moon / ALL MODDED / ALL MOONS marathon queues with Per-Moon Breakdown Table, weather override, fixed map seed, and custom run labels.
  • Game Rules isolation toggle (VANILLA (CLEAN) vs INCLUDE (STRESS)): cleanly isolates benchmarks from BaconGameRules overrides (extra mines/traps/spawns) by default, or includes them on demand for stress testing — without modifying your configs.
  • Runs on an isolated temporary save (LCSaveFileBaconBench) that is cleaned up automatically — your real saves (1–3) are never touched.
  • True industry-standard performance metrics per phase (Orbit, Landing Load, Outside, Inside Facility, Back in Orbit) and overall: Avg FPS, Median FPS, 1% Low, 0.1% Low, P95/P99/P99.9/Max frametime (ms), stutter counts (>16.7 ms, >33.3 ms, >100 ms), and an in-game frametime graph.
  • Pure managed memory & audio telemetry (zero native code): Task Manager Working Set, Peak Working Set, Private Commit, Unity native heap, C# managed heap, and unpacked/lazy/compressed/streaming AudioClip RAM across every phase.
  • Writes .txt logs, .json history, and history.log to BepInEx/BaconBenchmark/, includes in-game Before vs. After comparison against any previous run, and 1-click Copy Report (Discord/Markdown ready).