Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
4
Size
111KB

BaconBenchmark

BaconBenchmark

Measure your modpack, not a guess.
Fixed seed · Any moon · Avg FPS, 1% and 0.1% lows · RAM breakdown · Before vs. After

A proper, repeatable in-game benchmarking & performance profiling tool for Lethal Company players and modpack creators. Pick a preset, moon, weather, and fixed seed right from the Main Menu, run a hands-free benchmark on an isolated temporary save, and inspect Avg FPS, 1% Lows, 0.1% Lows, frametime graphs, RAM & audio usage, and Before vs. After comparisons — with zero extra dependencies.

Showcase

Benchmark results screen

A results screen from a real run, in the Terminal Green theme (switch with the THEME button in the dashboard header).

What it does

  • Main Menu > BENCHMARK button (and F9 hotkey): opens a clean 3-tab telemetry dashboard (RUN BENCHMARK, RESULTS, HISTORY) styled in Lethal Company's Original orange/red terminal theme (with a quick switcher for Terminal Green and Cyan).
  • 4 Built-In Presets:
    • Quick (~2 min/moon) — 10 s orbit → 10 s outside → 45 s inside facility (5 s room steps) → 10 s return orbit
    • Standard (~3.5 min/moon) — 15 s orbit → 20 s outside → 90 s inside (5 s room steps) → 15 s return orbit
    • Stress (~5 min/moon) — 15 s orbit → 30 s outside → 150 s inside (4 s room steps) → 20 s return orbit
    • Orbit Only (~45 s) — 30 s ship-only FPS & RAM check
  • Vanilla + Modded Moon Picker & Multi-Moon Marathons: automatically discovers all 12 vanilla moons plus all installed modded moons (LethalLevelLoader, DawnLib, LethalLib, and any loaded SelectableLevel asset). Pick 1 moon, click multiple moons for a custom test queue, or hit ALL MODDED, ALL VANILLA, or ALL MOONS to benchmark every moon back-to-back with a full Per-Moon Breakdown Table!
  • Deterministic A/B Testing & Game Rules Isolation:
    • Lock the Map Seed (default 424242), override Weather (None, Rainy, Stormy, Foggy, Flooded, Eclipsed, or Default), toggle smooth camera panning, and tag each run (Before, After, AllModded, Stress, etc.).
    • Game rules (mines / spawns) toggle (only with BaconGameRules installed; without it the button is dimmed and says it needs BaconGameRules, and the game's own rules apply): VANILLA (CLEAN) by default — isolates the benchmark from BaconGameRules overrides (extra mines, enemy/trap/scrap multipliers) without touching your configs, OR flip to INCLUDE (STRESS) to include your active BaconGameRules difficulty for real-world stress testing!
  • True Industry-Standard FPS & Frametime Metrics (per phase & overall):
    • Avg FPS, Median FPS, 1% Low FPS, 0.1% Low FPS, Min / Max FPS
    • Frametimes: Avg, P95, P99, P99.9, and worst spike Max ms
    • Stutter counters: frames > 16.7 ms (<60 FPS), > 33.3 ms (<30 FPS), and > 100 ms (major hitches)
    • Landing Load Telemetry: exact moon load duration (seconds), slowest landing spike (ms), and load hitches
    • In-Game Frametime Graph: rendered timeline with 60 FPS (green) and 30 FPS (gold) reference lines, spike highlights, and optional baseline overlay
  • Full Memory & Audio RAM Timeline (100% pure managed code, zero native P/Invoke):
    • Used RAM (Unity Allocated + C# Heap), Unity Allocated / Reserved, and C# Mono Heap
    • AudioClip RAM breakdown: unpacked sound MB + unloaded / compressed / streaming clip counts
    • Snapshots at MainMenu → Orbit → Landed → End of Moon → Return Orbit plus exact Round RAM Delta to spot memory leaks across rounds
  • Built-In Before vs. After Comparator & Export:
    • Compare any run against any previous run right inside the RESULTS tab with color-coded green/red FPS & RAM deltas
    • 1-click COPY REPORT copies a Discord/Markdown-ready table (including Before vs. After diffs when comparing!)
    • Every run saves a clean .txt log and .json history record to BepInEx/BaconBenchmark/runs/ and appends a 1-line summary to BepInEx/BaconBenchmark/history.log
  • 100% Safe for Your Saves: runs on an isolated temporary save (LCSaveFileBaconBench) that is automatically deleted before and after every run — your real saves (1–3) are never touched. Press F9 anytime to abort cleanly.

Settings

All options can be changed directly inside the in-game RUN BENCHMARK screen, in BepInEx/config/baconbenchmark.cfg, or via LethalConfig:

Setting Default What it does
Preset Quick Quick, Standard, Stress, or OrbitOnly.
Selected moons Experimentation Comma-separated moon queue (1 moon, chosen subset, all modded, or all moons).
Weather None Deterministic weather override (None, Rainy, Stormy, Foggy, Flooded, Eclipsed, or Default).
Map seed 424242 Fixed seed so dungeon layout is identical between runs.
Include game rules false false = pure vanilla mines/traps/spawns (ignores BaconGameRules); true = includes your active BaconGameRules for stress testing. Needs BaconGameRules; without it this does nothing.
Run label (empty) Optional short label added to the report & filename (Before, After, etc.).
Smooth camera pan true Gently rotates the camera during Orbit, Outside, and Inside phases.
Theme Original Original (Lethal Company orange/red), TerminalGreen, or Cyan.
Benchmark key F9 Opens/closes the dashboard in Main Menu, or aborts a running benchmark.

Compatibility

  • Works in pure vanilla (only requires BepInExPack) or alongside 150+ modpacks.
  • Automatically detects and lists performance mods (BaconMemory, LethalSponge, CullFactory, LethalPerformance, OpenBodyCams, PathfindingLagFix) in every report.
  • Automatically dismisses BaconRPG's Career Screen / Clip Reel if they open in orbit during a benchmark so the 3D scene stays unobstructed.

The Bacon mods

Get the ones you want.

Mod What it does
BaconFixer BaconFixer Fixes only, for any modpack: $0 store prices, load errors, dark interiors, scrap you can't scan, and Chameleon, FacilityMeltdown and door portals on modded moons and interiors.
BaconMemory BaconMemory Less RAM, same game: about 1.7 GB less in a round of a 100+ mod pack.
BaconTerminal BaconTerminal Modern tables for the moons and the store, moon pages with loot, interiors, day length and dangers, and terminal themes and styles.
BaconGameRules BaconGameRules Easy, Normal, Hard, Brutal or your own rules for each save, scaled for 1 to 10 players, and every landing's map seed to replay.
BaconAudio BaconAudio Crewmates louder than the game allows, each one's volume remembered, AI noise removal and a boost for your mic, and Mirage-style lines for LethalMimics.
BaconRPG BaconRPG Climb the Company ladder: XP for doing the job, a promotion every level, random level-up cards or a points tree of Lategame Upgrades, departments with their own skills, a ready check, and built-in clips.
BaconCards BaconCards A hand of cards at every quota: a reward card with new moons and a bonus, and a mystery card picked blind, a debuff for the rest of the run or now and then a buff. Moons open tier by tier.
BaconTranslations BaconTranslations One translation layer for every mod's text: any number of languages, per-mod switches, plain text files, full Polish template, and seamless XUnity AutoTranslator integration.
BaconClips BaconClips Standalone automatic highlight clips, synchronized end-of-day Crew Clip Reel, stabilized first-person death cam, and Discord-ready 480×288 GIFs for vanilla or any modpack.
BaconBenchmark BaconBenchmark
You're here
Automated in-game benchmark suite with presets, vanilla & modded moon picker, fixed seeds, Avg / 1% / 0.1% Lows, frametime graph, RAM & audio breakdown, and Before vs. After comparisons.
The Company Adventures The Company Adventures A modpack with BaconFixer, BaconMemory, BaconTerminal, BaconGameRules and 100+ more mods: 53 new moons, 13 new interiors and 5 new weathers.
BaconPackRPG BaconPackRPG Lethal Company with RPG classes: a modpack with all Bacon mods, plus new moons, interiors and monsters.

Feedback

Found a bug or have an idea? Message me on Discord: bac_kun.

AI disclosure

The code and this README were generated with AI assistance. The author directed the work and tested the mod in game.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.